forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/app/src/tests/layout.rsClear filter

2026-09-09

🐛 fix(app): every menu lands inside the window, clear of what it namesAhmet Kaan Gümüş · 9d24ad8
🐛 fix(app): every menu lands inside the window, clear of what it names

The three hanging menus mount on the room root instead of inside
`stance-centre`: their anchors are window coordinates, and the dock --
painted after the centre column -- covered every pixel past the seam,
which is the clip menu whose chords were cut mid-word at x=995.

`menu_at` now clears all four edges by `MENU_EDGE`, and `menu_rows_h`
takes both margins off the room first, so a floored menu never buys that
room back off the picture.

The library menu hangs a row below the pointer rather than on it: opened
at the pointer it covered the very row it was about.

Its rows wear the chord of the verb (`Add at playhead ↵`) or nothing at
all -- the prose glosses were §8's instructional copy in the column §4
reserves for strokes -- and the destructive remove says its consequence
in its own label, since nothing prints beside it now.
Merge branch 'worktree-agent-affb4c7e59794b1eb'Ahmet Kaan Gümüş · 0275004
Merge branch 'worktree-agent-affb4c7e59794b1eb'

# Conflicts:
#	crates/app/src/tests/layout.rs
Merge branch 'worktree-agent-a1abd4be53e43af79'Ahmet Kaan Gümüş · ebd1e18
Merge branch 'worktree-agent-a1abd4be53e43af79'

# Conflicts:
#	crates/app/src/tests/layout.rs
Merge branch 'worktree-agent-a472bf55b507aea31'Ahmet Kaan Gümüş · 8437456
Merge branch 'worktree-agent-a472bf55b507aea31'

# Conflicts:
#	crates/app/src/tests/layout.rs
🐛 fix(app): the time band stays inside its column and stops repeating itselfAhmet Kaan Gümüş · be90d9a
🐛 fix(app): the time band stays inside its column and stops repeating itself

The band overflowed under the dock at 1280x720 -- Export sat at x=1113 where
nothing could see it, a click on blank dock space opened the export card, and
the contact strip measured w=0. The row clips itself now, the strip keeps a
120px floor as the flex_1 that absorbs the slack, and DESIGN §7's ladder sheds
one layer per measured threshold (chords, monitoring cluster, sync/loop, range
marks) above the four things the band is for.

Also: every ghost carries a HIT_MIN door (SetIn was 8px wide), mute wears a
speaker glyph instead of the volume percent the slider already drew, step
back/forward wear the frame-step pair rather than Play's own triangle, and the
cut readout counts from the playhead -- it read "cut -/-" with two clips on the
bench right after a split.
🐛 fix(app): the bench ruler's right edge is a band, not soupAhmet Kaan Gümüş · 18ad682
🐛 fix(app): the bench ruler's right edge is a band, not soup

The `all` control drew straight over the `00:20` tick label and a press on
it selected everything AND scrubbed the playhead under it. The ruler now
keeps a reserved band for the control at its right edge -- no tick label may
enter it, no press inside it seeks -- the mirror of the left plate's rule.

The plate itself is gone at rest: the hero timecode leads the time band
(DESIGN §4) and the ledger carries position (§5), so a third resting copy was
just crowding. It comes back only while a scrub drag is live, which is the
state change a plate is for, and the ticks have its width back otherwise.
🎨 style(app): the spine's pairs fit its rail, the keys plate says one nounAhmet Kaan Gümüş · 60a04f2
🎨 style(app): the spine's pairs fit its rail, the keys plate says one noun

The paired glyphs (`‹10 10›`, `+V +A`, `+S −S`, ±1 trim) laid out at
negative x against the 56px rail -- `‹10` was cut at the window's own
left edge (hitmap x=-5 w=31). Subtraction, not a wider spine: a paired
half draws one step down the §3 scale (13px) with 1px sides, the row gap
is 3px, and the narrowest rect now starts at x=3.

The keys plate said `ALL COMMANDS · HOLD ? · RELEASE TO CLOSE` while
sitting latched open after a click on the spine `?` -- instructional
copy (§8) that was also a lie. Heading is the noun `KEYS`, the way out
is an `esc` chord on its right, and the plate's inset moved onto the
scrim so its bottom border ends inside the window. The spine `?` wears
its own chord like every other ghost (§4).
💄 style(app): a source row is its name first — the verbs shrink to ghostsAhmet Kaan Gümüş · 34299ab
💄 style(app): a source row is its name first — the verbs shrink to ghosts

At DOCK_W 280 the name was the only flexible child among six and measured 0px: the library read `● V1 A1 · 2 uses Preview Add ↵ ○` with no filename. The name now keeps 60% of the row, usage joins the codec/length line under it, and Preview/Add/proxy are glyph+chord ghosts (~66px together) at the right edge. The instructional footer `drag · ↵ add · double-click plays` goes (DESIGN §8), the Audio tab's empty state is the noun `none` instead of the claim `No sound` over a source whose A1 is on the bench, and the dock's focus/selection rings are transparent-at-rest borders so a ring stops shoving every row 1px sideways.
🎨 style(app): the seam is aimed at with the hand, not the eyeAhmet Kaan Gümüş · cebb935
🎨 style(app): the seam is aimed at with the hand, not the eye

A 6 px hit strip asks for precision a hand does not have: a press one row
inside the bench focused the bench instead of grabbing the seam, which is
how a shipped resize reads as "panes should be enlargable and shrinkable".
The divider keeps its 6 px of layout and its 1 px hairline; the press and
the resize cursor move to a GRAB_W (12 px) band mounted absolutely over it,
so the reach doubles and nothing moves by a pixel at rest.
🐛 fix(app): the lane bed clips its clips at the pinned headsAhmet Kaan Gümüş · 2bf7f4a
🐛 fix(app): the lane bed clips its clips at the pinned heads

DESIGN §7 has the lanes scrolling *behind* the pinned ruler and track
heads, but the bed carried no clip mask: a clip starting left of the
view sits at a negative `left`, and gpui painted it -- and its hitbox --
straight over the 72 px head column, so V1/A1 and their verbs vanished
under the first take as soon as the bench was wheeled past frame 0.

`overflow_hidden()` on the bed cuts painting and hit-testing at the same
edges (gpui intersects every hitbox with its content mask), so the
visible half of a half-scrolled clip still drags and trims while the
hidden half answers nothing. Menus, drag previews and tooltips render at
the window root, not inside the bed, so none of them are cut. The ruler
already clamps its ticks and playhead to its own box and sits right of
the head column, so it needed nothing.
Merge branch 'worktree-agent-a3c7e2b85886de2fb'Ahmet Kaan Gümüş · 9c4d7ce
Merge branch 'worktree-agent-a3c7e2b85886de2fb'

# Conflicts:
#	crates/app/src/tests/layout.rs
Merge branch 'worktree-agent-af983b2d7101b2441'Ahmet Kaan Gümüş · 701700f
Merge branch 'worktree-agent-af983b2d7101b2441'

# Conflicts:
#	crates/app/src/tests/layout.rs
💄 style(app): the seam is a ghost until a hand finds it, and a double press puts it backAhmet Kaan Gümüş · 373d93f
💄 style(app): the seam is a ghost until a hand finds it, and a double press puts it back

The two draggable seams were inked at rest -- a 6 px band of divider colour
down the room, and a full-strip accent under the pointer. Now nothing at
rest, one hairline of dim ink on hover, the same line one step brighter
while it is held, and a double press forgets the dragged size so the
window's own share answers again.
🐛 fix(app): the bench answers a wheel notch anywhere over itAhmet Kaan Gümüş · 6ca4906
🐛 fix(app): the bench answers a wheel notch anywhere over it

The wheel only moved the view when the pointer sat on a track: the only
listeners were one per lane bed and one on the ruler strip, so the head
column, the gaps between rows, the strip left of the ruler and the space
below the last track all swallowed the notch. The row's listener moves up
to the whole row and `bench-content` answers everything else, with the
row still stopping so no strip answers one notch twice. Mapping unchanged
(ctrl zooms about the pointer, bare scrolls the view along).
🐛 fix(app): a file dropped on the library panel imports — the room hears the drop, not the centreAhmet Kaan Gümüş · 9bb9951
🐛 fix(app): a file dropped on the library panel imports — the room hears the drop, not the centre

The external-file drop handler (gpui `ExternalPaths`, Wayland
`text/uri-list`) sat on `stance-centre`, the flex column between the spine
and the dock. The dock — the Sources/library panel — is that column's
sibling, so its hitbox was never under any drop listener and a file dragged
onto the library landed on nothing at all.

Moved to the room root (`stance-room`), the one surface under every region:
a drop anywhere in the darkroom now goes through `Player::import`, the same
door the Import action, argv and Paste path use. The dock and the centre
each lift to the raised fill while a file is over them — the same affordance
every other drop target in the room answers a drag with, no plate, no copy.

2026-08-27

🔥 remove(app): floating notice plate — the ledger strip is the one notice channelAhmet Kaan Gümüş · dee569d
🔥 remove(app): floating notice plate — the ledger strip is the one notice channel

The plate doubled what the ledger's last-action line already says (user
2026-08-27). Gone with it: its severity/offset helpers, the keystroke and
click dismiss paths, and its two layout guards; the picture-occlusion guard
now pins the ledger as the sole channel. A refusal or failure keeps its
tone in the strip (notice_tone tints the last-action line for error and
warning; routine messages stay quiet).
🎨 style(app): subtitle track rows read as the header's subsetAhmet Kaan Gümüş · ab70ac1
🎨 style(app): subtitle track rows read as the header's subset

Fold chevron at INK1 (it inherited the panel's dim ink and vanished),
track rows stepped in 30px under the header and a type size below it --
subset smaller and indented, superset carries the weight.
🐛 fix(app): Text tab answers the dock filter; guards pin the new menu and escape rulesAhmet Kaan Gümüş · 75f3f17
🐛 fix(app): Text tab answers the dock filter; guards pin the new menu and escape rules

The filter box sat visible over a tab that ignored it -- a dead control.
Subtitle rows now match on track label or file name, groups leaving with
their last row. The two source-scan guards are updated to pin what shipped:
the library menu anchors at the pointer and never routes through
menu_floor's picture clamp, and the modal guard's escape branch goes
through Player::escape_closes_overlay (scan window widened past the
branch's commentary).
🎨 redesign(app): subtitles live in the Text tab, not a stray dock sectionAhmet Kaan Gümüş · 7089dc7
🎨 redesign(app): subtitles live in the Text tab, not a stray dock section

Moves the subtitle palette out of its unconditional spot under the
source list and into the library's Text tab, styled like the other
media rows (round dot, same ink/type scale, same hover fill and
selection ring) instead of its own visual dialect. Text.holds() now
answers the same extension-only question Media/Audio's own arms do
instead of a hardcoded false, and the empty state is one word.
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diffAhmet Kaan Gümüş · 9ac15de
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diff

No behavior change -- just rustfmt normalizing line wraps the prior
commit left ragged.
🐛 fix(app): notice plate off the transport row, keys overlay by the spineAhmet Kaan Gümüş · a1f9f08
🐛 fix(app): notice plate off the transport row, keys overlay by the spine

Notice plate: anchor a fixed LEDGER_H+6 above the ledger, right-aligned
(was floating notice_bottom_offset(bench_h) up beside the time band's
transport row for a tall bench; now clear via the same left/right split
that already keeps the bench's V1/A1 lane chips separate, DESIGN §11.6).

Keys overlay (`?`): sized against the live bench_h the caller already
measures, not the fixed BENCH_H default, and anchored bottom-left flush
against the spine (the `?` control's own side) instead of m_auto-centred.
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforcedAhmet Kaan Gümüş · 067620b
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforced

Empty states to single nouns, filter placeholder to one word, the
"pick a verb above" plate removed; report strings keep state, lose
instruction clauses. 250 app tests green, zero warnings.

2026-08-26

🔥 remove(ui): the legacy tree — darkroom is the only roomAhmet Kaan Gümüş · 5dcc6c2
🔥 remove(ui): the legacy tree — darkroom is the only room

Delete the whole legacy UI (timeline.rs, toolbar.rs, inspector.rs, legacy
render body, OLD_GUI gate — the env read is gone, not a switch) and every
helper only it reached: ~6,900 LOC out. Darkroom stance is the only room.

Real gaps the removal flushed out, fixed here:
- typed bitrate in the export card was completely dead — NumberEdit
  digits/backspace/enter/esc now wired in param_card_key
- ActionId::CancelExport was a no-op while the progress card promised the
  chord — now calls cancel_export (ctrl+esc, oracle-enabled during export)
- actions card had no pointer entry — "?" ghost is clickable, scrim
  click closes, inner list swallows
- snap toggle got a button beside zoom-fit in the VIEW group

Dead-by-construction machinery deleted with its tests: key rebinding
(rebinding/rebind_action/capture never set live), keys_search (no search
box exists), cancels_export/format_key/next_audio_kbps, 17 layout.rs
consts/fns, and the rest of the 32 no-—tests dead-code warnings; both
`cargo build -p edith` and `--tests` are warning-free, 245 tests green.
🐛 fix(ui): mouse_down keeps the selection set so a member drag moves the whole set; click collapsesAhmet Kaan Gümüş · 7b56f0a
🐛 fix(ui): mouse_down keeps the selection set so a member drag moves the whole set; click collapses

pick() no longer collapses a multi-pick to set_one on a plain mouse_down
when the pressed clip is already selected, since the set-drag begins on
that same press. Collapsing to the one pressed clip now happens on the
matching plain on_click (gpui drops the pending click once a real drag
starts, so this never fires mid-drag) in both bench_stance.rs and the
legacy timeline.rs clip/caption boxes.
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanelsAhmet Kaan Gümüş · e404617
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanels

The ring built in 75ea728 was unreachable: nothing ever called
window.focus on focus_dock/focus_bench/focus_inspector, so the surface
on_key_down handlers (which do move focus correctly) never fired. Adds
ActionId::FocusPanels bound to F6 (bare Tab stays Select at the root,
unstolen), dispatched in Player::act via window.focus(&self.focus_dock)
to enter the ring at its first stop. Escape inside the ring now hands
focus back to the root (ui::stance::is_focus_exit_key, mirroring
is_focus_cycle_key) instead of bubbling unanswered.
✨ feat(app): persist all five panel seam sizes, not just dock/benchAhmet Kaan Gümüş · d35aa29
✨ feat(app): persist all five panel seam sizes, not just dock/bench

Split::PERSISTED now covers library/inspector/timeline alongside
dock/bench, and split_drag_owes_save follows the same list so every
seam's release actually reaches the config file. load_stance_splits
now takes the opening window's size and clamps each loaded seam to
its own bound (SIDE_MAX_FRAC, TIMELINE_MAX_SHARE, BENCH_MIN_H) so a
file written at one window size can't hand another an illegal layout.

2026-08-21

merge oldui-dissolveAhmet Kaan Gümüş · 488d138Browse files
fix: format Darkroom integrationAhmet Kaan Gümüş · 9a27ee6Browse files
merge oldui-homesAhmet Kaan Gümüş · ce03245Browse files
merge oldui-glyphsAhmet Kaan Gümüş · 30984faBrowse files
merge oldui-laneverbsAhmet Kaan Gümüş · a0d9dacBrowse files
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geographyAhmet Kaan Gümüş · 3e04aeb
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geography

Baseline of the Darkroom parity work before the old-UI removal lanes branch.
fix(ui): wrap notice plate textAhmet Kaan Gümüş · df08a91Browse files
✨ feat(ui): the last chord-only controls grow a faceAhmet Kaan Gümüş · 53a56dc
✨ feat(ui): the last chord-only controls grow a face

Fit joins its siblings as a verb row in the dock's clip tab, and Redo takes
its place beside Undo on the spine — it had a button in the old room and none
in this one.

The guard is the point: every chord-bound action must now own a visible
affordance in the darkroom or be named in the chord-only list, so the next
one cannot go missing quietly.
✨ feat(ui): fit and redo find their own buttonsAhmet Kaan Gümüş · 7b04d88
✨ feat(ui): fit and redo find their own buttons

Fit had a chord and a spot buried in the clip's right-click menu but no
direct button in the darkroom dock; Redo had a legacy toolbar button
Undo's darkroom glyph never grew a twin for. Both now sit beside their
siblings (Fit in the dock's clip verbs, Redo paired with Undo in the
spine), chord still visible on each.

Re-audited the settings page landed since the original parity scout ran:
the four project pickers, subtitle style and both proxy toggles are
confirmed already mouse-reachable there.

Adds a source-scan regression guard: every chord-bound ActionId must show
up in the darkroom tree's text or be named as an accepted chord-only
stroke, so this "keyboard-only option" class gets caught before it ships
again instead of being found by hand a fifth time.
feat(ui): the settings page shows the HDR reference the file declaredAhmet Kaan Gümüş · e88fbc8
feat(ui): the settings page shows the HDR reference the file declared

Surfaces the MaxCLL/MaxFALL and mastering-display peak the demuxers already
parse into ContentLight but nothing in the UI ever read (grep across
crates/app/src returned zero hits outside tests). Two new read-only rows
sit beside the existing HDR tonemap picker in the settings page's PROJECT
section -- "HDR reference" (mastering peak) and "Content light" (CLL/FALL) --
using the page's own row_static idiom (no cursor/hover/click) since nothing
in engine::project::Project has a field to persist an override into.

PlaybackSession gains a content_light() accessor, populated at every open
site (fresh open, saved-project reopen) by a second header-only Demuxer::open
for the light level, matching the same double-open-for-a-header trade this
file already accepts for audio probes.