Files
proxy/.scratch/tui-redesign/issues/08-profile-editor.md
T

1.5 KiB
Raw Blame History

08 — Deliver the mature Profile editor

What to build: Replace append-only Profile editing with efficient terminal text inputs, precise validation, and a live Bypass interpretation that users can trust before saving.

Blocked by: 07 — Build the dedicated Profile management page.

Status: ready-for-agent

  • Name and URL fields support insertion, cursor movement, Home, End, Delete, Backspace, paste, and horizontal scrolling.
  • Focus is explicit and remains understandable without color.
  • Single and Advanced mode transitions preserve values according to existing Proxy Profile semantics.
  • Field-specific validation appears beside the relevant field and updates when input changes.
  • Save uses the same canonical Profile validation semantics as the live feedback, preventing contradictory results.
  • Bypass accepts efficient delimited input and displays a live normalized, deduplicated preview.
  • Invalid Bypass entries are identified individually without hiding valid entries.
  • Proxy credentials remain obscured during entry, scrolling, validation, review, errors, and resize.
  • Save returns to management with the saved Profile selected; cancel leaves persistence unchanged.
  • Long URLs and Bypass content remain usable at 80×24.
  • Complete-Model tests cover editing operations, paste, horizontal scrolling, mode transitions, validation lifecycle, Bypass preview, save, cancel, resize, and adversarial secret-bearing input.