forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/app/src/ui/overlays.rsClear filter

2026-11-10

2026-10-26

💄 UI pass: proxies off by default, picture-only fullscreen, hover submenus, level in the volume sliderAhmet Kaan Gümüş · f178286
💄 UI pass: proxies off by default, picture-only fullscreen, hover submenus, level in the volume slider

- Proxies: "Make them on import" now defaults to off (pref file and fresh
  sessions); the switches say "proxies" so a search finds them.
- Fullscreen: a button at the transport's right end; fullscreen draws only
  the picture and the transport band; Escape leaves it.
- Context menu: Clip label and Fit are hover submenus like Adjust and
  Compound; moving between two ▸ rows switches the open submenu. A
  right-click inside a selection makes the clicked clip the anchor, so
  Equalizer no longer refuses on a linked video half; Alt+4 on a video
  clip opens the EQ on its linked audio.
- Volume: the live output level rides inside the slider's fill instead of
  as separate bars beside it.
- Hover hints: label and key chips share one centre line, even padding;
  undo steps read as verbs ("Undo Enable/disable clip"), clearer wording.
- Resize while playing: the picture restart waits until the size has held
  still for 200 ms instead of reseeking every 8 px.
- Ripple trim of a start edge no longer trips the lane's overlap check.
- Tests: no longer pinned to one ffmpeg's exact bitrates/offsets; the
  .edith probe test writes its own project; overflow fixes in test helpers.

2026-10-23

🚚 edith moves to git.tahinli.comAhmet Kaan Gümüş · b02f499
🚚 edith moves to git.tahinli.com

The working tree as of 2026-10-23, as one commit on top of the last one
here. It carries the work up to that date plus the test-slimming work:
integration tests merged into one binary per crate, nextest config,
doctest = false, debug line tables only, perf tests behind --ignored,
and faster generators, reverse, undo, subtitle-export, hevc, stabilise
and hear tests.

2026-09-09

🎨 style(app): a label names the verb — every action in four wordsAhmet Kaan Gümüş · 488076a
🎨 style(app): a label names the verb — every action in four words

The registry's labels were sentences: parentheses explaining state, colons
listing choices, articles. They truncated in the KEYS list, in every 260px
menu plate and in hover plates. Four words each now, verb first; what a
parenthesis carried is the refusal the oracle and the engine already word.
The menu no longer trims a label at its first parenthesis — there is none.
Merge branch 'worktree-agent-aea4a704971d1657f'Ahmet Kaan Gümüş · 23fb990
Merge branch 'worktree-agent-aea4a704971d1657f'

# Conflicts:
#	DESIGN.md
#	crates/app/src/tests/layout.rs
🐛 fix(app): the menu floor is the picture's painted edge, not the screen regionAhmet Kaan Gümüş · 22a8a53
🐛 fix(app): the menu floor is the picture's painted edge, not the screen region

A letterboxed film leaves black bar at the bottom of the screen region, and
DESIGN §5's 'nothing occludes the picture' has nothing to say about black.
menu_floor now takes the Contain-fitted frame's real bottom edge (gpui's own
get_bounds, off the box the paint already measures) and falls back to the
region's bottom with nothing shown; a plate that still would not fit below
its pointer flips above it, never past that floor. A 3840x1608 film at
2560x1440: floor 1112 -> 1014, and the 15-row clip menu stops scrolling.
✨ feat(app): every spine verb answers a right-click on the thing it acts onAhmet Kaan Gümüş · cb302ca
✨ feat(app): every spine verb answers a right-click on the thing it acts on

The rail is going (option C: nothing on screen), so the verbs it listed need
the door DESIGN §9 names -- the menu of the thing under the cursor. The clip
menu gains the cut machinery (the trim pair, their trim-to-playhead pair and
the loop-trim) on the subject cut a right-click already names; the ruler and
the empty bench open the timeline's own menu (walking the cuts at either
stride, the zoom trio, snap with its state in the row, the undo pair); a lane
head opens the track's (the three adds, and the one remove of its own kind,
never another lane's).

Destructive rows sit under a rule line wherever they are listed, which moved
Delete and Lift to the foot of the clip menu. Every row is still an ActionId
the keyboard reaches, so label and chord keep coming out of the registry, and
`every_verb_the_spine_carried_is_a_right_click_row` fails the moment one of
them loses its pointer door again.

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.

2026-08-21

fix: format Darkroom integrationAhmet Kaan Gümüş · 9a27ee6Browse 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.
✨ feat(timeline): a right-click on empty bench space closes the gapAhmet Kaan Gümüş · 29d8b28
✨ feat(timeline): a right-click on empty bench space closes the gap

Right-clicking a gap on a lane (video, audio, or the head/tail/middle of
one) now opens the same clip-menu surface with a single "Close gap"
item; picking it ripples every clip after the gap left on that lane
only (Premiere-style per-lane scope, repeatable per track), through
Project::cut_regions so it is one undo press like every other ripple.

engine/src/project.rs: Project::gap_at (+ private gap()) finds the
empty stretch under a frame, None for inside-a-clip or the open end of
a lane (nothing there to ripple back)
engine/src/playback.rs: PlaybackSession::gap_at forwards it
app/src/menus.rs: ContextMenu::on (Clip|Gap) replaces the clip-only idx
field so the existing menu, its scrim, and every context_menu = None
clear site cover the gap menu for free
app/src/player/timeline_edit.rs: open_gap_menu + close_gap
app/src/ui/overlays.rs: gap branch of context_card renders "Close gap"
app/src/ui/bench_stance.rs: bed's right-click hit-tests gap_at; a click
that lands on a clip leaves that clip's own menu untouched

2026-08-20

✨ feat(ui): the seams answer a dragging handAhmet Kaan Gümüş · e964420
✨ feat(ui): the seams answer a dragging hand

Wire the darkroom stance root's drag consumers: `#stance-room` in
ui/stance.rs mounted the Dock/Bench divider on_mouse_down but never
on_mouse_move/on_mouse_up, so a hand on the seam set split_drag and
nothing ever read it back -- the whole persisted-split machinery from
the previous pass sat dead behind an unwired listener. Same door the
legacy render.rs tree already opens on its own root, for the same
reason (the pointer outruns the 6px hitbox on the first move).

Also closes the corner-cut named alongside it: below_picture_floor/
menu_floor clamped a right-click menu's floor against the fixed
BENCH_H const, so a hand-widened bench left the floor stale. Both now
take the live Player::split_px(Split::Bench, ...) reading from their
three call sites (library.rs, overlays.rs x2).
🐛 fix(ui): a menu fits the room it is allowedAhmet Kaan Gümüş · 9585160
🐛 fix(ui): a menu fits the room it is allowed

The clamp put the menu's top below the picture, and then the menu walked
straight back up over it: the list was still measured against the whole
window, so anything taller than the space below the frame was re-fitted to
the window's own bottom edge. Measured on a 720-high room, a 396-high menu
floored at 404 came back to 324 and ate the last ten pixels of the picture.

Menus now size their list against the room they are actually allowed to
fill, so a long one scrolls inside its own plate exactly as the keys
overlay does, and the frame stays whole. Two tests hold it: one reproduces
those numbers, one greps for the shape of the mistake so the next floated
surface cannot make it quietly.

This is the fourth surface to land on the picture — after the notice bar,
the export card and the preview badge — which is why the guard is
structural rather than another instance fixed.
💄 style(ui): the menus and the cards join the roomAhmet Kaan Gümüş · d57e5d1
💄 style(ui): the menus and the cards join the room

The colour card and the keymap menu both broke the
rules. They did, and not only those two — the whole card and menu class was
still speaking the old app's language.

The menus had no type at all: raw toolkit text at whatever size it defaults
to, chords in the same face as the verbs. Rows are Archivo now and every
chord is mono, because a chord is something the film answers to. They also
opened wherever the pointer was, which meant over the picture; they clamp
below it now, the way the export plate and the preview already do.

