nextclade icon indicating copy to clipboard operation
nextclade copied to clipboard

feat: sticky tooltips

Open ivan-aksamentov opened this issue 2 years ago • 1 comments

A prototype which aims to improve user experience around tooltips.

When clicked, on the aa mutation, these tooltips:

01

will now stick, so that information can be copied. The sticky tooltip can be closed by clicking away (outside the tooltip body).

There are probably many weird edge cases to handle.

Other tooltips are not affected (yet), but in principle they all can be made sticky. Will require a bit of refactoring.

Resolves https://github.com/nextstrain/nextclade/issues/734

ivan-aksamentov avatar Mar 10 '22 11:03 ivan-aksamentov

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextstrain/nextclade/EU4GRpDm5Dx9s5xkYo7bvYHXAcMv
✅ Preview: https://nextclade-git-feat-sticky-tooltips-nextstrain.vercel.app

vercel[bot] avatar Mar 10 '22 11:03 vercel[bot]