Repository navigation
Recent pages across Work and Clinical, and a start list on Clinical mode homes - #3498
Conversation
…ode homes Recent pages: a device-only list (capped at 12) of record and work area pages opened, path without query, title, mode and time. Never call notes, handover, the MHA clock, drafts, searches, First Nations, mock-ups or developer pages. Recorded only while "Save recent searches" is on, cleared with recent searches and at every account transition. Shown (last five) in the phone menu's Work and Clinical tabs, the two-pane menu and AI Search's empty state; hidden when empty. Clinical mode homes (DSM, Medication, Therapy, Documents, Differentials): Continue (last three records of the mode), the mode's Favourites (read only) and a Browse all link where a catalogue page exists, hanging below the home so the centred hero and composer keep their exact place. Shorter DSM and Medication placeholders so they are not cut off at 390 px. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 |
🏁 CodeAnt Quality Gate ResultsCommit: ✅ Overall Status: PASSEDQuality Gate Details
|
Merging this PR will improve performance by 13.46%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | clinical-search: classifyRagQuery |
1,107.4 µs | 976 µs | +13.46% |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing claude/site-clinical-recent-xk2j9i (7f011d0) with main (539867b)
… title, lighter favourites - Document pages hand the title already loaded for the viewer to the recorder (no new data read), since their tab title is only "PsychSift". - The recorder captures the tab title as a navigation starts and records nothing while it is unchanged, so a new path is never saved under the previous page's name (a cold load is exempt). - Mode home Favourites read only that mode's saved slugs: no service or form registry request, and the therapy catalogue loads on the Therapy home only. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
|
Full browser suite on this draft (run 38261188981, failed jobs re-run once): Chromium, Firefox, iPad and every iPhone Safari job are green after the re-run. One desktop Safari job failed on both attempts, but on a different test each time: first Generated by Claude Code |
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
There was a problem hiding this comment.
BigSimmo has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoAdd recent pages and Clinical mode home start lists
AI Description
Diagram
High-Level Assessment
Files changed (24)
|
Qodo FixerNo findings are available for this PR yet. Findings appear here once Qodo has reviewed the PR. |
|
Claude encountered an error after 2s —— View job I'll analyze this and get back to you. |
|
Code review by qodo was updated up to the latest commit 78f272a |
…or the new page's own title Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
|
Code review by qodo was updated up to the latest commit dcc4c09 |
… recorder loads, so a return visit is never saved under another page's title Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
|
Code review by qodo was updated up to the latest commit b61c672 |
…e fact that the reader moved on Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
|
Code review by qodo was updated up to the latest commit 7752fb6 |
|
CodSpeed flags a regression on 7752fb6, but the only change since the previous run (which reported no performance change) is one new test file. None of the benchmarked modules (answer ranking, catalog search, chunking, clinical search, medication entities) are touched by this PR, and CodSpeed itself warns these benchmarks spend significant time in system calls it cannot measure consistently. Treating it as measurement noise, not this PR's; no code change made for it. Generated by Claude Code |
|
Auto-fix: 1 check failed on CI infrastructure. View session →
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
Code Review ✅ Approved 3 closed / 3 findings🔴 High risk · Persisting clinical page titles and paths in browser storage could expose sensitive browsing history to others using the same device. Adds a device-only Recent pages list to the Work and Clinical side menus and AI Search, plus Continue, Favourites and Browse all shortcuts on the DSM, Medication, Therapy, Documents and Differentials homes. Resolved the Documents pages not being recorded so Continue never appeared, the recorder saving the previous page's title under a new path, and favourites fetching service and form registries it then discarded. No open findings remain. ✅ 3 closed✅ Bug: Documents pages are never recorded, so Documents' Continue never appears
✅ Bug: Recorder can save the previous page's title under the new path
✅ Performance: Mode-home favourites fetch services/forms registries it then discards
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Approved OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
User description
🤖 Generated with Claude Code
https://claude.ai/code/session_01Mws6schjKQbpCQqQzPMKSL
Summary
Before: the DSM, Medication, Therapy, Documents and Differentials homes showed only an icon, a title and the search box, and there was no way back to a page you had just looked at except searching again.
After: under the unchanged search box, each of those homes shows "Continue" (the last three records opened in that mode), read-only Favourites where the mode has them, and a "Browse all" link where a catalogue page exists. A "Recent pages" list (last five) appears in the side menu's Work and Clinical tabs and in AI Search's empty state.
How: a new device-only store keeps the last 12 pages (title, path without query, mode, section, time). It records record pages and Work area homes and tabs only. It never records searches, call notes, handover, referrals, the MHA clock, safety plans, drafts, First Nations pages, mock-ups or developer pages, and refuses any address with typed-looking text. It only records while "Save recent searches" is on, and is cleared with recent searches and at sign-out or account switch. The search box placeholders on DSM and Medication are shortened so they fit at 390 px.
Areas touched: App experience, Data platform and access, Personal practice (plus 7 files not yet placed in any area)
Verification
npm run test:focused: 809 files, 11,461 tests passed.Risk and rollout
Notes
Site-wide recommendations 3 and 4 (12 Oct 2026).
Generated by Claude Code
Summary by cubic
Adds a device-only "Recent pages" list across Work and Clinical, and start lists on the Clinical mode homes, so returning to a record no longer requires a fresh search.
Privacy:
Written for commit 7f011d0. Summary will update on new commits.
Summary by Gitar
This will update automatically on new commits.
CodeAnt-AI Description
Resume recent pages and start faster from Clinical mode homes
What Changed
Impact
✅ Resume records across Work and Clinical✅ Continue clinical work without searching again✅ No recent-page history when saving is off💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.