The param cards were legacy sheets: a seventeen-pixel title in a language
whose largest type is thirteen, labels sitting on filled pills, values in
the room's voice rather than the film's, and a filled Reset box beside an
r that already resets. Colour, transform, speed and mix wear the language
now — heads at nine, rows at ten and a half, values in mono, the picked row
marked by a rule rather than a fill, and the resets are ghosts.

Silence, subtitle style and the EQ still carry the old dress; the shared
pieces they need are in place for the pass that follows.
🐛 fix(ui): the seam loses its hue and the chords become reachableAhmet Kaan Gümüş · 9e2bfd6
🐛 fix(ui): the seam loses its hue and the chords become reachable

The verifier drove the room and found three faults. DARK_SEAM carries an
alpha byte, but the stance handed it to rgb(), so every seam between
regions painted pure blue — the first law broken in the first screenshot.
It goes through rgba() now, a sweep found no other constant of that shape
mismatched, and a new test catches the class: the old guard only grepped
colour literals, so a hue arriving through a theme constant sailed past it.

The stance root read keys with no modal guards, so Home seeked the playhead
while the dock's Colour card was open, and Delete and Cut were reachable the
same way. It now asks the same shared predicate the legacy room asks.
Actions whose surfaces the stance does not draw yet are suppressed rather
than left setting invisible state.

gpui clears the shift modifier for every symbol key and hands over the
shifted glyph instead, so Chord.shift and lookup_shifted never had a
production caller and the stride-ten walk could not fire. The dead
machinery is gone; stride ten is its own pair of actions on < and >, and
selection moves to { and } — on shift+[ it had become keyboard-dead, a
regression the legacy room was carrying too.
✨ feat(ui): the darkroom tokens and the cut chords landAhmet Kaan Gümüş · be320c0
✨ feat(ui): the darkroom tokens and the cut chords land

DESIGN.md §12 steps 1 and 3a. theme.rs gains a thirteenth palette family,
Darkroom, plus the fifteen roles the design contract names: the four-level
ink ladder, the dark surface set, the lamp white, the three notice spines
and the safelight pair. The twelve legacy families alias the new roles onto
their nearest existing one so the palette macro still compiles for all of
them.

keymap.rs gains a shift field on Chord and the cut-machinery actions:
, and . walk cuts (shift strides ten), bare [ and ] trim the subject cut,
/ loop-trims. SelectPrev/SelectNext move to shift+[ and shift+] to hand the
bare brackets to trim as DESIGN.md §6 requires; every surface reads those
labels live, so no stale chord text remains. The oracle refuses all five
with "no subject cut" until one exists. Dispatch stays a no-op arm — a
later step wires the behaviour.
🐛 fix(engine): a moved placement clips instead of squeezing the sourceAhmet Kaan Gümüş · ef5832f
🐛 fix(engine): a moved placement clips instead of squeezing the source

transformed_dst_rect used to clamp the moved/scaled dst rect straight onto
the canvas: a negative pos_x/pos_y clamped to 0 and rendered pixel-identical
to the identity, and a positive one shrank the dst rect while the source
crop stayed full-size, so place_transformed squeezed the whole picture into
whatever survived the clamp instead of moving it. Real translation now keeps
the box's own size (aspect stays put) and clips it to the canvas, trimming
the matching fraction off the source rect on the same side -- both axes,
chroma-grid aligned. Marked-pixel tests (not uniform fills, which cannot
tell a squeeze from a shift) cover +/- pos_x, +/- pos_y, fully off-canvas,
and position combined with scale.

Same pass fixes the transform card's ~3-4s settle lag: place_transformed
always paid rotate_i420_90s's full-picture copy even at zero rotation steps
(the common case, since most edits are a move or a scale), unlike the grade
path which never copies the picture. Skipped now when there is nothing to
rotate.

Also gives the clip menu's Transform row a truncating, shrinkable label so
its long text ("Transform — position, scale, rotation, crop") stops running
the shortcut hint off the fixed-width menu -- it now shows ctrl+k like every
other row.

2026-08-19

✨ feat(app): the player goes fullscreen from the toolbar or F11Ahmet Kaan Gümüş · 1ac24b8
✨ feat(app): the player goes fullscreen from the toolbar or F11

gpui Window::toggle_fullscreen wired as ActionId::Fullscreen (View category,
always enabled — window-level, touches no edit list). Player::act grows a
window parameter to reach the API; topbar gets a state-reflecting
Fullscreen / Exit fullscreen button beside Save/Export.

2026-08-15

✨ feat(timeline): a caption is taken off the lane by the same stroke and row a clip isAhmet Kaan Gümüş · 888f39d
✨ feat(timeline): a caption is taken off the lane by the same stroke and row a clip is

A placed caption could only be lifted by a ✕ that vanished on narrow
boxes. Captions are now marked by a click, lifted by x/delete and the
menu, and dragged — parity with every other thing on a lane.

The mark is keyed by a caption's start frame, so a refused drop, a
sorted insert or a removal cannot shift it onto the caption beside it.
With a caption marked the playhead actions stay live while its menu
carries only its own rows: the playhead's clip actions — split, rate,
grade, fit — would read as the caption's.

2026-08-13

🐛 fix(import): Cancel stops the read, not only the landingAhmet Kaan Gümüş · 4d0dd2b
🐛 fix(import): Cancel stops the read, not only the landing

The Cancel beside the import line gave the window back and let the disk
carry on: a cancelled cold 24 GB remux still cost its twenty seconds, and
the notice said so rather than doing anything about it. The flag now
reaches the walk — `demux::with_cancel` installs it as the reading
thread's own, and every Matroska cluster the header index and the subtitle
pass step over checks it and gives up there, with `is_cancelled` telling an
abandoned read from a file that would not open.

Thread-scoped rather than a parameter, deliberately: a read *is* a thread
here (an import worker, an audio feeder, a decode worker), and the walk
that has to stop sits five frames under an `open` with a dozen callers,
none of which have anything to cancel.

An mp4's header stays uncancellable — it is one read inside `mp4::Mp4Reader`
with no flag to poll — so the notice and the button say the read stops
"where the container lets it" instead of promising the disk went quiet.

The feeder's own abandoned opens are NOT wired to this, and the corner-cut
in `spawn_feeder_deferred` says why: three runs of one build over 200 cold
scrub steps measured 14, 101 and 137 live workers, so that number is the
machine's and not the cancel's — and cancelling every step's walk would
stop the sidecar index from ever being written, which is the thing that
makes the second pass over a film fast.
chore: rename ponytail: comment marker to corner-cut:Ahmet Kaan Gümüş · 9ba8e0a
chore: rename ponytail: comment marker to corner-cut:

Marker convention renamed after uninstalling the ponytail plugin;
semantics unchanged (deliberate corner-cut, known ceiling + upgrade path).
Token-only rename, 81 comment lines, no code change.
✨ feat(ui): the palette is picked in the window, not at the buildAhmet Kaan Gümüş · 4ddba0c
✨ feat(ui): the palette is picked in the window, not at the build

The two colour families were a cargo feature (`--features warm`), which
makes the choice one only whoever compiled the binary could make. Both
are now `Palette` values behind one relaxed load: a token is a call
(`BG_PANEL()`) that reads a field off a 'static table, so a swap
repaints the whole window with no restart and no lookup by name.

The door is a list, not a toggle -- Theme sits in the toolbar's View
group beside Snap, and opens the same picker the resolution and the
HDR rendition already use, so a third palette costs one line in
`PaletteId::ALL` and nothing anywhere else. The stroke is ctrl+h, the
row is in the actions card, and the list now answers the keyboard as
well as the pointer: up, down, enter, escape, on every picker in the
editor rather than only this one.

The pick is kept in ~/.config/edith/theme, beside the keybindings and
under the same XDG rule, so it survives a restart; a file that cannot
be written is said out loud. The contrast guards run against every
palette in the table now instead of the one that used to be compiled,
which is what makes a palette added later land gated.

2026-08-12

🐛 fix(ui): a notice reads as a sentence at the 640x360 floorAhmet Kaan Gümüş · dc279aa
🐛 fix(ui): a notice reads as a sentence at the 640x360 floor

The bar is a message beside a hint that keeps its own width, and at the
floor the picture region is narrower than the hint alone: the message
was squeezed to nothing and, with `min_w(0)` under it, wrapped one
character per line -- every failure rendered as a column of letters.
The row wraps now, so the hint drops to its own line, and the message
carries a floor instead of zero: gpui measures a text element's
min-content as the whole unwrapped line, so with no floor at all it
would refuse to shrink and run off the region instead.
✨ feat(ui): two failures in a row are two messages, in orderAhmet Kaan Gümüş · fc6f9b0
✨ feat(ui): two failures in a row are two messages, in order

The notice was a slot, so the second import to fail in the same frame was
the first one's grave: `self.notice = Some(..)` at seventy call sites, each
of them overwriting whatever had not been drawn yet. The user's own case --
two files on argv, both refused for different reasons -- showed exactly one
of them.

It is a queue now. `Player::notify_user` is the one door every message comes
through, so "queued rather than overwritten" is a property of the field
instead of seventy call sites remembering to be polite, and the policy it
enforces lives in `push_notice` where it can be read at once and tested
without a window: a repeat of what is already at the back is dropped (a held
key that refuses would otherwise fill the queue with one sentence), eight is
the ceiling, and the oldest goes first.

The bar says how many are behind it -- a queue nobody is told about is a
queue whose second message reads as the first one failing to go away -- and
any key or a click answers the front one and brings the next up. The tone is
read off the words the message already opens with and drawn as a stripe down
the leading edge: a full red bar at every refusal is an alarm, and most of
these are answers.

Escape is untouched: cancelling an export is hidden while nothing is
exporting, so answering a notice with escape cannot arm a refusal behind it.
✨ feat(ui): the floor, the notices and the silent refusalsAhmet Kaan Gümüş · 2c8e3aa
✨ feat(ui): the floor, the notices and the silent refusals

The transient bars hang off the bottom of the picture instead of taking a row
of the column -- a notice arriving used to push the transport, the toolbar and
the timeline down by its own height, which is every control below it moving
with state.

At 640x360 the timeline takes at most its share of the window and its lanes
scroll inside it, the library tabs wrap rather than hanging off the panel, and
the level's bar stands down while its button and its keys stay.

A class refusal (esc with nothing exporting) is silent; a state refusal speaks.
✨ feat(ui): four regions, one oracle, one token tableAhmet Kaan Gümüş · 2ae5c26
✨ feat(ui): four regions, one oracle, one token table

Library left, picture centre with its own transport strip, inspector right,
timeline full width along the bottom with the edit toolbar directly above it
-- the arrangement Movavi and CapCut share. The settings cards are docked in
the inspector, so adjusting a clip no longer hides the clip.

Every button asks the one availability oracle, and so does act(): with no file
open the toolbar used to be dim and dead to the pointer while the very same
actions still fired from the keyboard. Snap, mute and the volume keys answer
with nothing open, in both doors, and everything else dims with the oracle's
own reason in its tooltip.

Clips are painted by kind (video blue, audio green, still teal, cues purple)
on a near-black ground with one cyan accent, and every stateful button keeps a
rect that does not change with its state.
♻️ refactor(ui): extract the UI out of main.rs into ui/ modulesAhmet Kaan Gümüş · d8bffff
♻️ refactor(ui): extract the UI out of main.rs into ui/ modules

The whole window was one 19,916-line file with one Render impl in it, which
is why every colour sweep so far lost to instance patches: there was no seam
to sweep. One module per region, and one theme module every paint reads a
token from -- no 0x literal survives outside it.