Skip to content

Suggestion: separate the Options page from the content (Overlay) page #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dandv opened this issue Dec 12, 2024 · 1 comment
Open

Comments

@dandv
Copy link
Contributor

dandv commented Dec 12, 2024

Just starting out with the template, and I noticed that when adding an option to the Options component, e.g. a text input, it will be rendered be the content script. This is correct, but I think a more convenient starter would be to have a separate Options page, e.g. to set the start of the counter, and a separate Overlay component that only shows the buttons, without the text input setting.

@NekitCorp
Copy link
Owner

Sorry, but I would like to keep this boilerplate as simple as possible, i.e. consisting of a minimum number of components, so that it is very easy to understand. Your description already looks like the implementation of your specific task, which is not implied by this boilerplate. Unfortunately, I will not be able to foresee all possible use cases, or the boilerplate will grow and it will become more difficult to understand 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants