r-color-palettes icon indicating copy to clipboard operation
r-color-palettes copied to clipboard

Palette picker site: Consider adding tooltip

Open wetlandscapes opened this issue 3 years ago โ€ข 0 comments

I'm loving the palette picker!

I have one suggestion to make navigation a bit smoother. Right now one has to scroll down (a potentially long list of palettes), click on a palette, and then scroll up to the top of the page to see which package::palette combination they've just picked. I like that functionality, but it may be useful to also include a tooltip, such that when the mouse is over a particular palette, the {paletteer} function is displayed in an information bubble.

There are a few different ways of doing that from just html or css to JS. Some of the suggestions here seem like they'd be reasonably easy to implement, depending on how you built the site: https://stackoverflow.com/questions/11022843/add-hover-text-without-javascript-like-we-hover-on-a-users-reputation.

Again, thanks!

wetlandscapes avatar Feb 03 '22 20:02 wetlandscapes