Skip to content

Config UI: tag filters and complete schema help/labels coverage - #23796

Merged
Takhoffman merged 3 commits into
mainfrom
feat/config-help-tags-review
Feb 22, 2026
Merged

Takhoffman merged 3 commits into
mainfrom
feat/config-help-tags-review

Conversation

@Takhoffman

@Takhoffman Takhoffman commented Feb 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Describe the problem and fix in 2–5 bullets:

  • Problem: Config UI search and schema metadata were hard to use at scale: no tag-based filtering in the form UI, and help/label coverage was inconsistent across many config keys.
  • Why it matters: Operators struggled to find cross-cutting settings (security/auth/network/etc.) and several schema fields lacked clear in-product explanations.
  • What changed: Added config tag derivation + UI tag filtering, expanded labels/help coverage to full help/label parity, and added quality/parity tests for config docs metadata.
  • What did NOT change (scope boundary): No runtime gateway/tool behavior changes; this is config metadata + UI/search UX and test coverage only.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

  • Closes #
  • Related #

User-visible / Behavior Changes

  • Config sidebar search now supports tag filters and tag-picker UI for multi-tag filtering.
  • Config form fields now render derived tags to improve discoverability.
  • Config metadata now includes much broader, higher-quality help text and complete label/help parity.
  • schema.hints now carries derived tags for UI consumers.

Security Impact (required)

  • New permissions/capabilities? (Yes/No): No
  • Secrets/tokens handling changed? (Yes/No): No
  • New/changed network calls? (Yes/No): No
  • Command/tool execution surface changed? (Yes/No): No
  • Data access scope changed? (Yes/No): No
  • If any Yes, explain risk + mitigation:

Repro + Verification

Environment

  • OS: macOS (local dev)
  • Runtime/container: Node 22+/pnpm workspace
  • Model/provider: N/A
  • Integration/channel (if any): Config UI
  • Relevant config (redacted): N/A

Steps

  1. Open Control UI config screen and use search/tag filter controls.
  2. Run config metadata tests and typecheck.
  3. Verify no remaining help/label parity gaps.

Expected

  • Tag filters constrain visible config nodes correctly.
  • Help/label coverage remains complete and regression-protected by tests.
  • Typecheck and targeted tests pass.

Actual

  • Matches expected.

Evidence

Attach at least one:

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Human Verification (required)

What you personally verified (not just CI), and how:

  • Verified scenarios:
    • pnpm tsgo passes.
    • pnpm test -- src/config/schema.help.quality.test.ts src/config/schema.hints.test.ts src/config/schema.tags.test.ts src/config/schema.test.ts src/tui/tui-command-handlers.test.ts passes.
    • Parity audit shows labelMissingHelp: 0 and helpMissingLabel: 0.
  • Edge cases checked:
    • Search parsing for tag:<name> with replacement/toggle helpers.
    • Node-level matching with text + multi-tag criteria.
  • What you did not verify:
    • Full browser Playwright suite was not run in this environment.

Compatibility / Migration

  • Backward compatible? (Yes/No): Yes
  • Config/env changes? (Yes/No): No
  • Migration needed? (Yes/No): No
  • If yes, exact upgrade steps:

Failure Recovery (if this breaks)

  • How to disable/revert this change quickly:
    • Revert this PR commit.
    • Use Raw config mode if UI filtering presentation regresses.
  • Files/config to restore:
    • ui/src/ui/views/config*.ts
    • src/config/schema.help.ts
    • src/config/schema.labels.ts
    • src/config/schema.hints.ts
    • src/config/schema.tags.ts
  • Known bad symptoms reviewers should watch for:
    • Missing config fields when tag search is active.
    • Unexpected field filtering for object/array nodes.
    • Help/label parity test regressions.

Risks and Mitigations

List only real risks for this PR. Add/remove entries as needed. If none, write None.

  • Risk: Search/tag filtering may hide intended nested fields under complex schemas.
    • Mitigation: Added node-level search tests and retained text-based search fallback.
  • Risk: Large help-text additions could drift without guardrails.
    • Mitigation: Added quality/parity tests enforcing help presence and minimum guidance quality.

