autocode-review-dialog (Phase 2)

AutoCode review dialog, after Phase 2

The shipped dialog's markup, words and CSS. Frame 0 is today. Red numbers mark what Phase 2 adds or changes; the list below says what each is and why. Talismanic UXR run, 109 proposals, lines stored at 0.30 and 0.70; four hand decisions are invented to show pinned rows. Long lists are cut after a few rows.

0 · Today, reopened after an Applyshipped: only the 53 still pending load
1 · Phase 2, reopenedthe whole run of 109; stored lines 0.30 / 0.70; Apply off until a line moves
2 · Phase 2, accept line dragged to 0.8036 threshold accepts move to Tentative; pinned rows stay
3 · Phase 2, nothing pendingtoday this dialog shows an empty chart and lists
Commentary · the innovations, and why
  1. The whole run loads, not only what is pending. Today the dialog drops every proposal that has been decided (ThresholdReviewModal.tsx:87), so after one Apply you can only narrow what is left, and an exclusion can never be undone here. Now the chart, the counters and the lists cover all 109. Why: D1, the ratchet the owner found on 23 Nov. The chart's bars stay coloured by position against the sliders, as today; a pinned decision is counted in its bar but not drawn differently there.
  2. A pin on a decision a person made. A proposal the researcher accepted or excluded by hand, here or on a quote card, or an older decision whose maker was not recorded ("unknown"), carries a pin after its confidence and does not move with the sliders. Why: D2, a person's reading of a quote outranks the cut-off. New: the Lucide Pin icon joins components/Icon.tsx, and its tooltip and spoken label need new words (drawn here as "Your decision", which is not a shipped string: owner to word, then 21 locales).
  3. The counters say what Apply will do. Exclude / Tentative / Accept now count the outcome over the whole run, pinned decisions included where they sit. Same words, same place; only what they count changes.
  4. Accepted and Excluded list decided rows, with their ✗ and ✓. Today those lists only show pending proposals that the sliders would move there. Now they also list what is already accepted or excluded, so a row can be overridden: ✗ on an accepted row excludes it, ✓ on an excluded row accepts it. Either makes it a pinned decision of the researcher's. Same buttons and words as today; what is new is that the server allows changing a decided proposal (today it refuses with "already reviewed").
  5. Apply only when a line has moved. Today Apply is off only when nothing is pending. Now it is off until a line moves from its stored place, because pressing it with the lines unmoved would change nothing (D26). In frame 2 it is on: moving the accept line from 0.70 to 0.80 sends the threshold accepts between them back to Tentative; the two pinned accepts in that band stay. No warning on removing tags (D3).
  6. It opens when nothing is pending. Today, reopened with nothing pending, the chart and the lists are empty. Now they show the whole run, so a finished run can still be re-cut. The subtitle keeps its shipped words ("0 of 109 proposals remaining (…)"); whether "remaining" still reads right for a whole-run view is a wording call for the owner.
  7. No sparkle in the title. The title reads "AutoCode Review — Bristlenose UXR Codebook" with no icon before it (owner, 23 Nov 2026). The sparkle stays wherever else the app uses it.

Unchanged: the title's words, the instruction, the chart's colours and axis, the sliders and their 0.05 steps, the zone names, the session headings and rows, the timecodes and speaker links, Close, and the words on every button.