Skip to content

Docs: improve settings explorer usability based on feedback - #111859

Merged
Blargian merged 6 commits into
ClickHouse:masterfrom
Blargian:codex/improve-settings-search-contrast
Jul 24, 2026
Merged

Blargian merged 6 commits into
ClickHouse:masterfrom
Blargian:codex/improve-settings-search-contrast

Conversation

@Blargian

@Blargian Blargian commented Jul 24, 2026 •

Copy link
Copy Markdown
Member

Improves the controls shared by the session, server, MergeTree, and format settings explorers. The search field now has clearer light- and dark-mode contrast, a magnifying-glass affordance, aligned spacing, and an understated border-color focus state using the ClickHouse yellow in dark mode. A minimal root-level caret expands or collapses every settings group, making browser find useful across the full explorer.

The shared generator and its generated components are updated together, with focused assertions to prevent future generation drift. Validated with python3 ci/jobs/scripts/docs/autogenerate/test_session_settings_split.py and the local docs preview.

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):

Improved the settings explorer search controls and added an expand-all caret.

Version info

  • Merged into: 26.8.1.112 (included in 26.8 and later)

@clickhouse-gh

clickhouse-gh Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [16a895d]

Summary: ✅


AI Review

Summary

This PR refreshes the settings-explorer search control styling and adds an Expand all / Collapse all toggle generated into the four settings explorers. The new control is useful, but the final revision still removes the only reliable keyboard focus indicator from both interactive elements, so I would not approve the PR as-is.

Findings

⚠️ Majors

  • [ci/jobs/scripts/docs/autogenerate/autogenerate_docs.py:1261] [dismissed by author -- https://github.com/Docs: improve settings explorer usability based on feedback #111859#discussion_r3648459738] The generated search field still sets both focus:outline-0 and focus-visible:outline-0, so the old visible ring is gone and the replacement is only a border-color change. In forced-colors / high-contrast modes that cue can collapse to the same system border color, which leaves keyboard users without a reliable focused state. Suggested fix: keep a visible focus-visible outline or ring fallback instead of suppressing the browser outline.
  • [ci/jobs/scripts/docs/autogenerate/autogenerate_docs.py:1278] [dismissed by author -- https://github.com/Docs: improve settings explorer usability based on feedback #111859#discussion_r3648528125] The new Expand all button has the same regression: focus:outline-0 removes the browser focus ring, but the replacement is only a text-color change. In forced-colors / high-contrast themes that change may disappear entirely, so keyboard users can tab to the control with no visible focus. Suggested fix: restore a visible focus-visible outline or ring on the button.
Final Verdict
  • Status: ⚠️ Request changes
  • Minimum required actions: restore a visible focus indicator for the search field and the root toggle button in explorer_entry so every generated settings explorer keeps an accessible keyboard focus state.

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Jul 24, 2026
@Blargian Blargian changed the title Improve settings explorer search styling Improve settings explorer usability Jul 24, 2026
@Blargian Blargian changed the title Improve settings explorer usability Docs: improve settings explorer usability based on feedback Jul 24, 2026
@Blargian
Blargian marked this pull request as ready for review July 24, 2026 22:56
@Blargian
Blargian enabled auto-merge July 24, 2026 23:21
@Blargian
Blargian added this pull request to the merge queue Jul 24, 2026
Merged via the queue into ClickHouse:master with commit ada3c1d Jul 24, 2026
178 checks passed
@Blargian
Blargian deleted the codex/improve-settings-search-contrast branch July 24, 2026 23:35
alexey-milovidov added a commit that referenced this pull request Jul 25, 2026
Master restyled the settings explorer components again (#111859, #111862),
so the regenerated `FormatSettingsExplorer.jsx` was re-created from the
updated template, again without the obsolete `input_format_orc_use_fast_decoder`.
`--check` mode passes on the result.
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 25, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…ings-search-contrast

Docs: improve settings explorer usability based on feedback
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
Master restyled the settings explorer components again (ClickHouse#111859, ClickHouse#111862),
so the regenerated `FormatSettingsExplorer.jsx` was re-created from the
updated template, again without the obsolete `input_format_orc_use_fast_decoder`.
`--check` mode passes on the result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-documentation Documentation PRs for the specific code PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants