Skip to content

Keep localized and reference sidebars intact - #353

Merged
Blargian merged 13 commits into
mainfrom
codex/locale-custom-sidebar
Sep 17, 2026
Merged

Blargian merged 13 commits into
mainfrom
codex/locale-custom-sidebar

Conversation

@Blargian

@Blargian Blargian commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Fix several regressions discovered while validating the split English and localized Vercel deployments:

  • preserve the appropriate sidebar on localized custom-layout pages;
  • restore translated Spanish support-center content and its intended layout;
  • keep support cards above the decorative background;
  • preserve SQL source following recoverable lexer errors; and
  • index navigation-group landing pages so routes such as Session Settings do not fall back to the Home sidebar.

Reported examples:

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Not applicable.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b19b540. Configure here.

Comment thread src/lib/sidebar-lazy.ts
@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

🕵

Preview Deployment Components Updated (UTC)
Docs preview 🟢 Ready English: 🟢 Ready; translations: Production fallback 2026-09-16 19:15 UTC

The Session Settings landing page could render open and then immediately close when an older deployment had saved the same structural sidebar hash with that group closed. Version the persisted-state hash so the corrected landing-page behavior gets a clean initial state once, while subsequent user disclosure choices remain persistent.\n\nReported at: https://clickhouse-docs-ubnjtonbh-clickhouse.vercel.app/docs/reference/settings/session-settings
Landing groups received padding from both their shared row and their page link, which indented Session Settings, MergeTree tables settings, and Format Settings beneath Server Settings. Keep the wrapper unpadded and use the same 16px label inset as Mintlify.\n\nCompared:\nhttps://clickhouse-docs-a6wbm0uvo-clickhouse.vercel.app/docs/reference/settings/session-settings\nhttps://clickhouse.com/docs/reference/settings/session-settings
Treat a click on a group landing page as an explicit request to open that group before Astro preserves disclosure state for navigation. This prevents a default-closed state from immediately collapsing Session Settings on its landing page. Also align landing-group caret padding with ordinary disclosure rows.\n\nCompared:\nhttps://clickhouse-docs-nvneayipx-clickhouse.vercel.app/docs/reference/settings/session-settings\nhttps://clickhouse.com/docs/reference/settings/session-settings
@Blargian Blargian added docs-translations-all Include all translations in the Vercel docs preview and removed docs-translations-all Include all translations in the Vercel docs preview labels Sep 16, 2026
@Blargian
Blargian merged commit 0c56d42 into main Sep 17, 2026
3 of 4 checks passed
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.

1 participant