You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5ecca2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): citations to older responses load their history instead of failing
Clicking a citation whose response sits outside the loaded thread window
showed "The cited response is unavailable" right away. The timeline's
citation hook could page history through a `loadEarlier` prop, but nothing
has passed that prop since the V2 orchestrator merge, so it gave up on the
first render.
Paging now runs in citationProcedure: one atom per citation activation
pages history toward the cited message with loadEarlierHistory (up to 20
pages), reports found or failed, and stops when the activation is left.
The timeline derives a phase (loading, expanding, ready, failed) from that
result and its own rows. The citation hook derives its target and
positioning from the phase in render instead of setting state from an
effect, and opening a folded turn for the cited response is a
render-phase state adjustment like the find-match fold.
Effects: useAssistantCitationTarget 2 -> 2 (the navigation state machine
effect is gone; one effect owns the activation's follow takeover and
retirement, one attaches the dismissal listeners to the viewport, since
both synchronize with things outside React). MessagesTimeline 12 -> 12.
ChatView unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments