Skip to content

docs: default in-page navigation to DocumentViewer chrome - #1688

Merged
BigSimmo merged 3 commits into
mainfrom
cursor/inpage-nav-default-235a
Aug 7, 2026
Merged

docs: default in-page navigation to DocumentViewer chrome#1688
BigSimmo merged 3 commits into
mainfrom
cursor/inpage-nav-default-235a

Conversation

@BigSimmo

@BigSimmoBigSimmo commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Codifies the DocumentViewer header as the default in-page navigation template for any mode page when in-page nav is requested or suggested.
  • Documents visual slots (back, title + active-section subtitle + chevron, ellipsis, weighted segment track) and required scroll attachment via PhoneHeaderCollapsePortal (hides/reveals with the universal phone header).
  • Adds a short agent-facing rule under the AGENTS.md search-chrome section; full contract lives in docs/search-chrome-behaviour.md.
  • Does not migrate Therapy ModeNav or Differential headers, and does not extract a shared component.
  • Appends a docs/branch-review-ledger.md review row for this branch head.

Verification

  • npm run verify:pr-local (scoped to AGENTS.md,docs/search-chrome-behaviour.md — recognised low-risk docs scope; lint/typecheck/unit/build skipped by selector)
  • UI verification not run: documentation-only change, no UI/routing/styling behaviour change
  • Release / provider gates not run: not applicable

Risk and rollout

  • Risk: Low — docs/policy only; no runtime product change
  • Rollback: Revert the commits
  • Provider or production effects: None

Notes

  • Reference implementation remains DocumentViewer.tsx + document-viewer/section-nav.tsx (invariant 22 unchanged).
Open in WebOpen in Cursor

Codify DocumentViewer header layout and PhoneHeaderCollapsePortal
scroll attachment as the canonical template when adding or suggesting
in-page navigation on any mode page.
@coderabbitai

coderabbitaiBot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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:22 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: 2453d019-243d-4984-945a-ffe1508de384

📥 Commits

Reviewing files that changed from the base of the PR and between da66b28 and 266f79f.

📒 Files selected for processing (3)
  • AGENTS.md
  • docs/branch-review-ledger.md
  • docs/search-chrome-behaviour.md

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

@supabase

supabaseBot commented Aug 7, 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 ↗︎.

Record the docs-only in-page navigation default review at the
pushed head after verify:pr-local.
@BigSimmo
BigSimmo marked this pull request as ready for review August 7, 2026 13:26
@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.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

CopilotAI 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

This PR documents the DocumentViewer header as the canonical/default template for in-page navigation on mode pages, aligning future UI suggestions with the existing “one collapse owner” phone-header contract.

Changes:

  • Adds a “Default in-page navigation template” section to docs/search-chrome-behaviour.md, including required slots and PhoneHeaderCollapsePortal attachment guidance.
  • Adds an agent-facing reminder in AGENTS.md that in-page nav should follow the DocumentViewer header pattern (and not introduce a second sticky/fixed phone header or separate scroll-hide owner).
  • Appends a review record row to docs/branch-review-ledger.md for this branch head.

Reviewed changes

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

FileDescription
docs/search-chrome-behaviour.mdDocuments the default in-page navigation template and required phone header attachment behavior.
AGENTS.mdAdds a concise agent rule pointing to the new contract section and reinforcing the “single collapse owner” pattern.
docs/branch-review-ledger.mdAdds a ledger row recording the docs-only review and the verification selector used.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BigSimmo
BigSimmo merged commit 1c979df into mainAug 7, 2026
24 checks passed
@BigSimmo
BigSimmo deleted the cursor/inpage-nav-default-235a branch August 7, 2026 13:56
Sign up for freeto 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

@BigSimmo@cursoragent