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

UI: Collapse optional sections by default #449

Open
ericglau opened this issue Feb 20, 2025 · 3 comments · May be fixed by #456
Open

UI: Collapse optional sections by default #449

ericglau opened this issue Feb 20, 2025 · 3 comments · May be fixed by #456
Labels
enhancement New feature or request

Comments

@ericglau
Copy link
Member

ericglau commented Feb 20, 2025

For optional sections such as those with a checkbox and child radio buttons, show them as collapsed by default. Expand the section when the user enables its checkbox.

Also allow the section to be expanded without checking the checkbox, in case the user wants to see its child options.

For example, this should at least apply to the Votes, Access Control, and Upgradeability sections of ERC20. It should also apply for all contract types and languages in Wizard where there is a checkbox with child radio buttons.

@ericglau ericglau added the enhancement New feature or request label Feb 20, 2025
@Patrick-Ehimen
Copy link

Patrick-Ehimen commented Feb 20, 2025

@ericglau Can I be assigned this?

@ericglau
Copy link
Member Author

@Patrick-Ehimen Sure, thanks! See https://github.com/OpenZeppelin/contracts-wizard?tab=readme-ov-file#development for development setup steps.

@Patrick-Ehimen
Copy link

@Patrick-Ehimen Sure, thanks! See https://github.com/OpenZeppelin/contracts-wizard?tab=readme-ov-file#development for development setup steps.

I will get on it ASAP and revert back to you if anything comes up

@Patrick-Ehimen Patrick-Ehimen linked a pull request Feb 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants