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

Tooltips for layer view drawer #1594

Open
jfitzpatrick17 opened this issue Oct 23, 2024 · 5 comments
Open

Tooltips for layer view drawer #1594

jfitzpatrick17 opened this issue Oct 23, 2024 · 5 comments
Assignees
Labels
RFC Request for Comment or Change. UI

Comments

@jfitzpatrick17
Copy link

jfitzpatrick17 commented Oct 23, 2024

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 jfitzpatrick17 added the RFC Request for Comment or Change. label Oct 23, 2024
@dbauszus-glx
Copy link
Member

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 dbauszus-glx changed the title Layer tooltips Tooltips for layer view drawer Oct 23, 2024
@simon-leech
Copy link
Contributor

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.

@cityremade
Copy link
Member

Screenshot 2024-10-28 at 10 01 17

optional information modal?

@dbauszus-glx
Copy link
Member

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

@RobAndrewHurst
Copy link
Contributor

Needs further specification!

@dbauszus-glx dbauszus-glx removed their assignment Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for Comment or Change. UI
Projects
None yet
Development

No branches or pull requests

5 participants