Read through the review surface. Here's what's actually there and where the layering can go.
What makes it feel flat today
TrajectoryReviewWorkspace is a fixed 3-column grid (13rem rail · canvas · 22rem desk). All three are always at full weight — nothing recedes.
ReviewDesk (595 lines) stacks a pass bar + error bar + 3-tab strip, and each tab is one long scroll. Margin tab shows the AI proposals list and the annotation list and the full editor.
AnnotationEditor is 8 fields on first open (kind, category, severity, note, impact, alternative, status, save) for what is usually "this was a bad question."
- Annotations in the canvas are
<mark title={notes.join("\n")}> — native tooltips. Click jumps you to a side panel, so your eyes leave the text you're judging.
- Selecting text immediately fires
onTextSelection → switches the mobile tab → opens the whole form. No cheap intermediate step.
So: every action costs a full-panel commitment, and nothing is hidden until you want it.
The layering model
L0 — rest. Reads like a marked-up page. Transcript + faint underlines + a thin margin gutter with kind-colored dots. Rail collapses to an icon strip; desk collapses to a vertical tab spine. You should be able to just read.
L1 — hover. Nothing commits, everything reveals:
- Hovering a turn floats a small action bar at its top-right: annotate turn · rewrite · pin. Those are always-on buttons today.
- Hovering a
<mark> opens a real hovercard replacing title=: kind dot, category, note excerpt, severity chip, and edit/delete. This is the single highest-value swap in the whole set — it's currently the worst interaction in the component.
- Hovering a gutter dot expands the note into the margin. Marginalia is the right metaphor for this product; the desk is currently doing a job the margin should do.
L2 — selection. Select text → tiny floating toolbar at the selection: Problem / Strength / Suggestion / Rewrite. One click creates the note with kind pre-set and a single focused textarea. No panel switch, no tab change. The other six fields don't exist yet.
L3 — click. Clicking a mark/dot/strip row opens the full editor as a popover anchored to the text (sheet on mobile), not a jump to the desk. The desk becomes where you review the whole set, not where you author one note.
Progressive form. After the one-line save, the note card shows chips: + category, + severity, + impact, + alternative. Each expands in place. annotation-expand ("Finish this note") stays, but now it fills fields you never had to look at.
Desk as movements, not tabs. Replace the 3 equal tabs with collapsible sections whose collapsed line carries state — Verdict · undecided, Rubric · 4 of 6 scored, Alternatives · 3 candidates, none chosen. One open at a time. You already do exactly this with the Model pools <details> inside the Rewrite tab; extend that pattern up a level and the desk stops being three scroll-oceans.
On "edit text"
Two different asks are hiding in that phrase, and they cost very differently:
- Edit the annotation — inline, in the hovercard/popover. Cheap, purely presentational, part of L3 above.
- Edit the transcript/artifact text itself — a real capability. Needs an
onEditMessageText callback, a revision record on the message, and re-anchoring. The good news: reanchorText already exists and returns stale, so span annotations survive or self-mark on edit. And diff is already a dependency, so an edited turn can render as revised-with-diff-toggle. This also unifies with onInsertCandidate — an inserted candidate and a hand-edit are the same operation on the record.
Worth deciding explicitly whether editing mutates the session record or produces a proposed revision layered over it. The second is more in keeping with the rest of this system (passes propose, humans accept — it's the boundary you already hold everywhere else), and it's what I'd build.
Costs to go in eyes-open
- No
@radix-ui / floating-ui in deps. Popovers/hovercards would be the native popover attribute plus a ~40-line anchor-position hook. That's fine but it's real work, and CSS anchor positioning isn't safe to rely on cross-browser yet.
- Hover-only affordances need keyboard and touch equivalents or the whole thing regresses on mobile — where the 3-tab layout is actually working well right now.
SharedTrajectoryWorkspace renders the same desk read-only; every new layer needs a readOnly path.
- Escape hierarchy: hovercard → popover → modal → panel. Worth defining once, up front, or L1–L3 will fight each other.
Sequencing I'd recommend
- Hovercard replacing
title= on marks, + margin gutter dots. Contained, immediately changes how the page feels.
- Selection toolbar + one-field quick note. Kills the biggest friction spike.
- Desk → stateful collapsible movements.
- Annotation popover anchored to text (L3), desk demoted to overview.
- Transcript editing as proposed revisions.
Steps 1–3 need no data-model change at all. Step 5 is the only one that touches trajectory-review types.
Two things I'd want your call on before planning any of it: does transcript editing mutate the record or propose a revision over it? And on desktop, should the rail/desk actually collapse at rest, or stay pinned with only their contents becoming progressive?