custom-sidebar icon indicating copy to clipboard operation
custom-sidebar copied to clipboard

New items don't display their text in a tooltip when the sidebar is collapsed

Open rccoleman opened this issue 4 years ago • 2 comments

I'm just starting to play with this and it's working great for moving sidebar icons around and hiding ones that I don't want. I also love that I can add new items to the sidebar, but the name of the new time doesn't appear to display in a tooltip like I see for the default items when the sidebar is collapsed.

Examples:

Existing item with tooltip: image

New item with no tooltip: image

Expanded, showing the "Server Controls" text for the new item: image

Setting the name does change the text when the sidebar is open, but I just get no tooltip/popup when it's collapsed.

rccoleman avatar Aug 04 '20 19:08 rccoleman

Yeah it turns out the tooltips are handled by TS event handlers that I don't have direct access to. It looks like in order to get tooltips working I would have to recreate them manually for the new items. Not impossible, but it will be a while before I get around to it

Villhellm avatar Aug 05 '20 14:08 Villhellm

Thanks for the quick response. I thought it might just be something like adding alt-text, but I couldn't find anything meaningful in the inspector and figured that it was probably more complicated.

rccoleman avatar Aug 05 '20 18:08 rccoleman