Private
Public Access
0
0
Files
manual_slop/conductor/tracks/approve_modal_ux_20260601/spec.md
T

1.1 KiB

Specification: Approve Modal UX Fixes

1. Overview

The "Approve PowerShell Command" modal is currently too small and cannot be resized. Additionally, the "Show Full Preview" option triggers the external "Text Viewer" window, which cannot be interacted with because the modal blocks all background UI inputs.

2. Functional Requirements

  • Resizable Modal: The modal must allow user resizing and should have a larger default minimum size.
  • Inline Preview: The "Show Full Preview" option must render the full script inside the modal itself (e.g., as a read-only scrollable child or markdown block), rather than triggering an external window.
  • Responsive Input: The script input text area should expand to fill the available vertical space of the modal, rather than being fixed to 200px.

3. Non-Functional Requirements

  • The modal must continue to reliably block the execution thread until the user approves or rejects the script.

4. Acceptance Criteria

  • The modal can be resized by dragging the corners.
  • Clicking "Show Full Preview" toggles an inline preview without locking the UI.