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

Tooltip: TooltipPlugin refactoring #70872

Closed
wants to merge 111 commits into from
Closed

Conversation

adela-almasan
Copy link
Contributor

@adela-almasan adela-almasan commented Jun 28, 2023

This PR modifies the tooltip so it is now portaled into uplot's dom vs the global portal, solving a lot of tricky positioning issues, especially with dashboard scrolling and resize. It's also much faster since the browser tracks/syncs the relative offset vs the current logic.

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.

@adela-almasan adela-almasan self-assigned this Jun 28, 2023
@grafanabot grafanabot added area/frontend area/panel/timeseries The main time series Graph panel labels Jun 28, 2023
# Conflicts:
#	package.json
#	packages/grafana-data/package.json
#	packages/grafana-ui/package.json
#	yarn.lock
# Conflicts:
#	public/app/plugins/panel/timeseries/TimeSeriesPanel.tsx
# Conflicts:
#	packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx
#	public/sass/pages/_dashboard.scss
@adela-almasan
Copy link
Contributor Author

Closing this one as we've merged/extracted functionality out of it already.

@adela-almasan adela-almasan changed the title [WIP] Tooltip: TooltipPlugin refactoring Tooltip: TooltipPlugin refactoring Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend area/panel/heatmap area/panel/timeseries The main time series Graph panel area/panel/xychart area/tooltip no-backport Skip backport of PR pr/external This PR is from external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants