Repository navigation
feat: show reader annotations in notes panel - #1055
Conversation
Problem: #867 had durable annotation storage and daemon routes, but the reader Notes panel still displayed a placeholder instead of real annotation state or controls. What changed: the web reader now loads annotations with user state, groups them by conversation, renders annotation cards in the Notes tab, and exposes add/edit/delete actions through the existing daemon annotation routes. Visual fixtures now seed an annotation and DOM evidence asserts the annotation API and seeded note. Verification: pytest -q -n0 tests/visual/test_reader_dom_smoke.py tests/unit/daemon/test_web_reader.py::TestReaderUserState::test_annotations_roundtrip_conversation_and_message_targets; ruff check polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py tests/unit/daemon/test_web_reader.py; python -m mypy polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py; devtools verify --quick.
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a4d0173fcf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Wire durable annotations into the local reader Notes panel so #867 annotation state is visible and editable from the reader, not only from daemon/API/MCP/CLI surfaces.
Problem
The durable annotation substrate and
/api/user/annotationsroutes existed, but the reader Notes tab still showed a placeholder saying annotation storage remained tracked in #867. That meant annotations were implemented but not usable in the primary reader workflow.Solution
Ref #867
Verification
pytest -q -n0 tests/visual/test_reader_dom_smoke.py tests/unit/daemon/test_web_reader.py::TestReaderUserState::test_annotations_roundtrip_conversation_and_message_targets-> 5 passedruff check polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py tests/unit/daemon/test_web_reader.py-> passedpython -m mypy polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py-> passeddevtools verify --quick-> exit_code 0, total_duration_s 17.15 before commit; pre-push quick gate ata4d0173f-> exit_code 0, total_duration_s 18.31