Skip to content

feat(reader): add annotation button and panel#72

Merged
xr843 merged 1 commit intomasterfrom
feat/annotation-ui
Mar 18, 2026
Merged

feat(reader): add annotation button and panel#72
xr843 merged 1 commit intomasterfrom
feat/annotation-ui

Conversation

@xr843
Copy link
Owner

@xr843 xr843 commented Mar 18, 2026

Summary

  • Add "标注" button in text reader header (next to 收藏 and 引用)
  • Opens existing AnnotationPanel drawer for creating/viewing annotations
  • Add annotation API client functions to frontend
  • Users can create notes/corrections/tags, submit for review, delete own annotations

Closes #71

Test plan

  • Open a text → see "标注" button in reader header
  • Click → annotation drawer opens
  • Create a new annotation → appears in list
  • Delete own annotation → removed from list

🤖 Generated with Claude Code

Connect the existing AnnotationPanel drawer component to the reader
page. Add "标注" button in reader header that opens the annotation
panel. Users can create, view, submit, and delete annotations.

Also add annotation API client functions (getAnnotations,
createAnnotation, deleteAnnotation) to the frontend API client.

Closes #71

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@xr843 xr843 merged commit 2d1f911 into master Mar 18, 2026
4 checks passed
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.

feat: add annotation UI for text reader

1 participant