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

ENH: Pinnable tooltips, to allow copying #734

Open
corneliusroemer opened this issue Feb 15, 2022 · 5 comments · May be fixed by #749
Open

ENH: Pinnable tooltips, to allow copying #734

corneliusroemer opened this issue Feb 15, 2022 · 5 comments · May be fixed by #749
Labels
package: nextclade_web t:feat Type: request of a new feature, functionality, enchancement

Comments

@corneliusroemer
Copy link
Member

It would be nice for Nextclade web users to be able to copy mutation profiles etc. directly from the UI.

Right now, this is possible only with some skill or luck, as one needs to move the mouse quickly enough onto the tooltip so that it doesn't disappear.

It would be more accessible, if a click on the area where the tooltip is activate would fix the toop, with a click outside of the tooltip (and maybe an x at the top right) deactivating the fixation.

I think I remember @trvrb mentioning being interested in this a while ago.

@corneliusroemer corneliusroemer added t:feat Type: request of a new feature, functionality, enchancement needs triage Mark for review and label assignment package: nextclade_web labels Feb 15, 2022
@ivan-aksamentov
Copy link
Member

I agree. The tooltips in general is not a great user experience. I considered implementing something better for some time now: #83 #84 #85

@ivan-aksamentov ivan-aksamentov removed the needs triage Mark for review and label assignment label Feb 15, 2022
@ivan-aksamentov
Copy link
Member

ivan-aksamentov commented Feb 15, 2022

if a click on the area where the tooltip is activate would fix the toop, with a click outside of the tooltip (and maybe an x at the top right) deactivating the fixation

This will probably mess up all the touch screens. Might work given some effort though. But technically it would be just easier to have a normally positioned, conventional popup window, like the one with changelog, or similar to what auspice tree has. Could also fit a lot more data and be scrollable.

@corneliusroemer
Copy link
Member Author

What about adding a delay on purpose during which time one can move the mouse over the tooltip to fix it in place until the mouse moves away? This would not degrade touch experience

@emmahodcroft
Copy link
Member

Just as a workaround, I found (at least on Windows 10 chrome) if you get the pop-up up, right-click the mutation, then move your mouse over the pop-up, left-click to dismiss the 'right-click-menu' then you can move the mouse around within the popup, copy text, etc.
Here's a gif:
pop-up-sticky

(Sorry I don't know why the colours are weird - that's definitely from making the gif, not how the Nextclade page is actually showing up for me.)

@ivan-aksamentov ivan-aksamentov linked a pull request Mar 10, 2022 that will close this issue
@ivan-aksamentov
Copy link
Member

I made a little prototype #749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: nextclade_web t:feat Type: request of a new feature, functionality, enchancement
Projects
No open projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants