xyz icon indicating copy to clipboard operation
xyz copied to clipboard

Tooltips for layer view drawer

Open jfitzpatrick17 opened this issue 1 year ago • 5 comments

Description

It isn't obvious to some users that layers can be expanded (to reveal layer descriptions, style settings/legends and filters). Being able to add tooltips to a layer would enable users to access information about a layer, before having to expand. It would also help to reduce the space taken up in the left-hand panel (from layer descriptions in the meta).

On a mobile, layer tooltips could be disabled.

Type of Issue

  • ✅ New Feature

jfitzpatrick17 avatar Oct 23 '24 10:10 jfitzpatrick17

We can add tooltips but we cannot replace the meta tag.

  • This would break legacy support.
  • The meta tag can include html, a tooltip cannot.
  • Tooltips are not avilable on touch screen.

At best this will add complexity but won't get rid of the meta tag.

dbauszus-glx avatar Oct 23 '24 11:10 dbauszus-glx

I agree we have to leave meta as is.

I think this is actually larger than just for layers, it should work for layer groups and infoj groups too.

I propose adding these flags LayerTooltip:"Text", GroupTooltip: "Text".

LayerTooltip would just add the tooltip icon (as is currently supported on an infoj entry) next to the layer title.

GroupTooltip when applied on a layer would add the tooltip icon next to the layer drawer group title.

GroupTooltip when applied in the infoj would add the tooltip icon next to the infoj drawer group title.

simon-leech avatar Oct 23 '24 11:10 simon-leech

Screenshot 2024-10-28 at 10 01 17

optional information modal?

cityremade avatar Oct 28 '24 09:10 cityremade

adding a button to the header for the information to show in a dialog would be my preferred option.

dbauszus-glx avatar Oct 28 '24 09:10 dbauszus-glx

Needs further specification!

RobAndrewHurst avatar Oct 29 '24 10:10 RobAndrewHurst