Repository navigation
fix(docs): keep homepage slides icon visible on mobile - #78258
Conversation
Co-authored-by: Copilot App <[email protected]>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟡 Changes recommended
The moderate SiteHeader issue remains active because the restore rule applies to every page, causing the wordmark to appear in narrow docs layouts where it should remain hidden.
1 open issue
What changed in this PR
Updates the responsive docs header so the homepage Slides link remains accessible on mobile while preserving its external destination and touch-target size.
Changes:
- Keeps the homepage-only Slides icon visible below the mobile breakpoint with a 44px touch target.
- Hides the homepage wordmark at narrow widths to prevent header crowding.
- Adds responsive Playwright coverage for Slides visibility, navigation, sizing, ordering, and homepage-only behavior.
- Reformats the existing mobile responsiveness tests.
| File | Description |
|---|---|
| docs/tests/mobile-responsive.spec.ts | Adds responsive regression tests for mobile Slides visibility, navigation, ordering, touch-target sizing, and homepage-only behavior while reformatting existing tests. |
| docs/src/components/SiteHeader.astro | Adjusts mobile header visibility and Slides sizing while conditionally hiding the homepage wordmark at narrow widths. |
Review effort: Lite (dynamic)
Visual regression check: docs homepageScope: /gh-aw/ homepage only, served from the built docs/dist through a sandbox-local preview bound to 127.0.0.1.
Visual comparison is unavailable, not unchanged: no baseline is provisioned for this workflow. Full-page screenshots were saved in the run sandbox under /tmp/gh-aw/agent/ and are not attached to this comment. Accessibility observations
Console0 errors. Warnings were WebGL GPU-stall performance messages (ReadPixels) during page load. CleanupBrowser closed and preview server stopped. Removing the .playwright-cli session directory from the workspace was denied by tool permissions, so it remains. Next actions: provide an authorized baseline to enable pixel comparison; give the 4 unnamed links an accessible name. References: §43805598635
|
There was a problem hiding this comment.
Reviewed the header and spec changes with the Impeccable critique and audit lenses, since this is a UI and responsive-layout change.
Header (SiteHeader.astro): looks correct. Slides is rendered only on the homepage (id === ''), so the mobile rule that exposes it cannot leak to other pages. The 44px target is applied. The wordmark is hidden at <=24.74rem only when .site-header-slides is present, so other pages keep their existing 22rem breakpoint. The :has() selector is already used elsewhere in docs/src/styles/chrome.css.
Spec (mobile-responsive.spec.ts): non-blocking. The file is almost fully reformatted (quotes, wrapping, trailing commas). Ignoring that formatting, the assertions are preserved and the new slides tests are additive. Restoring the original style would keep the review focused on the real change.
No blocking issues found.
🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · copilot · routed: haiku55 xhigh · ~5 AIC · ⌖ ~1 AIC · ⊞ 4.3K
Restore the existing responsive spec to its base formatting and keep all six Slides cases in a focused spec. Co-authored-by: Copilot App <[email protected]>
|
🎉 This pull request is included in a new release. Release: |

The homepage Slides icon was hidden by the mobile header's generic icon rule, making the presentation inaccessible from the header on phones.
Keep the existing homepage-only icon visible on mobile and preserve its destination, https://gh.io/gh-aw-slides. Give it a 44px touch target and hide the homepage wordmark at narrow widths to avoid crowding. Other docs pages and desktop behavior remain unchanged.
Validation
make agent-report-progresspassed.