GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(guide): pin guide chrome controls to shared scroll-hide behavior by BigSimmo · Pull Request #2007 · BigSimmo/PsychSift

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Aug 16, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Summary

  • move guide universal search to the fixed bottom chrome in guide mode and make it scroll-hide with the header
  • place guided tour action above the universal search in the footer
  • pin Guide Home / Guided Tour / All Topics controls to the top header and make them hide together with the footer
  • refine shared search/chrome interactions to preserve shared scroll-hide behavior and zero hidden reserves

Checks

  • npm run workflow:design-sweep -- --write-evidence
  • npm run ensure (identity verified)
  • npm run test -- tests/guide-centre.dom.test.tsx tests/guide-centre.test.ts
  • npm run typecheck

Summary by CodeRabbit

  • New Features

    • Guide Centre mobile header and footer now smoothly hide while scrolling and restore when returning to the top.
    • Search and navigation controls remain coordinated with the responsive dialog chrome.
    • Improved safe-area handling and content spacing on mobile devices.
  • Bug Fixes

    • Hidden controls are removed from keyboard navigation for improved accessibility.
    • Updated visual styling prevents unwanted layout transitions and deprecated elevation effects.
  • Tests

    • Added coverage for mobile scrolling, control accessibility, responsive spacing, and design styling.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@BigSimmo
fix(guide): pin guide chrome controls to shared scroll-hide behavior
f8dc22c
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 16, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@supabase

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Aug 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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: 14 minutes

Limit details: You’ve used all 1 included review currently available under your plan. You completed 93 included PR reviews in the past 7 days; at that activity level, included reviews refill at 1 review per hour.

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: e4f11683-23ca-413e-9089-0108ef574bd3

📥 Commits

Reviewing files that changed from the base of the PR and between 5af71dc and 5dd57ff.

📒 Files selected for processing (6)
  • .design-sync/config.json
  • docs/branch-review-records/d9883c1c107d462f6ba5bf9e1447b570eb90fa0026059959a4ca253be147df3a.record.md
  • src/components/clinical-dashboard/guide-dialog.tsx
  • src/components/ui/sheet.tsx
  • tests/guide-centre.dom.test.tsx
  • tests/ui-smoke.spec.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 85ac4961-d86f-4f57-9f5a-8d09c6f87c88

📥 Commits

Reviewing files that changed from the base of the PR and between 3f33068 and 5af71dc.

📒 Files selected for processing (7)
  • docs/branch-review-records/69f8c9afc87b9d9cc96b53a279a21343d9958028c10817d02e7c975f91014522.record.md
  • docs/branch-review-records/6cdaa052c37673355af42b196c2bb613fd5ed4615778a6e59fa3c4e010706922.record.md
  • src/components/clinical-dashboard/guide-dialog.tsx
  • src/components/ui/sheet.tsx
  • tests/guide-centre-chrome.spec.ts
  • tests/guide-centre-design-contract.dom.test.tsx
  • tests/guide-centre.dom.test.tsx

Included review availability: 0 reviews are currently available. Based on recent review activity, included reviews refill at 1 per hour.


📝 Walkthrough

Walkthrough

GuideDialog now uses shared scroll-driven chrome collapse. Sheet supports hidden headers and bottom content. Mobile search moves into the footer dock. Tests cover visibility, accessibility, layout padding, transitions, and restoration.

Changes

Guide Centre chrome

Layer / File(s) Summary
Sheet chrome contract
src/components/ui/sheet.tsx
Sheet exposes header content, visibility, and ref props. Hidden headers become inert and aria-hidden, while safe-area classes apply only when visible.
Guide scroll chrome flow
src/components/clinical-dashboard/guide-dialog.tsx
GuideDialog reports shared collapse metrics, tracks search focus, blurs search during scrolling, and coordinates header, footer, search, and content spacing.
Chrome behavior validation and records
tests/guide-centre-chrome.spec.ts, tests/guide-centre-design-contract.dom.test.tsx, tests/guide-centre.dom.test.tsx, docs/branch-review-records/*
Tests verify mobile chrome transitions, accessibility state, layout padding, safe-area behavior, and restoration. Branch review records document validation.
Estimated code review effort: 3 (Moderate) ~25 minutes

Merge Risk: ⚪ Minimal · up to 5af71

The PR is merge-ready after normal checks and review; no actionable merge-blocking risk remains. The final summary should include the decisive verification output line.

Possibly related PRs

  • BigSimmo/Database#685: Updates the shared Sheet component and mobile chrome behavior.
  • BigSimmo/Database#1238: Overlaps in scroll-based chrome hiding, search visibility, and safe-area handling.
  • BigSimmo/Database#1354: Extends shared scroll-hide infrastructure into GuideDialog and Sheet.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: shared scroll-hide behavior for guide chrome controls.
Description check ✅ Passed The description clearly summarizes the UI changes and lists relevant verification commands, but it omits the template's exact Verification heading and required gate evidence.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/guide-search-chrome-20260815

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BigSimmo added 4 commits August 16, 2026 21:05
@BigSimmo
Resolve Sheet header API conflict with main
1c00b1b
@BigSimmo
Merge main into codex/guide-search-chrome-20260815
82576f7
@BigSimmo
Fix hidden Sheet safe-area retention
e71bb86
@BigSimmo
Format Sheet safe-area guard
f2387ea
@BigSimmo
BigSimmo enabled auto-merge (squash) August 16, 2026 13:25
@BigSimmo
Merge branch 'main' into codex/guide-search-chrome-20260815
0874f3f
@github-actions

github-actions Bot commented Aug 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

CI triage

CI failed on this PR. Automated classification of the 4 failed job(s):

  • Unit coverage — needs investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • Production UI (1) — needs investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • Static PR checks — needs investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • PR required — main-side: the same job also failed on the latest completed main CI run.

Compared with main CI run #11238 (failure).

Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BigSimmo and others added 6 commits August 16, 2026 21:38
@BigSimmo
Fix Guide design-system contract violations
1ccdf61
@BigSimmo
Correct Guide review record and lock design tokens
6666613
@BigSimmo
Consolidate Guide safe-area regression coverage
5af71dc
@BigSimmo
Merge branch 'main' into codex/guide-search-chrome-20260815
b8b1ce3
@BigSimmo
Merge branch 'main' into codex/guide-search-chrome-20260815
fc3db5c
@claude
Merge remote-tracking branch 'origin/main' into codex/guide-search-ch…
b2cf1ac
…rome-20260815
@BigSimmo
BigSimmo disabled auto-merge August 17, 2026 08:33
BigSimmo and others added 4 commits August 17, 2026 16:33
@BigSimmo
Merge branch 'main' into codex/guide-search-chrome-20260815
231f780
@claude
fix(guide): resolve CI failures blocking PR merge
6fcf006
Static PR checks: format tests/guide-centre.dom.test.tsx (missing
trailing newline).

Unit coverage (design-sync-contract, design-sync-visual-exports):
regenerate .design-sync/config.json - Sheet gained headerBottom,
headerHidden, and headerRef props that were never synced.

Unit coverage (guide-centre.dom.test.tsx): the shared
useScrollHideReporter hook schedules an rAF-deferred hide-state
reset on mount. A synchronous test scroll immediately after render
could race that reset and silently revert the hide state between
the footer and header assertions. Flush the pending frame before
the first scroll, matching the pattern this file's own afterEach
already uses.

Production UI (ui-smoke.spec.ts): the pre-existing (PR-untouched)
guide accessibility test scrolled 80px, clearing the old
footer-only hide threshold but not the shared hook's 72px + 24px
activation threshold now governing both header and footer. Bumped
to 140px to match the PR's own new tests, and:

- the tab-order check previously started from "Close guide", which
  now lives inside the header and is unfocusable while it's inert -
  swapped to a content control, matching the PR's own new
  guide-centre-chrome.spec.ts.
- moving the guided-tour "Continue" action out of the scrollable
  body and into the fixed footer means the scroll body can render
  with no focusable descendant on some tour steps, tripping axe's
  scrollable-region-focusable rule. Added an opt-in bodyTabIndex
  prop to Sheet (default off, so no other Sheet consumer is
  affected) and set it for the guide dialog's scroll body.

Note for follow-up (not blocking this PR): tests/guide-centre-chrome.spec.ts,
also added by this PR, isn't matched by playwright.config.ts's
testMatch allowlist and therefore never runs in CI.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HR7cnmJRWZyg2Q9MFV1SCs
@claude
Merge remote-tracking branch 'origin/codex/guide-search-chrome-202608…
7365c7f
…15' into codex/guide-search-chrome-20260815
@claude
docs: record branch review ledger entry for PR 2007 CI fix
846b841
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HR7cnmJRWZyg2Q9MFV1SCs
@BigSimmo
BigSimmo enabled auto-merge August 17, 2026 08:39
@BigSimmo
Merge branch 'main' into codex/guide-search-chrome-20260815
5dd57ff
@BigSimmo
BigSimmo merged commit 56ef865 into main Aug 17, 2026
26 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@BigSimmo
BigSimmo deleted the codex/guide-search-chrome-20260815 branch August 17, 2026 08:56
@BigSimmo BigSimmo mentioned this pull request Aug 17, 2026
fix(filters): resolve PR #1998 merge conflicts and required CI failures #2025
Merged
9 tasks done
@coderabbitai coderabbitai Bot mentioned this pull request Aug 19, 2026
Simplify the Guide Centre and reduce its bottom dock to the guided-tour action #2191
Merged
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@BigSimmo @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.