forge
Explore
Log in

Don't you dare go Hollow

The rail's exemptions go now that every one has a right-click door

Browse files at this commit

fae390a3a9ce9797ed13fecfc75013018fa2762fAhmet Kaan GümüşParent: b8f7260
  • test
    • the rail's exemptions go now that every one has a right-click door
Show full message
✅ test(app): the rail's exemptions go now that every one has a right-click door

The 19 EXPLICITLY_OWNED_ELSEWHERE entries LANE R1 wrote naming LANE R2 are
paid: the clip menu, the ruler's and the lane head's carry each of them, so
the staleness assert's debt is cleared. The snap's assertion is a plain one
again -- on BENCH_ITEMS, since a menu row's hitmap id is generated.
crates/app/src/tests/editing.rsmodified+7 -6
@@ -1311,13 +1311,14 @@ fn every_action_is_reachable_without_the_keyboard() {
1311 }1311 }
1312 // The snap's own door was the rail's `⌗` glyph, and the rail is deleted1312 // The snap's own door was the rail's `⌗` glyph, and the rail is deleted
1313 // (DESIGN §5 as amended 2026-09-09, user decision "option C"). Its1313 // (DESIGN §5 as amended 2026-09-09, user decision "option C"). Its
1314- // replacement -- a right-click row on the ruler it snaps against -- is1314+ // replacement landed with the ruler's right-click menu ([`BENCH_ITEMS`]),
1315- // LANE R2's parity work, so the assertion is inverted rather than1315+ // which carries the snap with its state in the label. A menu row wears a
1316- // dropped: it names the owner and fails the moment that door lands, at1316+ // *generated* hitmap id (`menu.{action:?}`, overlays.rs), so the door is
1317- // which point this goes back to `assert!(element("snap"), ...)`.1317+ // asserted on the list the row is built from rather than on a literal id
1318+ // no source file spells any more.
1318 assert!(1319 assert!(
1319- !element("snap"),1320+ BENCH_ITEMS.contains(&ActionId::ToggleSnap),
1320- "LANE R2 landed a snap door -- restore this to assert!(element(\"snap\"))"1321+ "no pointer door for the snap"
1321 );1322 );
1322 // And the card is a door the pointer can open: the panel's own button.1323 // And the card is a door the pointer can open: the panel's own button.
1323 assert!(element("keys"), "no way to open the actions card");1324 assert!(element("keys"), "no way to open the actions card");
crates/app/src/tests/layout.rsmodified+8 -103
@@ -2471,111 +2471,16 @@ fn every_action_has_a_darkroom_widget_home_or_explicit_owner() {
2471 accelerator for cycling that existing selection, not a new door -- legacy had no \2471 accelerator for cycling that existing selection, not a new door -- legacy had no \
2472 toolbar button for it either",2472 toolbar button for it either",
2473 ),2473 ),
2474- // The rail's own eighteen. Deleting the spine (DESIGN §5 as amended2474+ // The rail's own eighteen are gone from this list: the right-click
2475- // 2026-09-09, user decision "option C") took the only pointer door2475+ // parity (DESIGN §5 as amended 2026-09-09, user decision "option C")
2476- // each of these had; LANE R2's right-click parity is what gives them2476+ // gave every one of them a door on the thing it acts on -- the clip
2477- // a new one, on the thing each acts on. The staleness check below2477+ // menu, the ruler's, the lane head's -- and the staleness check below
2478- // deletes the exemption the moment that lands, so this cannot become2478+ // is what deleted their entries as each landed.
2479- // a permanent hole.
2480- (
2481- ActionId::Undo,
2482- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2483- LANE R2 owns the right-click row on the thing each acts on",
2484- ),
2485- (
2486- ActionId::Redo,
2487- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2488- LANE R2 owns the right-click row on the thing each acts on",
2489- ),
2490- (
2491- ActionId::WalkCutPrev,
2492- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2493- LANE R2 owns the right-click row on the thing each acts on",
2494- ),
2495- (
2496- ActionId::WalkCutNext,
2497- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2498- LANE R2 owns the right-click row on the thing each acts on",
2499- ),
2500- (
2501- ActionId::WalkCutNext10,
2502- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2503- LANE R2 owns the right-click row on the thing each acts on",
2504- ),
2505- (
2506- ActionId::WalkCutPrev10,
2507- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2508- LANE R2 owns the right-click row on the thing each acts on",
2509- ),
2510- (
2511- ActionId::TrimIn,
2512- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2513- LANE R2 owns the right-click row on the thing each acts on",
2514- ),
2515- (
2516- ActionId::TrimOut,
2517- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2518- LANE R2 owns the right-click row on the thing each acts on",
2519- ),
2520- (
2521- ActionId::TrimInToPlayhead,
2522- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2523- LANE R2 owns the right-click row on the thing each acts on",
2524- ),
2525- (
2526- ActionId::TrimOutToPlayhead,
2527- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2528- LANE R2 owns the right-click row on the thing each acts on",
2529- ),
2530- (
2531- ActionId::LoopTrim,
2532- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2533- LANE R2 owns the right-click row on the thing each acts on",
2534- ),
2535- (
2536- ActionId::ZoomIn,
2537- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2538- LANE R2 owns the right-click row on the thing each acts on",
2539- ),
2540- (
2541- ActionId::ZoomOut,
2542- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2543- LANE R2 owns the right-click row on the thing each acts on",
2544- ),
2545- (
2546- ActionId::ZoomFit,
2547- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2548- LANE R2 owns the right-click row on the thing each acts on",
2549- ),
2550- (
2551- ActionId::ToggleSnap,
2552- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2553- LANE R2 owns the right-click row on the thing each acts on",
2554- ),
2555- (
2556- ActionId::AddVideoLane,
2557- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2558- LANE R2 owns the right-click row on the thing each acts on",
2559- ),
2560- (
2561- ActionId::AddAudioLane,
2562- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2563- LANE R2 owns the right-click row on the thing each acts on",
2564- ),
2565- (
2566- ActionId::AddSubtitleLane,
2567- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2568- LANE R2 owns the right-click row on the thing each acts on",
2569- ),
2570- (
2571- ActionId::RemoveSubtitleLane,
2572- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \
2573- LANE R2 owns the right-click row on the thing each acts on",
2574- ),
2575 (2479 (
2576 ActionId::Screenshot,2480 ActionId::Screenshot,
2577- "the 56px rail these stood on is deleted (DESIGN §5, 2026-09-09, user \"option C\"); \2481+ "the picture the frame is written from is the *watched* frame and \
2578- LANE R2 owns the right-click row on the thing each acts on",2482+ nothing else is under the pointer to right-click for it: keyboard \
2483+ and the KEYS card, like the selection accelerators above",
2579 ),2484 ),
2580 ];2485 ];
2581 let darkroom = [2486 let darkroom = [