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 f2c73c6
Browse filesBrowse the repository at this point in the historyBrowse files
✨ Slice C of #827: route, draft and a windowed Entries catalog
A draft is now execution-wide state for the next entry. It coexists with a
selected entry, a nested scope, either surface, drawers, a Sessions filter and
a frozen history position, and it stays editable while an entry runs and while
a prefix is being inspected — an admitted entry is immutable, so there is never
an entry those keystrokes could be editing.
Run is available only at the live head. The reducer refuses it at a frozen
position, because the only inheritance boundary there that is not a fork is the
head; whether this is a moment to submit at all stays the session's answer. No
refusal touches the draft: it clears only once it has become an entry, and the
entry it became carries the key the session really assigned.
The Entries surface is a catalog of every retained entry in admission order,
each row carrying its own outcome — unfinished, ok, err or cancelled — and keyed
by its stable entry key rather than by its place in the window. The catalog is
windowed rather than mounted whole and clipped: rows outside the window are not
described, mounted, drawn or targetable, every row becomes reachable by
scrolling, and a scroll is applied from the clamped position the frame is
drawing so the first press after a resize moves the screen.
A location naming an entry its prefix never admitted refuses whole. When the
history action selects a position earlier than the selected entry's admission,
the loop clears that now-invalid entry and scope suffix and guesses no
replacement, keeping the draft, the surface, the filter, the History drawer and
the marker.
0 commit comments