Skip to content

fix(tui): add Done rows to the Security & Access menu and editors#1448

Merged
Aaronontheweb merged 1 commit into
netclaw-dev:devfrom
Aaronontheweb:feature/security-access-done-rows
Jun 19, 2026
Merged

fix(tui): add Done rows to the Security & Access menu and editors#1448
Aaronontheweb merged 1 commit into
netclaw-dev:devfrom
Aaronontheweb:feature/security-access-done-rows

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

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

  • Security & Access menu: a Done — Return to Settings Areas. row 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 test coverage.
  • The four editor sub-screens (Posture, Enabled Features, Audience list, Audience profile): a Done row is appended after the real items. Each screen's navigation extends one index past its item array, and every per-action method (apply posture, toggle feature, open profile, activate/cycle profile row) guards the Done index to back out via GoBack() instead of indexing out of bounds. The audience-profile per-row help is guarded for the Done row too.

Validation

  • Netclaw.Cli.Tests: 1102/1102 (5 new routing tests — the menu Done row + one per sub-screen)
  • dotnet slopwatch analyze: no new violations
  • copyright headers ✓
  • native smoke: config-posture, config-features, config-audience tapes ✓ (the three changed editors)

Second batch of the config-TUI consistency pass (after #1441's adapter-menu Done row + footer/spacer fixes).

Discoverable back-out rows across the Security & Access surfaces, matching the
adapter menu (netclaw-dev#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.
@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) June 19, 2026 15:16
@Aaronontheweb
Aaronontheweb merged commit 0ebb684 into netclaw-dev:dev Jun 19, 2026
14 of 15 checks passed
@Aaronontheweb Aaronontheweb added the tui Terminal UI (Termina) issues label Jun 19, 2026
@Aaronontheweb
Aaronontheweb deleted the feature/security-access-done-rows branch June 19, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tui Terminal UI (Termina) issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant