Repository navigation
feat(ui): group advanced settings by messaging channel - #130591
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Merged via squash.
|
|
Codex review: found issues before merge. Reviewed August 26, 2026, 10:28 PM ET / August 27, 2026, 02:28 UTC. ClawSweeper reviewWhat this changesThe PR adds a channel picker to Advanced settings that shows one schema-defined messaging channel at a time and places shared channel defaults and model overrides under Other. Merge readinessKeep this PR open: the schema projection removes the existing permissive path for dynamically keyed channel configuration, so an installed channel without a published schema becomes inaccessible in the form editor. Priority: P1 Review scores
Verification
Live VerificationEntry: Result: PASS (completed) Steps:
How this fits togetherThe Gateway supplies a configuration schema and UI hints to the Control UI, which renders editable form fields and sends patches back using original configuration paths. The change introduces navigation-time filtering of the Channels schema before that form renderer runs. flowchart LR
A[Gateway channel metadata] --> B[Configuration schema]
B --> C[Control UI channel picker]
C --> D[Filtered Channels schema]
D --> E[Configuration form]
E --> F[Configuration patch]
F --> G[Gateway saved config]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +75, Tests +108, Docs +1. Total +184 across 8 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep schema-defined channel groups, while retaining a visible editable route for channel keys accepted through the existing permissive Channels schema, with regression coverage for a configured schema-less channel. Do we have a high-confidence way to reproduce the issue? Yes—source establishes the path: configure a channel key absent from Is this the best way to solve the issue? No. Filtering known channel properties is reasonable, but setting Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c75616186224. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* feat(ui): group advanced settings by messaging channel * test(ui): connect channel settings fixture for label checks
What Problem This Solves
Resolves a problem where operators opening Advanced → Communication → Channels must scroll through every channel's settings in one long form.
Why This Change Was Made
Add a labeled channel picker driven by the Gateway's config schema and UI hints, including custom channel plugins. Shared channel defaults and model overrides are grouped under Other. Both tabs and accordion layouts use the same grouping.
The existing form renderer receives only the selected group's schema while keeping original config values and patch paths. Switching groups never writes configuration. The existing kernel-owned channel-key classifier moves into a lightweight shared module so schema hints, redaction, and the browser use one definition; no plugin IDs are hardcoded. Raw mode remains unchanged.
User Impact
Operators can focus on one messaging channel at a time and find shared settings under Other. No config keys, defaults, migration, Gateway protocol, or plugin contracts change.
Release note: Control UI channel configuration now groups settings by messaging channel, with shared defaults and model overrides under Other.
Evidence
Before — every channel in one form:
After — Telegram settings only:
After — shared settings under Other: