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

Show a bit of context in the annotation sidebar #3877

Closed
reckart opened this issue Mar 14, 2023 · 0 comments
Closed

Show a bit of context in the annotation sidebar #3877

reckart opened this issue Mar 14, 2023 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@reckart
Copy link
Member

reckart commented Mar 14, 2023

Is your feature request related to a problem? Please describe.
When displaying annotations in the annotation sidebar, one only sees the covered text. This can lead to a ton of annotations that all look the same. In particular when in "sort by score" mode, this can lead to annotations moving around and one having little idea which annotation is which without clicking on it to jump to it.

Describe the solution you'd like
It may be nice to display a little bit of context for each annotation, e.g. a few words following the annotation. Optimally, that would be done in such a way that it would not cause the annotation to take up more vertical space but only to fill up any horizontal space still available.

Describe alternatives you've considered
Show a KWIC with context before and after.

@reckart reckart added this to the 28.0 milestone Mar 14, 2023
@reckart reckart self-assigned this Mar 14, 2023
@reckart reckart added this to 🔖 To do in Kanban via automation Mar 14, 2023
reckart added a commit that referenced this issue Mar 14, 2023
- Display part of the text after the covered text as muted text
- No smart cut-off
- Trailing text may cause annotation item to wrap and thereby take up more vertical space
reckart added a commit that referenced this issue Mar 15, 2023
- Avoid adding extra lines
- Fade out before it hits the label
reckart added a commit that referenced this issue Mar 15, 2023
- Put the fading wrapper around all labels if there are multiple labels
reckart added a commit that referenced this issue Mar 29, 2023
…it-of-context-in-the-annotation-sidebar

#3877 - Show a bit of context in the annotation sidebar
@reckart reckart closed this as completed Mar 29, 2023
Kanban automation moved this from 🔖 To do to 🍹 Done Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Kanban
  
🍹 Done
Development

No branches or pull requests

1 participant