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

Add back button to allow gradual zoom back out from clade in addition to "reset layout" #1348

Closed
corneliusroemer opened this issue May 19, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@corneliusroemer
Copy link
Member

Context
In auspice, one can iteratively zoom into clades, but the only way to get back out is to click RESET LAYOUT which isn't terribly user friendly when exploring trees.

image

Description
It would be great if there was an additional button zoom out one step

@corneliusroemer corneliusroemer added the enhancement New feature or request label May 19, 2021
@rneher
Copy link
Member

rneher commented May 19, 2021

this exists, but isn't very discoverable...

If you click on the root of the clade you currently zoomed to, it will zoom out one branch.

@rneher
Copy link
Member

rneher commented May 19, 2021

A zoom out button might be an easy and intuitive fix.

@corneliusroemer
Copy link
Member Author

Yes, I don't think it would harm.

The existing option of moving up one parent at a time is good, but tedious if you went in multiple steps. Moving out one level at a time is slightly different than going back to the previous view. There's a use case for both.

@trvrb
Copy link
Member

trvrb commented Jul 4, 2021

I'd think the best solution here would be to properly work with the browser back/forward buttons and have this be a feature for generic app state. Ie you change state of Auspice to zoom tree, or filter or whatever and can easily get back to previous state by clicking back button. I think this would be much more intuitive than trying to add a universal back button to the app somewhere.

@trvrb trvrb changed the title [Feature request] Add back button to allow gradual zoom back out from clade in addition to "reset layout" Add back button to allow gradual zoom back out from clade in addition to "reset layout" Jul 4, 2021
@joverlee521
Copy link
Contributor

Resolved by #1392 . If desired, we can make new issue for a "back to previous state" feature that is separate from the zoom out.

@corneliusroemer
Copy link
Member Author

Amazing! Yes I think it'd still be cool to have a "back to previous state" feature in addition.

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

No branches or pull requests

4 participants