Skip to content

Display track type in addition to name in events chart tooltip#1005

Merged
waxlamp merged 2 commits intomainfrom
timeline-tooltip
Oct 21, 2021
Merged

Display track type in addition to name in events chart tooltip#1005
waxlamp merged 2 commits intomainfrom
timeline-tooltip

Conversation

@waxlamp
Copy link
Member

@waxlamp waxlamp commented Oct 20, 2021

This PR threads an additional value, the track type, from useEventChart() through to the event chart itself, showing it via the tooltip.

The tooltip now displays something like Track 0 (fish). In the future, we might want to make this more customizable, but as a static change for the moment, this seems like it adds useful information without hurting anything.

Closes #1001.

Copy link
Collaborator

@marySalvi marySalvi left a comment

Choose a reason for hiding this comment

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

Looked over the code and ran locally. Looks good to me.

@waxlamp waxlamp merged commit 28e4008 into main Oct 21, 2021
@waxlamp waxlamp deleted the timeline-tooltip branch October 21, 2021 13:56
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.

Show tooltip with activity type on hover in timeline

3 participants