Files
proxy/.scratch/tui-redesign/issues/07-profile-management-page.md
T

1.5 KiB

07 — Build the dedicated Profile management page

What to build: Provide a scrollable keyboard-first page for creating, editing, reviewing, and deleting Proxy Profiles while keeping activation in the dashboard picker.

Blocked by: 01 — Build the responsive TUI foundation; 04 — Unify operation coordination and status feedback.

Status: done

  • Profile management is a distinct page from the dashboard activation picker.
  • The Profile list scrolls and keeps selection visible with more entries than fit on screen.
  • The selected Profile's mode, obscured URLs, and Bypass values are reviewable without exposing credentials.
  • Create, edit, and delete entry points are available through contextual keyboard actions.
  • Deletion uses a reusable confirmation dialog with cancellation focused by default.
  • Deleting the final Proxy Profile clearly explains that existing managed configuration remains and becomes Drifted.
  • Escape and q return to the previous page; Ctrl+C follows the global exit contract.
  • Operations disabled by in-flight work expose a reason rather than silently ignoring input.
  • Selection and viewport survive resize and CRUD results whenever the referenced Profile still exists.
  • Empty-state copy provides a direct creation path and does not incorrectly claim no Active Profile when non-active Profiles exist.
  • Complete-Model tests cover long lists, details, create/edit entry, deletion confirmation, final deletion, cancellation, resize, and navigation consistency.