Skip to content

Tree buttons for each tree#2026

Merged
jameshadfield merged 2 commits intomasterfrom
james/tree-buttons
Jan 20, 2026
Merged

Tree buttons for each tree#2026
jameshadfield merged 2 commits intomasterfrom
james/tree-buttons

Conversation

@jameshadfield
Copy link
Copy Markdown
Member

For single trees (i.e. 99% of Auspice usage) there should be no changes.

For tangle-trees I often want more fine-grained control than the current situation and making the buttons per-tree gives me this. There are occasions where we'll now have to click two buttons, but that's an acceptable trade off for me. (Perhaps we can implement a shift-click to apply to both trees if this really frustrates someone!)

Example:

image

@nextstrain-bot nextstrain-bot temporarily deployed to auspice-james-tree-butt-bo8wc9 November 5, 2025 19:57 Inactive
@jameshadfield jameshadfield temporarily deployed to auspice-james-tree-butt-bo8wc9 November 5, 2025 20:09 Inactive
Simplifies the main `TreeComponent` which is a welcome change in and of
itself, and also sets the stage for upcoming changes such as
<#1993> which will add
complexity to the buttons functionality, as well as the next commit...
For single trees (i.e. 99% of Auspice usage) there should be no changes.

For tangle-trees I often want more fine-grained control than the current
situation and making the buttons per-tree gives me this. There are
occasions where we'll now have to click two buttons, but that's an
acceptable trade off for me. (Perhaps we can implement a shift-click to
apply to both trees if this really frustrates someone!)

Aesthetically we need a little more space above trees to duplicate the
buttons and also have the tree names shown. The tree names themselves
were implemented as an afterthought really and could be improved one day.
@jameshadfield jameshadfield merged commit d450fbb into master Jan 20, 2026
16 checks passed
@jameshadfield jameshadfield deleted the james/tree-buttons branch January 20, 2026 00:10
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.

2 participants