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

Hide tree options when tree is off #1698

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Sep 12, 2023

Description of proposed changes

This conditional rendering is in place for all other panels. Make the tree panel behave the same way.

Related issue(s)

Testing

This is a bit simpler than the ternary operator.
This conditional rendering is in place for all other panels. Make the
tree panel behave the same way.
@victorlin victorlin self-assigned this Sep 12, 2023
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-victorlin-hide--vafoqb September 12, 2023 23:29 Inactive
Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Victor & I also discussed lifting the panel on-off toggles from their own section at the bottom of the sidebar up to be inline with the respective panel options ("Tree options" etc). That work can build on this PR (either here or most probably in a separate PR).

@victorlin
Copy link
Member Author

I started on that and realized it'll take a bit more work. I'll merge this PR now and open another PR later.

@victorlin victorlin merged commit 5274bbb into master Sep 14, 2023
20 checks passed
@victorlin victorlin deleted the victorlin/hide-tree-options branch September 14, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants