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

Annotation labels should not (or not only) appear in the center of the annotation #210

Open
hoechenberger opened this issue Oct 27, 2023 · 4 comments
Labels
enhancement New feature or request UX & accessibility

Comments

@hoechenberger
Copy link
Member

hoechenberger commented Oct 27, 2023

Is your feature request related to a problem? Please describe.
I have some annotations that span several dozens of seconds. When I spot such an annotated segment in my data, there is no simple way for me to figure out the annotation description: I have to cautiously keep scrolling right until I hit the center of the annotation, because the label is centered.

Describe the solution you'd like
The label should be anchored to the annotation onset.

Describe alternatives you've considered
Another thing I'd love to see is a tooltip that displays the annotation label on hover.

@larsoner
Copy link
Member

I'm fine with moving it to the start.

A hover tooltip could be neat, too. Based on a very quick look it seems like it might be doable with hoverable=True and/or hoverEvent.

@cbrnr
Copy link
Contributor

cbrnr commented Oct 27, 2023

I'm fine with moving it to the start.

This doesn't solve the problem though. What if you are in the middle or at the end of a long annotation? I think the label should always be visible (per page).

@hoechenberger
Copy link
Member Author

I'm fine with moving it to the start.

This doesn't solve the problem though. What if you are in the middle or at the end of a long annotation? I think the label should always be visible (per page).

Oh that would be neat, yes

@drammock
Copy link
Member

This doesn't solve the problem though. What if you are in the middle or at the end of a long annotation? I think the label should always be visible (per page).

agreed, it should be centered on the visible portion of the annotation, not its full duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UX & accessibility
Projects
None yet
Development

No branches or pull requests

4 participants