hypothesis / hypothesis/client

Notify `annotator` on individual annotation updates in `sidebar`

Open
#4,927 0 comments 0 reactions 0 assignees View on GitHub
feature request project: clustered highlights
Dominant language
Mustache
Stars
730
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Currently, the sidebar (`frame-sync`) will notify the annotator to `loadAnnotations` (with a full set of annotations) and when an annotation is deleted (`deleteAnnotation`). We need something analogous for individual-annotation updates that might be relevant to the annotator (e.g. `updateAnnotation`).

The most immediate use case is for the new/prototype clustered highlights feature. There is a case in which a user might create a highlight, but later edit that highlight to add content: then it becomes an annotation. The annotator would need to know about that change so that it can update that annotation's clustering (it would move from `user-highlights` to `user-annotations` in this specific case).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.