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

controls: Hide date/animation sections for divOnly trees #1834

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

joverlee521
Copy link
Contributor

@joverlee521 joverlee521 commented Aug 27, 2024

Description of proposed changes

Previously, the date/animation control components were hidden, but the headers were still shown in the side panel. This commit hides the entire section including the headers to reduce confusion.

Resolves #1833

Checklist

Previously, the date/animation control components were hidden, but the
headers were still shown in the side panel. This commit hides the entire
section including the headers to reduce confusion.

Resolves #1833
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-hide-date-anima-sdp8eb August 27, 2024 19:20 Inactive
<ControlHeader title={t("sidebar:Date Range")} tooltip={DateRangeInfo}/>
<DateRangeInputs />
<AnimationControls />
{branchLengthsToDisplay !== 'divOnly' &&
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Feels like divOnly should be a member of a global Enum somewhere, but I'll leave that for another day...

@joverlee521 joverlee521 merged commit 331d87e into master Aug 27, 2024
26 checks passed
@joverlee521 joverlee521 deleted the hide-date-animation-controls branch August 27, 2024 23:18
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

Successfully merging this pull request may close these issues.

Hide date/animation control headers for div only trees
3 participants