Skip to content

Consolidate the duplicated chart hover-tooltip implementations into one shared helper #1842

Description

@audigregorie

Problem

Chart hover tooltips are rendered as floating cards in two different dashboards (Social Listening analytics and the Org project detail view), but each dashboard built its own copy of the same tooltip behavior. The two copies have already started to drift: they position and style the card differently, and only one of them handles viewport edges gracefully. Any future fix or polish to chart tooltips has to be made twice, and one dashboard will likely be forgotten.

Outcome

There is a single shared chart-tooltip implementation that every dashboard uses. Hovering any chart in the product produces the same white card, the same positioning, and the same edge behavior, and future improvements land in one place.

Success criteria

  • One shared tooltip helper exists and both dashboards (Social Listening analytics, Org project detail) use it
  • Hovering charts in both dashboards shows the visually identical tooltip card
  • The tooltip flips away from the right viewport edge and stays on screen vertically in both places

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions