Skip to content

docs: align mode-home composer list after frontend-ui review#1146

Merged
BigSimmo merged 9 commits into
mainfrom
cursor/frontend-ui-review-docs-e8d9
Jul 24, 2026
Merged

docs: align mode-home composer list after frontend-ui review#1146
BigSimmo merged 9 commits into
mainfrom
cursor/frontend-ui-review-docs-e8d9

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix cross-mode search performance findings: prescribing catalogue debounce/abort/fields=index, differentials abort/debounce, universal documents typeahead soft-timeout (750ms), shared (search-app) shell to avoid composer remount, and Answer rate-limit in-memory fallback outside production.
  • Fix Bugbot regressions: shared-shell pathname navigation (/services/dsm) syncs searchMode during render (no stale-mode paint) even when the query string is unchanged; extracted ClinicalDashboard lazy imports to stay under the maintainability budget.

RAG impact: no retrieval behaviour change — typeahead documents domain timeout and shell URL sync only; ranking formulas and full /api/search retrieval path unchanged.

Verification

  • npm run verify:pr-local — focused Vitest on touched sources (362) plus api-rate-limit / search-shell / universal / route / site-map suites green; docs:check-index OK
  • UI verification not run: full verify:ui not required for this pass; mode-home smoke via npm run ensure returned HTTP 200 for /, /services, /dsm, /documents/search, /therapy-compass, /?mode=prescribing, and /api/answer/stream returned 200 after the rate-limit fallback fix
  • Verification not run: eval:retrieval:latency / soak / live OpenAI canary — approval-gated provider work; not needed for timeout-only typeahead change

Risk and rollout

  • Risk: medium — shared layout remount change and rate-limit fallback behaviour in non-production; production Answer/upload still fail closed when the durable limiter is unavailable
  • Rollback: revert this PR; mode routes return to per-segment GlobalSearchShell layouts and prior timeout/fallback behaviour
  • Provider or production effects: None

Clinical Governance Preflight

  • Source-backed claims still require linked source verification before clinical use
  • No patient-identifiable document workflow was introduced or expanded without explicit governance approval
  • Supabase target remains [REDACTED] ([REDACTED])
  • Service-role keys and private document access remain server-only
  • Demo/synthetic content remains clearly separated from real clinical sources
  • Source metadata, review status, and outdated/unknown-source behavior remain conservative
  • Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed

Notes

  • Prescribing list rows keep the full catalogue payload so Safety/Monitoring filters and patient alerts still see section-derived signals; keystroke storms are controlled by debounce + abort. fields=index remains for identity-only consumers (cross-mode links).
  • Live hybrid RPC cold tails remain a separate approval-gated follow-up.

Record the frontend-ui review of main@037b4808 and close its docs-only
P2 by listing /dsm, /specifiers, /factsheets, and /therapy-compass in
the codebase-index mode-home composer placement rules.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@cursor[bot], you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 1ed5f85b-7c6b-4b59-926d-8dd4ca80c6a1

📥 Commits

Reviewing files that changed from the base of the PR and between 4aa66d7 and 60ca33d.

📒 Files selected for processing (2)
  • docs/branch-review-ledger.md
  • docs/codebase-index.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/frontend-ui-review-docs-e8d9

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@supabase

supabase Bot commented Jul 24, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@BigSimmo
BigSimmo marked this pull request as ready for review July 24, 2026 07:28
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

cursoragent and others added 3 commits July 24, 2026 07:44
# Conflicts:
#	docs/branch-review-ledger.md

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9c373eb1c2

ℹ️ 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".

Comment thread docs/branch-review-ledger.md
@BigSimmo
BigSimmo enabled auto-merge July 24, 2026 11:15
@BigSimmo

Copy link
Copy Markdown
Owner Author

@codex please resolve the merge conflicts for me

@chatgpt-codex-connector

Copy link
Copy Markdown

Summary

  • Resolved the merge-conflict feedback by removing the frontend-ui review ledger row from directly under the table header, so the first record now remains the existing docs reliability review row. docs/branch-review-ledger.mdL23-L28
  • Appended the frontend-ui review ledger row to the bottom of the ledger records, preserving its original content while satisfying the append-only ledger convention. docs/branch-review-ledger.mdL727-L728
  • Committed the change on the current branch: 495eba9 docs: append frontend review ledger row.
  • Created follow-up PR metadata with title: docs: append frontend review ledger row after conflict fix.

Testing

  • npm run check:branch-review-ledger
  • git diff --check
  • npx prettier --check docs/branch-review-ledger.md
  • ⚠️ npm run format:check -- docs/branch-review-ledger.md (warning due to repo script expanding to prettier --check . docs/branch-review-ledger.md and reporting pre-existing unrelated formatting warnings; the targeted ledger file check passed)

Worktree is clean on branch work.

View task →

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@BigSimmo
BigSimmo merged commit 24bcbbb into main Jul 24, 2026
23 checks passed
@BigSimmo
BigSimmo deleted the cursor/frontend-ui-review-docs-e8d9 branch July 24, 2026 17:20
cursor Bot pushed a commit that referenced this pull request Jul 24, 2026
* docs(ledger): record babysit sweep for PRs #1124 #1131 #1146 #1157 #1162 #1167 #1169 #1170

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* docs(ledger): record open-PR conflict-resolution sweep and #1162 Bugbot

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* docs(ledger): record #1162 conflict resolution and Bugbot outcome

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* docs(ledger): record open-PR conflict sync (all mergeable)

Merged origin/main into remaining behind/dirty PR heads so every open PR is MERGEABLE with behind=0.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* docs(ledger): drop exact duplicate #1170 review row

Remove the second identical PR #1170 ledger record so check:branch-review-ledger passes.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* docs(ledger): record open-PR conflict sync for 22 PRs

Merged origin/main into every open PR head so all are current with main.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* docs(ledger): drop exact duplicate review rows

Remove duplicate ledger records so check:branch-review-ledger passes after the conflict sync.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* fix: auto-sync open PR branches and clear postcss audit

Add a main-push workflow and local helper that update behind PR heads so
GitHub stops falsely marking the queue CONFLICTING/DIRTY after each land.
Bump postcss to a non-vulnerable release so Safety npm audit stays green.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
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.

2 participants