Skip to content

fix(tui): config-screen consistency — Done row, embedded footer, Search spacer#1441

Merged
Aaronontheweb merged 2 commits into
netclaw-dev:devfrom
Aaronontheweb:feature/config-tui-consistency
Jun 19, 2026
Merged

fix(tui): config-screen consistency — Done row, embedded footer, Search spacer#1441
Aaronontheweb merged 2 commits into
netclaw-dev:devfrom
Aaronontheweb:feature/config-tui-consistency

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

Three small, independent consistency fixes to the netclaw config TUI, surfaced by a UI audit:

  1. Channels adapter menu — "Done" row. Added a discoverable Done — Return to Channels. row to the Slack/Discord/Mattermost management menu, which previously only backed out via Esc. Matches the existing pattern on Skill Sources and the channel-permissions screen; routes to the adapter picker — the same place [Esc] Channels already goes.
  2. Provider/Model manager footer. The top-level list footer hard-coded [Esc] Quit, but when embedded in netclaw config Esc actually navigates back to the dashboard (Navigate("/config")). Now conditional on IsEmbeddedInConfig: [Esc] Back when embedded, [Esc] Quit only standalone.
  3. SearchConfigEditorPage fill spacer. Added the Layouts.Empty().Fill() spacer that all 8 other config pages already have, so the status/keybind bars pin to the bottom on short screens instead of floating up under the content.

Validation

  • Netclaw.Cli.Tests: 1097/1097 (incl. a new test for the adapter-menu Done row)
  • dotnet slopwatch analyze: no new violations
  • copyright headers ✓
  • native config-channels smoke tape ✓ (drives the real adapter menu)

Audit-driven consistency fixes; first batch of a broader config-TUI consistency pass (Done/Back rows on the Security & Access screens to follow).

…ch spacer

Three small, independent consistency fixes to the config TUI:

- Channels adapter menu: add a discoverable "Done — Return to Channels." row to
  the Slack/Discord/Mattermost management menu, matching the existing pattern on
  Skill Sources and the channel-permissions screen. It routes to the adapter
  picker, the same place Esc already goes ("[Esc] Channels"), so backing out no
  longer requires knowing the Esc shortcut.

- Provider/Model managers: the top-level list footer hard-coded "[Esc] Quit",
  but when embedded in `netclaw config` Esc actually navigates back to the
  dashboard (Navigate("/config")), not quit. Make the footer conditional on
  IsEmbeddedInConfig: "[Esc] Back" when embedded, "[Esc] Quit" only standalone.

- SearchConfigEditorPage: add the Layouts.Empty().Fill() spacer that every other
  config page already has, so the status/keybind bars pin to the bottom on short
  screens instead of floating up under the content.
@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) June 19, 2026 02:32
@Aaronontheweb
Aaronontheweb merged commit dba60b0 into netclaw-dev:dev Jun 19, 2026
14 of 15 checks passed
Aaronontheweb added a commit that referenced this pull request Jun 19, 2026
)

Discoverable back-out rows across the Security & Access surfaces, matching the
adapter menu (#1441) and Skill Sources pattern so operators don't have to know
Esc:

- Security & Access menu: add a "Done — Return to Settings Areas." row that backs
  out to the config dashboard via GoBack(). The config-editor coverage audit is
  updated to treat it as a navigation row, not a leaf editor needing coverage.

- The four editor sub-screens (Posture, Enabled Features, Audience list, Audience
  profile): append a "Done" row after the real items. Each screen's navigation
  extends one past its item array, and the per-action methods (apply posture,
  toggle feature, open profile, activate/cycle profile row) guard the Done index
  to back out via GoBack() instead of indexing out of bounds. The audience-profile
  per-row help is also guarded for the Done row.
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