Repository navigation
feat: wire reader user-state controls - #1051
Conversation
Problem: #867 had durable daemon APIs for conversation marks and saved views, but the reader shell still treated user state as absent UI placeholder text. That made the product state invisible and left the visual evidence lane unable to prove archive-backed user workflows.\n\nWhat changed: load marks and saved views from /api/user/* in the reader shell, render/toggle conversation star/pin/archive state, save/open canonical saved views from the Notes panel, and seed visual fixtures with durable user-state rows. Visual DOM evidence now asserts the shell wiring and API payloads.\n\nRemaining: annotation storage, message/range targets, CLI parity, and MCP parity remain open under #867.
|
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 (4)
✨ 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: 87c0fc7c75
ℹ️ 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 the MK3 reader shell to the durable user-state APIs added in #1050 so marks and saved views are visible and actionable in the local reader instead of remaining placeholder text.
Problem
#867 requires durable marks and saved views to be reader product state, not browser-local or hidden API data. After #1050, the daemon exposed
/api/user/*, but the web reader still did not load marks, display them in the conversation list/header, toggle them, or save/open query-backed views.Solution
/api/user/marksand/api/user/saved-viewsduring reader startup.Remaining #867 scope: annotation storage, message/range targets, CLI parity, and MCP parity.
Ref #867
Verification
ruff format --check polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py-> 3 files already formattedruff check polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py-> All checks passedmypy polylogue/daemon/web_shell.py tests/visual/conftest.py tests/visual/test_reader_dom_smoke.py-> Successnode -e "... new Function(script) ..."-> script okpytest -q tests/visual tests/unit/daemon/test_web_reader.py -k "reader or UserState or saved_views or marks"-> 45 passeddevtools verify --quick-> exit_code 0devtools verify --affected --skip-slow-> exit_code 0; pytest count 6361