Greptile Summary

This PR adds tag-based filtering to the config UI and significantly expands help/label coverage across config schema fields. The implementation introduces a tag derivation system that automatically categorizes config keys by security, auth, network, and other cross-cutting concerns, making it easier for operators to discover related settings.

Key Changes:

  • Added tag derivation engine (schema.tags.ts) with rule-based classification using prefix patterns, keyword matching, and path-specific overrides
  • Implemented UI tag picker with multi-select filtering in config search (15 predefined tags: security, auth, network, access, privacy, observability, performance, reliability, storage, models, media, automation, channels, tools, advanced)
  • Expanded FIELD_HELP with 700+ lines of detailed guidance text for config keys that previously lacked documentation
  • Expanded FIELD_LABELS with 300+ human-readable labels for improved config form readability
  • Added quality/parity tests to prevent help/label regressions (schema.help.quality.test.ts)
  • Fixed test code smell in tui-command-handlers.test.ts (resolver initialization)

Architecture:

  • Tags flow through the schema build pipeline: base hints → derived tags → sensitive hints → final merged hints
  • Search matching uses recursive descent through object/array nodes with combined text + tag criteria
  • Tag normalization ensures case-insensitive deduplication across UI and backend

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk - it's a metadata and UI enhancement with no runtime behavior changes
  • Score reflects comprehensive test coverage (tag derivation, search parsing, node matching, UI interaction), focused scope (config metadata/UI only), backward compatibility (tags are additive), quality guardrails (parity tests prevent regressions), and adherence to repo patterns (ESM, TypeScript strict mode, colocated tests). No security surface changes, no gateway logic changes, and the TUI test fix improves code quality.
  • No files require special attention - all changes are straightforward metadata additions and UI enhancements

Last reviewed commit: b0cbd8d

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime size: XL maintainer Maintainer-authored PR labels Feb 22, 2026
@Takhoffman
Takhoffman marked this pull request as ready for review February 22, 2026 18:08
@Takhoffman
Takhoffman marked this pull request as draft February 22, 2026 18:08
@Takhoffman
Takhoffman marked this pull request as ready for review February 22, 2026 20:41
@Takhoffman
Takhoffman force-pushed the feat/config-help-tags-review branch from b0cbd8d to be4a719 Compare February 22, 2026 21:10
@openclaw-barnacle openclaw-barnacle Bot added the channel: slack Channel integration: slack label Feb 22, 2026
@openclaw-barnacle openclaw-barnacle Bot added the app: macos App: macos label Feb 22, 2026
@Takhoffman
Takhoffman merged commit f8171ff into main Feb 22, 2026
26 of 27 checks passed
@Takhoffman
Takhoffman deleted the feat/config-help-tags-review branch February 22, 2026 21:17
@Takhoffman

Copy link
Copy Markdown
Contributor Author

Autoland complete.

  • Merge commit: f8171ffcdc63bfb2801a553fae8aef80009dfbbc
  • Head commit merged: bc8ab5624d15ef92424c06a4ece456e19ac982d3

Verification performed on PR head:

  • pnpm install --frozen-lockfile
  • pnpm build
  • pnpm check
  • pnpm test:macmini
  • pnpm protocol:gen && pnpm protocol:gen:swift
  • CI checks green at merge time

carlosrivera pushed a commit to myascendai/meshiclaw that referenced this pull request Feb 23, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
gabrielkoo pushed a commit to gabrielkoo/openclaw that referenced this pull request Feb 23, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
mreedr pushed a commit to mreedr/openclaw-custom that referenced this pull request Feb 24, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
mylukin pushed a commit to mylukin/openclaw that referenced this pull request Feb 26, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
lhfer pushed a commit to lhfer/openclaw that referenced this pull request Oct 11, 2026
…claw#23796)

* Config UI: add tag filters and complete schema help/labels

* Config UI: finalize tags/help polish and unblock test suite

* Protocol: regenerate Swift gateway models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos app: web-ui App: web-ui channel: slack Channel integration: slack gateway Gateway runtime maintainer Maintainer-authored PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant