Skip to content
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

Allow users to edit scheme file temporary on popup page [Hacktoberfest] #66

Open
FoxRefire opened this issue Oct 16, 2024 · 0 comments
Open
Labels

Comments

@FoxRefire
Copy link
Owner

FoxRefire commented Oct 16, 2024

Minimum requirement

  1. When user clicks Edit button after drop-down scheme selector element, modal opens up.
  2. In the opened modal, should place two elements: textarea and OK button.
  3. The value of textarea is set by default to the scheme code selected by the user.
  4. When the user clicks the Guess button, instead of retrieving the code directly, expects the string retrieved from textarea to be interpreted as a scheme file and executed.

Implementation hints

The scheme retrieval process is performed in popup/main.js#L23.

Add an element that satisfies the requirements described in the specification to popup/main.html and make sure that the scheme code is obtained from textarea.

On change event happens at drop-down element, update textarea's value

@FoxRefire FoxRefire added enhancement New feature or request P2 hacktoberfest labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant