forge
Explore
Log in

Don't you dare go Hollow

No bar over the picture, and the ledger names the cut

Browse files at this commit

43f5ab49d3ae8a9639fa604b2932958d7b355293Ahmet Kaan GümüşParent: 156db78
  • fix
    • no bar over the picture, and the ledger names the cut
Show full message
🐛 fix(ui): no bar over the picture, and the ledger names the cut

The legacy notice bar lives inside the picture, and the stance reuses the
picture, so every darkroom notice painted a full-width bar across the
bottom tenth of the film — under the stance's own plate, which was already
showing the same words. The bar stays home in the legacy room now, and a
test fails if it ever wanders back.

Splitting wrote nothing to the ledger, so the bench grew a splice while the
room said nothing happened. The cut speaks now, in the grey that fades on
its own. Trim and walk stay silent: they run thousands of times an hour and
would turn the ledger into a firehose.

DESIGN §9 asks for chords surfaced in place on a held ?, not a cheat-sheet.
Fifteen of seventy-one commands have a widget in the room today and all
fifteen already wear their chord permanently; the other fifty-six have
nowhere to stand yet. The section is amended to say what the room does and
what it owes, rather than leaving the document describing a room that does
not exist.
DESIGN.mdmodified+25 -0
@@ -178,6 +178,31 @@ capability is genuinely absent — otherwise it is a bug, not a message. A verb
178 - **`?` held** dims the room one fill step and surfaces chords *in place* beside their controls;178 - **`?` held** dims the room one fill step and surfaces chords *in place* beside their controls;
179 release restores. No modal cheat-sheet; learning stays geographic. The film keeps playing.179 release restores. No modal cheat-sheet; learning stays geographic. The film keeps playing.
180 180
181+ **Amendment (2026-08-20), explicit per this section's own rule:** the geographic reading above
182+ is only partly built and edith currently ships the fallback instead — named here rather than
183+ silently violated.
184+
185+ Fifteen of the keymap's 71 actions already have a geographic home in the darkroom stance today,
186+ and every one of those wears its chord **permanently**, not gated on `?` (spine glyphs, the
187+ time band's transport and Export chip, the dock's four Clip verbs) — a stronger reading of "the
188+ UI *is* the shortcut sheet" (§4) than "surfaces on hold" asks for, so nothing further was owed
189+ those fifteen. The other 56 actions (`,` `.` `[` `]` shuttle strides, marks, clipboard, delete,
190+ lift/detach/group/regroup, fit/resolution/zoom, subtitle add/style, silence, project cards,
191+ etc.) have **no widget anywhere in the room** — burst-use surfaces (screen, bench, time band)
192+ are the checklist's most expensive land (§11.1), and giving each of the 56 a geographic
193+ placement is that many individual placement decisions across the bench, time band and dock, not
194+ one fix. Until that lands, `?` held keeps opening `ui::stance::keys_overlay`: a single scrolling
195+ plate (plate styling per §4, positioned over the bench+ledger footprint so it never reaches the
196+ screen — §11.6's occlusion check holds) listing every action by [`keymap::Category`]. It is a
197+ cheat-sheet, and it is modal for as long as the key is held; both are accepted here rather than
198+ hidden.
199+
200+ Ceiling to close this amendment: walk the 56 down to zero by giving each a home next to the
201+ control it already has no visual presence beside (marks and clipboard on the time band's cut
202+ readout row; lift/detach/group/regroup as bench lane-head ghosts; fit/resolution/zoom on the
203+ screen's own corner; subtitle/silence/project verbs into the dock next to the tab they already
204+ belong to) — at which point the plate deletes and `?` held becomes pure dim, no list.
205+
181 ## 10. The joy layer206 ## 10. The joy layer
182 207
183 Game-feel, not gamification. All specs ≤150ms, ease-out, tied to real actions, honor208 Game-feel, not gamification. All specs ≤150ms, ease-out, tied to real actions, honor
crates/app/src/player/timeline_edit.rsmodified+21 -1
@@ -25,7 +25,27 @@ impl Player {
25 self.seek(f64::from(at) / self.fps, cx);25 self.seek(f64::from(at) / self.fps, cx);
26 }26 }
27 if let Some(session) = &mut self.session {27 if let Some(session) = &mut self.session {
28- session.cut_at(f64::from(at) / self.fps);28+ // The ledger's last action (DESIGN §5) reads the notice queue's
29+ // back, and a split used to leave nothing there -- two clips
30+ // appeared on the bench while the ledger still named whatever
31+ // came before. `NOTICE_TELL`'s grey "told you" (§8) self-fades,
32+ // so this does not linger over the picture; it just gives the
33+ // ledger something true to say. Held `,`/`.`/`[`/`]` (walk, trim)
34+ // stay silent on purpose -- those fire many times a second and a
35+ // notice per keystroke would turn the ledger into a firehose,
36+ // exactly what §8's "one at a time" is against; a single `s` is
37+ // not that.
38+ // The legacy room has no ledger reading this queue and never
39+ // notified on a split before -- gated so that room's behaviour
40+ // stays exactly as it was.
41+ let cut = session.cut_at(f64::from(at) / self.fps);
42+ if self.darkroom {
43+ if cut {
44+ self.notify_user("SPLIT".into());
45+ } else {
46+ self.notify_user("NOTHING TO SPLIT — the playhead is already on a cut".into());
47+ }
48+ }
29 }49 }
30 self.selected.clear();50 self.selected.clear();
31 cx.notify();51 cx.notify();
crates/app/src/render.rsmodified+8 -1
@@ -123,7 +123,14 @@ impl Player {
123 .gap(px(2.))123 .gap(px(2.))
124 .children(self.import_bar(cx))124 .children(self.import_bar(cx))
125 .children(self.seek_bar())125 .children(self.seek_bar())
126- .children(self.notice_bar(cx))126+ // DESIGN §8: no full-width bar over the picture, ever.
127+ // The darkroom stance has its own §8-conformant notice
128+ // plate above the ledger (`ui::stance::notice_plate`) --
129+ // this legacy bar would otherwise paint a second,
130+ // picture-covering copy of the same notice underneath
131+ // it. The legacy (non-darkroom) room keeps this bar
132+ // exactly as it was.
133+ .children((!self.darkroom).then(|| self.notice_bar(cx)).flatten())
127 // How tall the lot came out, for the cue plate above to134 // How tall the lot came out, for the cue plate above to
128 // step over ([`sub_bottom`]) -- the bars are over the135 // step over ([`sub_bottom`]) -- the bars are over the
129 // picture, and a message drawn across the line being136 // picture, and a message drawn across the line being
crates/app/src/tests/layout.rsmodified+29 -0
@@ -1837,3 +1837,32 @@ fn the_picture_letterboxes_through_a_canvas_never_a_plain_img_object_fit() {
1837 );1837 );
1838 }1838 }
1839 }1839 }
1840+
1841+/// DESIGN §8: "No full-width bars, no covering the picture, ever." The
1842+/// darkroom stance (`ui::stance::screen`) draws
1843+/// [`Player::picture_area`](crate::Player::picture_area) directly, so a
1844+/// notice surface that reaches into that method unconditionally reaches the
1845+/// picture on the darkroom path too -- measured live covering the bottom 10%
1846+/// of the frame (rows 300-333 of 335) *underneath* the stance's own
1847+/// §8-conformant plate (`ui::stance::notice_plate`), which drew the same
1848+/// notice a second time above the ledger. The legacy (non-darkroom) room
1849+/// keeps its full-width `notice_bar` exactly as it always has -- this only
1850+/// pins the darkroom path off it.
1851+#[test]
1852+fn the_darkroom_path_never_lets_a_notice_surface_reach_the_picture() {
1853+ let body = fn_body("picture_area");
1854+ assert!(
1855+ body.contains("self.notice_bar(cx)"),
1856+ "picture_area no longer draws notice_bar at all; re-check the darkroom gate still applies"
1857+ );
1858+ let at = body.find("self.notice_bar(cx)").expect("checked above");
1859+ // Whatever gates the call, it has to name `darkroom` and it has to be
1860+ // upstream of the call itself -- a gate written after the call, or one
1861+ // that never mentions the flag, is not a gate on this method.
1862+ let before = &body[..at];
1863+ assert!(
1864+ before.contains("self.darkroom") || before.contains("!self.darkroom"),
1865+ "notice_bar in picture_area is not gated on self.darkroom any more -- \
1866+ the darkroom stance would paint it over the picture again"
1867+ );
1868+}
crates/app/src/ui/stance.rsmodified+7 -4
@@ -98,11 +98,14 @@ fn ghost_dual(player: &Player, glyph: &str, action: ActionId, stride: ActionId)
98 /// fill step for as long as the key is held, never a latch (DESIGN §9: "no98 /// fill step for as long as the key is held, never a latch (DESIGN §9: "no
99 /// modal cheat-sheet").99 /// modal cheat-sheet").
100 ///100 ///
101-/// corner-cut: DESIGN §9 wants chords surfaced *in place beside their101+/// corner-cut, named explicitly in DESIGN §9's own 2026-08-20 amendment
102-/// controls* across every region; this is one scrolling list plate instead,102+/// rather than silently shipped against the section's original text: it
103-/// anchored over the bench/ledger footprint so it never reaches the screen.103+/// wants chords surfaced *in place beside their controls* across every
104+/// region, and this is one scrolling list plate instead, anchored over the
105+/// bench/ledger footprint so it never reaches the screen (§11.6 holds).
104 /// Ceiling: DESIGN §12 step 7's full geographic pass (each region draws its106 /// Ceiling: DESIGN §12 step 7's full geographic pass (each region draws its
105-/// own rows while held).107+/// own rows while held) -- §9's amendment names the 56 actions still
108+/// without a home.
106 fn keys_overlay(player: &Player) -> impl IntoElement {109 fn keys_overlay(player: &Player) -> impl IntoElement {
107 div()110 div()
108 .id("stance-keys-overlay")111 .id("stance-keys-overlay")