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
CW-01: Wire fold toggle/expand/collapse into present path #980
Task: CTX-0723 — CLOSE verdict (wired by PR #1312).
Scope check against the issue (CommandBlock/FoldState bounded in bitty-rich; add keymap actions + overlay projection + tests):
Keymap actions: fold_toggle (alias toggle_fold) / fold_expand / fold_collapse parse + canonical in bitty-config, never in defaults (byte-identical discipline), and dispatch through apply_fold_verb to the live fold state.
Live target: Runtime::cw_fold_latest resolves the focused view's latest OSC 133 command block fail-closed (None with no marks — no invented target, loud refusal).
Overlay projection: cw_fold_projection / plan_present derive visible/hidden id lists per frame from the live state (CTX-0700 ownership + this PR's live mutation path).
Follow-up (not silent, out of this scope): renderer row-hiding for folded blocks — the projection exists per frame; the paint skip is render-path work alongside #985.
Activity
Xuepoo commentedon Sep 23, 2026
Task: CTX-0723 — CLOSE verdict (wired by PR #1312).
Scope check against the issue (
CommandBlock/FoldStatebounded inbitty-rich; add keymap actions + overlay projection + tests):fold_toggle(aliastoggle_fold) /fold_expand/fold_collapseparse + canonical inbitty-config, never in defaults (byte-identical discipline), and dispatch throughapply_fold_verbto the live fold state.Runtime::cw_fold_latestresolves the focused view's latestOSC 133command block fail-closed (Nonewith no marks — no invented target, loud refusal).cw_fold_projection/plan_presentderive visible/hidden id lists per frame from the live state (CTX-0700 ownership + this PR's live mutation path).cw_uipresent.rs(latest-verbs incl. no-marksNone, toggle/expand/collapse cycle) + app intercept test (verbs on marked commands, refusal without marks) + config parse/never-default test.fmt/ workspaceclippy -D warnings/ workspace tests green.Follow-up (not silent, out of this scope): renderer row-hiding for folded blocks — the projection exists per frame; the paint skip is render-path work alongside #985.