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

Alerting: Use ToggleTip instead of Hovercard in the info popup on Math expressions #70881

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

soniaAguilarPeiron
Copy link
Member

This PR updates the Math expression component to use ToggleTip instead of HoverCard . The motivation behind this change is to address the annoyance caused by accidental popup when hovering over this large modal.

In this PR we add also a new optional property in the ToogleTip component to be able to override the max-widthand not use the fixed 400px we have so far.

What is this feature?

All users

Why do we need this feature?

To make a better user experience.

Who is this feature for?

All users.

Special notes for your reviewer:

Before:

before.mp4

After:

after-toggle.mp4

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@soniaAguilarPeiron soniaAguilarPeiron added this to the 10.1.x milestone Jun 29, 2023
@soniaAguilarPeiron soniaAguilarPeiron requested review from a team as code owners June 29, 2023 08:15
@soniaAguilarPeiron soniaAguilarPeiron self-assigned this Jun 29, 2023
@soniaAguilarPeiron soniaAguilarPeiron requested review from tskarhed, JoaoSilvaGrafana and gillesdemey and removed request for a team June 29, 2023 08:15
@soniaAguilarPeiron soniaAguilarPeiron force-pushed the alerting/use-toggletooltip-in-math-expression-info branch from 2cb8489 to 635bcea Compare June 29, 2023 09:59
@soniaAguilarPeiron soniaAguilarPeiron force-pushed the alerting/use-toggletooltip-in-math-expression-info branch from 635bcea to 8e2ac1a Compare June 29, 2023 10:00
Copy link
Contributor

@JoaoSilvaGrafana JoaoSilvaGrafana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from the component side 👍

Copy link
Member

@gillesdemey gillesdemey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alerting changes LGTM, let's :shipit:

@gillesdemey gillesdemey merged commit 0e4a8b0 into main Jun 29, 2023
16 checks passed
@gillesdemey gillesdemey deleted the alerting/use-toggletooltip-in-math-expression-info branch June 29, 2023 18:02
harisrozajac pushed a commit that referenced this pull request Jun 29, 2023
…h expressions (#70881)

* Use ToggleTip instead of Hovercard in the info popup on Math expressions

* Address review comments
@soniaAguilarPeiron soniaAguilarPeiron restored the alerting/use-toggletooltip-in-math-expression-info branch June 30, 2023 10:02
harisrozajac pushed a commit that referenced this pull request Jun 30, 2023
…h expressions (#70881)

* Use ToggleTip instead of Hovercard in the info popup on Math expressions

* Address review comments
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
@soniaAguilarPeiron soniaAguilarPeiron deleted the alerting/use-toggletooltip-in-math-expression-info branch June 27, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants