Skip to content

Polish Confirm checklist on form detail pages - #1734

Merged
BigSimmo merged 13 commits into
mainfrom
cursor/confirm-checklist-polish-195c
Aug 8, 2026
Merged

Polish Confirm checklist on form detail pages#1734
BigSimmo merged 13 commits into
mainfrom
cursor/confirm-checklist-polish-195c

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Refine the Pathway Confirm checklist on individual form info pages into calmer reading callouts (looser gap/padding, top-aligned icons, rounded-lg).
  • Drop full-row font-semibold; keep light font-medium only on leading cues (Before use: / Avoid:).
  • Add a focused DOM regression test for Form 1A Confirm stack classes and Avoid row.
  • No catalog copy or Before/Current/Parallel/After pathway changes.

Test plan

  • Visual check of Form 1A Decision context → Pathway → Confirm at phone width (5 rows including Avoid)
  • npx vitest run tests/form-confirm-callout.dom.test.tsx — passed

RAG impact: no retrieval behaviour change — UI-only Confirm checklist styling on form detail pages.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • UI Improvements

    • Updated form confirmation and rejection messages to display as clearer, full-width warning callouts.
    • Added distinct “Before use:” and “Avoid:” cues with improved spacing, icons, and text styling.
  • Tests

    • Added coverage validating confirmation callout content, layout, styling, and required guidance cues.
  • Documentation

    • Added review records covering the form-detail confirmation updates and visual validation.

Treat Confirm rows as reading callouts with calmer weight, looser padding, and top-aligned icons so multi-line checks feel more premium.

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

supabase Bot commented Aug 8, 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 ↗︎.

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 28 minutes

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

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

Run ID: 1aefbf03-5b4b-4495-8480-fac09fb14d1f

📥 Commits

Reviewing files that changed from the base of the PR and between a905b60 and 0287918.

📒 Files selected for processing (1)
  • docs/branch-review-ledger.md
📝 Walkthrough

Walkthrough

The form detail page now renders confirmation and rejection criteria as full-width warning callouts with cue-aware text. A DOM test validates the updated layout and content. The review ledger records related checks.

Changes

Form confirmation callouts

Layer / File(s) Summary
Cue-aware callout rendering
src/components/forms/form-detail-page.tsx
Confirmation text now separates the Before use: cue from the body. Confirmation and rejection criteria use larger warning callouts with updated spacing, typography, icons, and Avoid: cues.
DOM validation and review records
tests/form-confirm-callout.dom.test.tsx, docs/branch-review-ledger.md
The DOM test checks section discovery, spacing, row styling, row count, and cue text. The review ledger records DOM and visual validation results.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: claude

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and focused tests, but it omits the required Verification section and repository gate results for a UI change. Add the template sections and record npm run verify:pr-local and npm run verify:ui results, or state why either gate was not run.
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the primary UI change to the Confirm checklist on form detail pages.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/confirm-checklist-polish-195c

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

cursoragent and others added 3 commits August 8, 2026 13:54
Locks Confirm stack spacing classes, soft cue weight, and Avoid row rendering on Form 1A.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@BigSimmo
BigSimmo marked this pull request as ready for review August 8, 2026 14:17
@BigSimmo

BigSimmo commented Aug 8, 2026

Copy link
Copy Markdown
Owner Author

@cursoragent Work the current open PR end-to-end. Confirm the PR number and GitHub head first from context. If more than one open PR could apply, stop and say which one you would use and why.

Fetch and start from the remote tip that matches that GitHub head. If the named branch ref is missing or stale, use the PR head ref. Preserve unrelated local WIP, including any local-only ledger commits; do not discard dirty work, and do not treat a local-ahead commit as the reviewed tip. Do not merge the PR, force-push, rebase, or arm auto-merge unless I explicitly ask. No provider-backed gates without separate approval. If you cannot push or resolve threads, diagnose and comment only; if inline replies fail, resolve when possible and put dispositions in the summary comment. If auto-merge is already armed, push only for a real blocker, and avoid pushes that would cancel in-flight required CI unless the push itself clears that blocker.

If the PR is already merged or closed: confirm the head and merge commit, note required-CI outcome, post one summary, and stop.

Goal: deep review plus Bugbot, fix actionable issues with the smallest correct changes, clear merge / required-CI / thread blockers, run strong local offline verification, push fixes, append the review ledger, and post one PR summary. Prefer thoroughness over speed. Regenerate large assets only when a fix requires it; then run the asset check and keep compatibility aliases byte-identical where the repo uses them.

Snapshot the GitHub head SHA: tip, base, behind/ahead, mergeable state, merge-tree versus origin/main (real conflict versus behind-but-clean), required checks on that tip including Production UI when selected, advisory separately, unresolved actionable threads. Missing checks while dirty are not green. If the tip moves mid-work, re-snapshot and continue from the new head.

Ledger-lookup against that GitHub head under the heavy review-and-fix scope for this PR. Already reviewed at this head with clean merge-tree, green required checks, and no new actionable threads → summarize, comment, stop unless I asked for a fresh superseding pass. Follow the repo review protocol.

Unblock once: real conflict → merge origin/main (prefer main’s shared queues; keep this PR’s notes); behind-but-clean → one sync, late if required CI is in flight; clean → leave. Labels like skip-branch-sync do not block a manual sync needed to clear a real blocker. No sync thrash. After any sync or push, re-snapshot tip, merge-tree, and required checks before declaring done. Dedupe the ledger if a merge touched it.

Review high-confidence delta risks only. Separate PR-introduced defects from pre-existing re-emitted debt. For generated assets, review contracts, aliases, cache, and manifests—not every generated line. If protected RAG or ranking surfaces are touched, say so before editing; fix PR-body policy text only when wrong or missing. Ignore bot noise. No nit spam or broad rewrites. Escalate verification by touched risk: clinical / RAG / privacy / migrations / auth → domain check plus production-readiness when warranted; UI / phone-chrome / routing / styling → ensure plus phone-chrome or UI gates when warranted; generated assets or docs inventory/links → asset or docs checks when warranted.

Fix P0/P1 always; clear scoped P2 when locally provable; else disposition and resolve. Required-check failures on this tip only; ignore advisory. Prefer reverting a bad autofix commit. After fixes: format and commit before push; smallest targeted proof; repo cheap gate; repo PR-local gate. No release, lighthouse, live eval, or live provider gates without approval.

Push only this PR’s fix commits. Append ledger for the final GitHub head under the heavy scope. Never push a ledger-only tip—include ledger in a real fix push, or leave a no-change ledger append local and unpushed.

One PR comment: tip, sync/merge-tree, fixed versus dispositioned, threads, required CI, decisive local gate lines, residual risks; merge left to me. Inline only for remaining human-needed P0/P1.

Stop when merge-tree is clean on the current GitHub tip, actionable threads are clear, required checks are green or clearly in progress, heavy gates for scope passed, summary posted, merge left to me.

@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

PR #1734 · tip a905b60c8a60fcdfec6cf584d76a59a4f2ffd688 — end-to-end review complete; merge left to you.

Snapshot

  • Ahead 6 / behind 0 of origin/main; merge-tree clean; mergeable; auto-merge off
  • Product delta is Confirm callout polish + DOM test (+ ledger noise)
  • Unresolved actionable threads: 0

Review

  • No P0/P1/P2 in Confirm callouts / Avoid row
  • No Bugbot findings on the PR
  • No code fix pushed from this pass

CI

  • Required on tip: Static / Safety / Unit / Build / Production UI critical green
  • Production UI (1)/(2)/(3) in progressPR required pending
  • Advisory Lighthouse ignored

Local gates

  • Confirm DOM vitest: 1 passed
  • verify:cheap: 524 files / 5607 passed
  • Build (with ALLOW_BUILD_WITH_DEV_SERVER=1): passed
  • RAG fixtures: passed

Notes

  • A prior ledger-only tip (a905b60c) restarted CI; no further push from this pass
  • Heavy-scope ledger row kept local/unpushed (docs/branch-review-ledger.md dirty)
  • Summary posted on the PR
Open in Web Open in Cursor 

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/form-confirm-callout.dom.test.tsx`:
- Around line 27-40: Update the assertions in the Confirm callout test to locate
the “Before use:” and “Avoid:” rows directly within the existing rows
collection, and assert their cue spans from those row elements. Replace the
broad mobile.textContent check with row-scoped assertions, and make the
row-count validation ensure the expected Confirm rows are present rather than
merely allowing four or more rows.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7c8aa54b-76e6-4196-afe7-9fadb1611c9a

📥 Commits

Reviewing files that changed from the base of the PR and between 07ada91 and a905b60.

📒 Files selected for processing (3)
  • docs/branch-review-ledger.md
  • src/components/forms/form-detail-page.tsx
  • tests/form-confirm-callout.dom.test.tsx

Comment thread tests/form-confirm-callout.dom.test.tsx
@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

PR #1734 end-to-end review summary

PR / tip: #1734 · a905b60c8a60fcdfec6cf584d76a59a4f2ffd688 (branch cursor/confirm-checklist-polish-195c)
Base: origin/main @ 07ada91b · ahead/behind: 6 / 0
Merge-tree vs origin/main: clean · mergeable: MERGEABLE · auto-merge: not armed

Sync

  • Already included Merge branch 'main' at 96c4d3a3.
  • No further sync needed (behind = 0).
  • Note: tip moved mid-pass via ledger-only commit a905b60c (re-started required CI). No additional push from this pass (policy: never push a ledger-only tip).

Findings

  • Deep review + Bugbot-style pass: no high-confidence P0/P1/P2 defects in the Confirm callout delta (ConfirmCalloutText / confirmCheckParts / Avoid row).
  • Fixed: none (no actionable product defects).
  • Dispositioned: none (no unresolved review threads; CodeRabbit rate-limit / Supabase “ignored” noise ignored).
  • Threads: 0 unresolved actionable.
  • GitHub MCP unavailable this session; Bugbot findings checked via gh reviews/comments — none present.

Required CI (tip a905b60c)

  • Static PR checks, Safety/config, Unit coverage, Build, Production UI critical: SUCCESS
  • Production UI (1)/(2)/(3): in progress
  • PR required: pending those shards
  • Advisory Lighthouse: ignored

Local offline gates

  • npx vitest run tests/form-confirm-callout.dom.test.tsxTest Files 1 passed (1)
  • npm run verify:cheap → exit 0; Test Files 524 passed (524) / 5607 passed | 4 skipped
  • npm run format:changedAll matched files use Prettier code style!
  • ALLOW_BUILD_WITH_DEV_SERVER=1 npm run build → completed; Client bundle secret surface check passed.
  • npm run check:rag:fixturesOffline RAG fixture and manifest validation passed (36 golden cases, 23 suites).
  • First verify:pr-local stopped at build because the project dev server was on :4461; build re-run with allow flag as above.

Residual risks

  • DOM test is catalog/structure/class-string coupled to Form 1A (brittle, not timing-flaky).
  • Ledger-only tip restarted CI; wait for Production UI shards + PR required on a905b60c before merge.
  • Heavy-scope ledger row for this pass is local-only / unpushed (docs/branch-review-ledger.md dirty) per no-ledger-only-push rule.

Merge left to you.

@BigSimmo

BigSimmo commented Aug 8, 2026

Copy link
Copy Markdown
Owner Author

@cursoragent Unblock the current open PR. Confirm the PR number and GitHub head first from context. If more than one open PR could apply, stop and say which one you would use and why.

Fetch and start from the remote tip that matches that GitHub head. If the named branch ref is missing or stale, use the PR head ref. Preserve unrelated local WIP; do not discard dirty work; do not treat a local-ahead commit as the reviewed tip. Do not merge the PR, force-push, rebase, or arm auto-merge. No provider-backed gates without approval. If you cannot push or resolve threads, diagnose and comment only; if inline replies fail, resolve when possible and put blocker dispositions in the summary comment. If auto-merge is already armed, push only for a real blocker and avoid cancelling in-flight required CI unless the push clears that blocker.

If the PR is already merged or closed: confirm outcome, post one summary, and stop.

Primary job: clear mergeability and required-CI blockers on this tip. Do a full product review only if needed to explain or fix a blocker. Stay light otherwise—no broad verification suites or Playwright unless needed to prove one concrete unblock fix.

Snapshot the GitHub head: tip, behind/ahead, mergeable state, merge-tree versus origin/main (real conflict versus behind-but-clean), required checks on that tip including Production UI when selected, and unresolved threads that block merge or required CI. Missing checks while dirty are not green. Tip moved → re-snapshot.

Ledger-lookup against that GitHub head under an unblock/fix scope for this PR. If already handled at this head for unblock work, merge-tree clean, required checks green, and no blocking threads: summarize, comment, stop.

Unblock once: real conflict → merge origin/main with the smallest correct resolution (prefer main’s shared queues; keep this PR’s notes); behind-but-clean → one sync, late if required CI is in flight; clean → leave. skip-branch-sync and similar labels do not block a manual sync needed to clear a real blocker. No sync thrash. After any sync or push, re-snapshot tip, merge-tree, and required checks before declaring done. Dedupe the ledger if a merge touched it.

Fix only what blocks required checks or mergeability on this tip. Ignore advisory red unless it reveals a real required failure. Prefer the smallest safe fix; if a bot/autofix commit caused the break, prefer revert. Prove with the smallest targeted check only. Format and commit before push.

Push only blocker-fix commits. Append ledger for the final GitHub head under the unblock scope. Never push a ledger-only tip.

One PR comment: tip, sync/merge-tree, what blocked and what you fixed or dispositioned, required CI status, residual risks; merge left to me.

Stop when merge-tree is clean on the current GitHub tip, no blocking threads remain for merge/required CI, and required checks are green or clearly in progress.

@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

PR #1734 unblocked at tip 36ad3e0d.

What blocked: GitHub DIRTY/CONFLICTING while behind 1 of main — merge-tree was already clean (behind-but-clean, not a content fight).

Fix: One origin/main sync → mergeable; PR mergeability SUCCESS; merge-tree clean; behind 0. Required CI restarted and is in progress.

Also: CodeRabbit minor test note dispositioned/resolved (not a required blocker). Local unpushed ledger WIP preserved. Advisory Lighthouse ignored.

Merge left to you.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 8, 2026 15:52
Unblock PR #1734: behind-but-clean vs origin/main (GitHub DIRTY; merge-tree clean).

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

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

PR #1734 unblock summary

PR / tip: #1734 · 36ad3e0df6d1bf70ff47917a9ac8092121c646fd
Blocked by: GitHub DIRTY / CONFLICTING while behind 1 of origin/main (merge-tree was already clean — behind-but-clean, not a content conflict).

Sync

  • Merged origin/main once (89cc8711) + ledger append (36ad3e0d).
  • Post-sync: behind 0 / ahead 9 · merge-tree clean · mergeable: MERGEABLE · PR mergeability: SUCCESS.

Fixed vs dispositioned

  • Fixed: mergeability via main sync (no product conflicts).
  • Dispositioned: CodeRabbit minor test-scoping note on tests/form-confirm-callout.dom.test.tsx — not a required-CI/merge blocker; left as optional follow-up (no push that would cancel new CI).
  • Advisory Lighthouse: ignored.

Required CI (new tip)

  • Restarted after sync; PR mergeability green; other required jobs queued/in progress (Change scope, Semgrep, Gitleaks, …).
  • Auto-merge: not armed.

Residual

  • Local unpushed WIP preserved: unstaged prior review-and-fix ledger row in docs/branch-review-ledger.md (not pushed; avoids ledger-only tip churn).
  • Wait for PR required (and Production UI if selected) on 36ad3e0d.

Merge left to you.

Resolve GitHub DIRTY/CONFLICTING for PR #1734: behind-but-clean vs origin/main (merge-tree clean).

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Polishes the Pathway Confirm checklist presentation on form detail pages by converting rows into calmer “callout” blocks, while adding a focused DOM regression test to pin the intended spacing/typography.

Changes:

  • Refactors Confirm checklist row rendering to use flex callout styling (spacing, padding, icon alignment, rounded-lg) and avoids full-row bold.
  • Adds ConfirmCalloutText + confirmCheckParts helpers to keep “Before use:” / “Avoid:” as medium-weight cues only.
  • Adds a DOM test to guard the Form 1A Confirm stack classes and cue rendering; appends review ledger entries for the work.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/form-confirm-callout.dom.test.tsx Adds a DOM regression test asserting Confirm callout spacing/typography and cue rendering.
src/components/forms/form-detail-page.tsx Updates Confirm checklist UI to callout-style rows with cue-only emphasis and aligned icons.
docs/branch-review-ledger.md Records review/verification notes for the confirm checklist polish work.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

cursoragent and others added 3 commits August 8, 2026 18:48
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
… sequence resume)

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@BigSimmo
BigSimmo merged commit dbeee7e into main Aug 8, 2026
27 checks passed
@BigSimmo
BigSimmo deleted the cursor/confirm-checklist-polish-195c branch August 8, 2026 19:59
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.

3 participants