# S04: Admin UX Audit — Prune, Streamline, and Polish — UAT

**Milestone:** M007
**Written:** 2026-03-30T19:37:50.191Z

## UAT: Admin UX Audit — Prune, Streamline, and Polish

### Preconditions
- Chrysopedia stack running on ub01 (`docker ps --filter name=chrysopedia` shows all services healthy)
- At least 2 videos in the pipeline with different processing_status values
- Web UI accessible at http://ub01:8096

### Test 1: Debug Mode Toggle
1. Navigate to http://ub01:8096/admin/pipeline
2. Locate the debug mode toggle in the header area (next to WorkerStatus)
3. **Expected:** Toggle switch visible with "Debug Mode" label, showing current state (on/off)
4. Click the toggle to change state
5. **Expected:** Toggle visually flips, state persists on page reload
6. Refresh the page
7. **Expected:** Toggle reflects the state you set in step 4

### Test 2: Debug Indicator on Trigger Button
1. Enable debug mode via the toggle
2. Find any video card's trigger button
3. **Expected:** Button text reads "▶ Trigger (debug)" instead of "▶ Trigger"
4. Disable debug mode via the toggle
5. **Expected:** Button text reverts to "▶ Trigger"

### Test 3: Status Filter Pills
1. On the pipeline page, locate the filter pill bar below the header
2. **Expected:** "All" pill plus one pill per unique processing_status, each showing a count (e.g., "completed (3)")
3. Click a specific status pill (e.g., "completed")
4. **Expected:** Only videos with that status are shown; the clicked pill is highlighted
5. Click "All" pill
6. **Expected:** All videos shown again

### Test 4: Status Filter — Single Status Edge Case
1. If all videos have the same status, the filter bar should be hidden (only 1 status = no filtering value)
2. **Expected:** No filter pills visible when all videos share the same processing_status

### Test 5: View Toggle Labels
1. Expand a video to see the event log
2. Locate the view toggle buttons
3. **Expected:** Buttons read "Oldest first" and "Newest first" (NOT "Head" / "Tail")

### Test 6: Dead UI Removal — No Event Refresh Button
1. Expand a video's event log
2. **Expected:** No "↻ Refresh" button in the event log header (page-level refresh in main header is sufficient)

### Test 7: Dead UI Removal — No Truncated ID
1. Expand a video's detail section
2. **Expected:** Created and Updated dates visible, but NO "ID: abc123…" truncated UUID

### Test 8: Review Queue Cross-Link
1. On the pipeline page, find a video card
2. **Expected:** "→ Moments" link visible in the video meta area
3. Click the "→ Moments" link
4. **Expected:** Navigates to /admin/review page
