jatui

AnnotationPanel

Threaded annotation sidebar with resolve, reply, edit, and delete via mock callbacks

Annotation sidebar

Reply, resolve, edit, and delete are all wired to mock async callbacks.

Annotations

2 open

Props

PropTypeDefaultDescription
annotationsAnnotation[][]All annotations (roots + replies)
profilesRecord<string, AnnotationProfile>{}User profiles keyed by user_id
activeAnnotationIdstring | nullnullHighlighted thread
currentUserIdstringViewer's user ID (shows edit/delete)
callbacksAnnotationCallbacksAsync handlers for CRUD ops
onAnnotationSelect(a: Annotation | null) => voidThread selection callback