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

Update tooltip with modal #304

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from
Open

Conversation

PaulioRandall
Copy link
Contributor

What does this change?

Adds support for modals to tooltips.

Why?

To ensure long and essential information for layer toggles can be placed somewhere, e.g. Green Spaces layer in https://apps.london.gov.uk/wild-and-free/ requires showing license info and link to the London DataStore.

How is it tested?

Storybook

How is it documented?

Storybook

Is it complete?

  • Have you included changeset file?

@PaulioRandall PaulioRandall marked this pull request as ready for review May 7, 2024 16:03
@jamesscottbrown
Copy link
Collaborator

I need to look at this together with the SidebarHint component 1 tomorrow - both render either a tooltip or modal.

@PaulioRandall
Copy link
Contributor Author

@jamesscottbrown ready for review.

@ChrisKnightLDN
Copy link
Contributor

@jamesscottbrown when reviewing this - the sidebarHint has a todo against it to implement a popover - see meltUi popover - also implemented in hsds hub.

@PaulioRandall
Copy link
Contributor Author

I need to look at this together with the SidebarHint component 1 tomorrow - both render either a tooltip or modal.

I've updated <SidebarHint> to use a <Tooltip> for its modal option. I realize this change will be further overridden by #346 so I avoided changing too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants