Repository navigation
Navbar: stop the theme toggler's hidden label from widening mobile pages - #2850
Merged
chalin merged 14 commits intoOct 6, 2026
Merged
Conversation
- Contains the light/dark toggle's visually-hidden label, which escaped the mobile navbar scroller and widened the page since 0.17.0 - Adds a toggler fixture site with a short title: the default fixture title alone overflows a phone navbar - Keeps the toggler off the features site: dark-mode.js overrides the dark probes' forced theme
- Covers the dropdown, which escapes the scroller by design, staying within the device width
✅ Deploy Preview for docsydocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Asserts each full-page shot is exactly viewport-wide before any golden write or compare, so overflow can't be baked into a golden - Shortens the default fixture title to a constant: the old one overflowed phone navbars on Linux, which the Linux mobile goldens recorded as 405 px pages - Regenerates the Darwin goldens for the new title; the Linux ones follow from CI
- Keeps the fixture name visible in screenshots, tab titles, and llms.txt, at a length that fits a phone navbar - Regenerates the Darwin goldens; the Linux ones follow from CI
- Checks the overflow guard after the golden comparison, so a failing shot still writes its actual image and counts as compared; update mode still refuses before writing - Records in comments why the rule sits on the button, and why the fixture title defaults to `NAME fixture` - Trims the fix's changelog line to the user-visible change; adds a For maintainers line for the new checks Review: r1.1-r1.6
- Hit-tests an open-menu option: a positioned menu container clips the dropdown inside the navbar scroller while its box still reads as on screen - Writes the actual image whenever the overflow guard rejects a shot, including update mode and an overflowing golden that matches - Drops a fixture-title comment claim that only the visual fixture's guard backs Review: r2.1-r2.3
- Documents the full-page width requirement in the visual-suite README, including that refreshing goldens can't fix a guard failure - Gives the toggler fixture a short title, so only the toggler label can widen its page - Narrows the changelog trigger to sites whose navbar scrolls Review: r3.1-r3.7, r3.9, r3.10
- Moves the refresh caveat into the README's refresh section, where it meets the "CI must then go green" step it qualifies - Points the guard comment at the README, keeping only the comparison-order reason - Words the changelog trigger as the navbar menu scrolling sideways Review: r5.6, r5.9-r5.12
…oggler-overflow-2026-1006 # Conflicts: # docsy.dev/content/en/project/about/changelog.md # docsy.dev/link-cache.jsonc
chalin
added a commit
that referenced
this pull request
Oct 7, 2026
- Contributes to #2775 - **Scope**: the 0.18.0 artifacts refreshed for the merges after #2840 (`0fdf3a6f` to `64411422`), merged `main` only; version guidance follows the changelog's official support policy - **Release post** - Linux Foundation stated as Docsy's home, with the module-path migration and canonical-path cleanup - `llms.txt` section (#2841, #2851) - Hugo section routing to the companion - Default script-dependency versions, with a reconcile action for existing overrides - Override notes as a `<details>` under the Upgrade step - **Hugo 0.165.0-0.166.0 upgrade guide**, new: the companion carrying the Hugo mechanics (the 0.16.0 model), one action block per change - **Changelog**, **user guide**, **maintainer notes**: aligned with the posts (one home per fact; the guide owns the evergreen rules the posts point to) - **Agent-support page**: reorganized around parallel Markdown-output and `llms.txt` sections, in Hugo's glossary terms (site, project, site root) - **Theme** (widening): `all.llms.txt` no longer lists an `AGENTS.md` page, a docsy.dev experiment from #2605 that leaked into the theme; `llms.txt` golden updated - **Version params**: both posts freeze every version param they render; the toolchain-versions test guards the frozen script pins and the companion's title bound - Post dates set; `draft: true` kept - **Out of scope** - Tag-time fields: draft flip, version stamp, `UNRELEASED` removal, the release link - CSP guidance home and the print-gap line: owner decisions pending - The dropped `AGENTS.md` `llms.txt` line: no changelog or post mention (experimental, docsy.dev-only; owner call) - Relative links in Markdown output versions: pre-existing, #2858 - **Coverage** (ledger, ten rows) - #2850: changelog, post (Other notable changes) - #2852: changelog, post, companion guide - #2851: user guide, changelog, post - #2853: post table - #2792: changelog, post - #2841: user guide, changelog, post - #2848: changelog, post (the LF fact) - #2829: post version table (the Dart Sass pin) - #2849, #2846: internal; release notes only - #2854: guide only - **Preview(s)** - https://deploy-preview-2855--docsydocs.netlify.app/blog/2026/0.18.0/ - https://deploy-preview-2855--docsydocs.netlify.app/blog/2026/hugo-0.165.0+/ - https://deploy-preview-2855--docsydocs.netlify.app/project/about/changelog/#next - https://deploy-preview-2855--docsydocs.netlify.app/docs/update/ - https://deploy-preview-2855--docsydocs.netlify.app/docs/content/agent-support/
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Oct 7, 2026
…he changelog's The phone-navbar fix (docsy#2850) and the jQuery conversion's search/navbar fixes (docsy#1436) are behavior fixes, homed in the changelog's Other changes; the post section says none and routes to the release page. Changelog: phone -> mobile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.