forge
Explore
Log in

Don't you dare go Hollow

Commits

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

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-16

✨ feat(audio): the look panel picks the strand colour and reads a typed oneAhmet Kaan Gümüş · 880e8a0
✨ feat(audio): the look panel picks the strand colour and reads a typed one

The CLIP tab's look section gains a Colour | Strand target over the disk
(Strand only once the waveform has two or more strands) and a field that
shows and takes the colour as #RRGGBB or rgb()/rgba(); an unreadable string
is refused in words and changes nothing. The wheel acts on the picked slot.

Every sample after the press is a live write, so one drag is one undo step
rather than sixty. And every click door that writes the project arms
autosave -- the look family, the settings rows, the library's source
removal -- which none of them did: a colour picked and then closed was lost
with no prompt, and the ledger never said "unsaved".

2026-09-09

2026-08-27

🎨 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.
✨ 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

✨ feat(ui): type-in for the transition duration row (DEBT #111)Ahmet Kaan Gümüş · 1110ca4
✨ feat(ui): type-in for the transition duration row (DEBT #111)

Generalizes export_ui.rs's NumberEdit into ui/widgets.rs with a caller-owned
range/digit-cap/unit instead of the hardcoded Mbps constants, adds a
commit_clamped() alongside the existing refuse-on-commit commit() for rows
whose stepper already clamps silently, and wires it into the Clip tab's
transition duration row (click to open, digits/backspace/enter/esc through
Player::param_card_key, commit through the same set_transition_frames the
± steppers now share).
🔥 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): guard focus ring to darkroom + ctrl-click uses press modifiersAhmet Kaan Gümüş · 6da98cd
🐛 fix(ui): guard focus ring to darkroom + ctrl-click uses press modifiers

FocusPanels (F6) called window.focus on the ring's handles even under
OLD_GUI=1, where the legacy tree never mounts them -- an unmounted focus
target kills all key dispatch until a mouse click. focus_surface now
no-ops when !self.darkroom, the single door every route goes through.

ClickEvent::modifiers() answers the mouse-up modifiers, so releasing
ctrl before the button undid a ctrl-held toggle decided on mouse-down
(clip_box/sub_box in bench_stance.rs, timeline.rs's two clip boxes).
Added widgets::press_modifiers, reading ClickEvent::Mouse's down event
instead, at all four sites.

Also: dock_stance.rs's doc comments were swapped between transition_row
and clip_tab -- moved each back to its own fn; the transition steppers'
hitmap labels were the raw element id instead of a phrase, given
"Shorten transition"/"Lengthen transition"; and view.rs's stale comment
referencing the old window.focus(&self.focus_dock) call updated to
name focus_surface.

2026-08-21

fix: format Darkroom integrationAhmet Kaan Gümüş · 9a27ee6Browse files

2026-08-20

🐛 fix(ui): a card's own ? tooltip stops hiding from its own cardAhmet Kaan Gümüş · d4c877b
🐛 fix(ui): a card's own ? tooltip stops hiding from its own card

Tip::render suppressed every tooltip while OVERLAID was set, but a card
being open is exactly what sets OVERLAID -- so the card-head `?` glyph
that carries the how-to text moved off the card body could never paint
while its own card was on screen. Add OverlayTip, exempt from OVERLAID,
for tips anchored on the overlay itself; dark_card_head's help now uses
it. Underlying-UI tips are untouched and still stand aside for a modal.
🐛 fix(ui): the darkroom stops promising what it cannot doAhmet Kaan Gümüş · 4137821
🐛 fix(ui): the darkroom stops promising what it cannot do

A verifier drove every control and found three dead ones sharing a cause:
the render entry returns early for the darkroom, so everything mounted
below that line — the enter key, the escape that closes a preview, the
menus — belonged to the old room alone. The stance grew the branches it was
missing and mounts the cards it was missing. Enter adds a source at the
playhead now. Right-clicking a source dot used to set a menu the room never
drew, and since a set menu counts as an overlay, the room went modal with
nothing on screen and swallowed every key but escape; the menu paints, and
a test now asserts no such state can go modal without showing something.

The export card and the preview badge were still the old app's sheets over
the picture — the residue. Export is a plate
over the bench with one bordered chip, and it still exports. The preview
says its piece beside the frame instead of on it.

The hero timecode and the ledger disagreed by four seconds because the band
asked the active session, which is the preview's clock while a preview is
up. Both read the one position the room already computes.
✨ feat(ui): the room becomes the one in the mockAhmet Kaan Gümüş · 622904e
✨ feat(ui): the room becomes the one in the mock

Beside the mock, the shipped room was nowhere near it. The dock was the legacy library verbatim — pill tabs, a
Media/Audio/Text row, a filled Import button, an amber accent no chrome may
carry, and a source name clipped and dimmed past reading. It is now the
dock the mock draws: a count line, a chrome-less filter, ghost sort chips,
two-line rows whose names are mono and legible and ellipsize at the end,
an import section, and the hint that names the four gestures.

The spine groups its commands under heads and stacks each glyph over its
chord. The time band leads with the timecode, carries the transport as
ghosts, reads the cut out loud, and ends in the room's one bordered chip —
which now actually exports: the stance had been suppressing the action and
never mounted the card, so the control was wired to nothing. The bench
grows real thumbnails and waveforms in the source's ink, with the name
plate inside the clip where the mock puts it.

The fonts the language always named are bundled at last: Archivo and Spline
Sans Mono, cut to static weights because this text backend cannot read a
variable axis and would have drawn every weight the same. The darkroom is
the room you get now; OLD_GUI=1 opens the old one.

2026-08-19

✨ feat(app): the timeline draws the dissolve join as an X, ctrl+x binds itAhmet Kaan Gümüş · 270631a
✨ feat(app): the timeline draws the dissolve join as an X, ctrl+x binds it

The keymap's own rebind test claims ctrl+d as a free chord to demo with,
so Dissolve takes ctrl+x instead -- the shape its glyph (widgets.rs,
dissolve_glyph) draws at the join. Wired into the clip context menu
(menus.rs MENU_ITEMS) and the timeline (ui/timeline.rs): an X over the
last transition_out frames of a clip whenever its neighbour still abuts it.
draw fades and their drag handles on the timelineAhmet Kaan Gümüş · 8cb7334
draw fades and their drag handles on the timeline

Translucent wedge overlay per clip end (fade_wedge, widgets.rs,
canvas+PathBuilder idiom) and a small top-corner hit zone beside each
trim strip (FADE_HANDLE_W/H) that drives start_fade_drag/fade_drag_to/
commit_fade. Pixel-delta-to-frames goes through the pure
fade_delta_frames helper in timeline_math.rs.

2026-08-13

✨ 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

🎨 feat(ui): a second palette, named button groups, and one live accentAhmet Kaan Gümüş · 5a36eae
🎨 feat(ui): a second palette, named button groups, and one live accent

Three of the redesign's other answers, kept where they were better than what
this branch had.

The palette is two tables now, `cool` (default) and `warm`, in one file with
one role name list between them: `--features warm` swaps the family and no
call site knows it happened, and a role missing from either is a compile
error rather than a region that quietly kept the old colour. It is a compile
switch because every token is a `const` and a runtime palette is a lookup at
every paint -- the ceiling and the way past it are written where the tables
are. The warm family is held to the same measured floors as the cool one,
and that caught something on the way in: its picked-row surface put the
secondary ink at 4.09:1 where WCAG 1.4.3 wants 4.5, so the surface is darker
here than in the branch it came from.

The toolbar's buttons are three named groups -- Edit, Track, View -- because
a row of twelve unlabelled boxes is a row nobody reads twice, and three
labels are three things to skip.

Import is filled with the accent while the library is empty, which is the
one moment it is genuinely the primary action; Export, which wears the
accent the rest of the time, is dimmed until there is something to export.
So there is still exactly one live accent in the window -- which is the rule
that made Export the accented button in the first place -- and it is on the
thing the user has to press next. An accented button also keeps its accent
under the pointer now: hovering it to the chrome's grey read as the primary
action switching itself off.

And a glyph sits in a box of its own width rather than the width it happens
to draw: the pause bars are 12 px and the play triangle 11, so pressing Play
slid every button in the row one pixel to the left.
✨ feat(ui): library tabs, accent primary action, redesign guardsAhmet Kaan Gümüş · 2171351
✨ feat(ui): library tabs, accent primary action, redesign guards

Media/Audio/Text tabs over the media pool (the giants' split), the Export
button as the one accented control in the window, and three guards: no colour
outside the theme, no settings card drawn from the root, and a reserved rect
for every button whose label changes with its state.
✨ 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.