forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/app/src/player/view.rsClear filter

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

🐛 fix(app): a notice reports state in capitals — the guard reads the call siteAhmet Kaan Gümüş · b8a94e6
🐛 fix(app): a notice reports state in capitals — the guard reads the call site

`x` with nothing marked put "Delete — click a clip first" on the ledger: prose
the room is forbidden (DESIGN §8), and instructional at that. The guard that
was meant to catch it scanned only literals whose first word was already in
capitals, so a refusal whose head is the *verb's label* — every refusal the
oracle words — walked past it, along with the eleven card/view notices that
open in lower case.

The scan now finds its subjects by call site (`notify_user`, `push_notice`,
`Enable::No`, `Enable::Hidden`), reads their arguments to the matching paren
and refuses an imperative tell at any length, not only past eight words. The
dispatch shouts the label so a composed refusal opens the way every other
message does: DELETE — nothing selected.
🎨 style(app): the ledger reports state, and never cuts a word to do itAhmet Kaan Gümüş · 9e93f65
🎨 style(app): the ledger reports state, and never cuts a word to do it

Notices lose their instructional tails (DESIGN §8): a remedy is a verb and
its chord (`V2 ADDED · undo z`), never a sentence. The strip ellipsises at
its end and elides a long name through its middle first, so the state word
at the front is never what a narrow window drops.

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.

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.
🐛 fix(timeline): the wheel runs the film forward, not backAhmet Kaan Gümüş · 83b80db
🐛 fix(timeline): the wheel runs the film forward, not back

Wheel up scrolled back toward the head, on the reasoning that a page's wheel
up goes toward its top. A timeline is not a page — the wheel pushes the film
past the playhead, so up is later.

2026-08-15

🐛 fix(timeline): the strips are their own mouse regions, and a jump is a proportionAhmet Kaan Gümüş · 640189f
🐛 fix(timeline): the strips are their own mouse regions, and a jump is a proportion

The lane stack's strip lay over the beds as painted pixels and as
nothing else: a press fell through to the clip beneath it -- selected
it, started its drag, opened its menu -- and a notch over it scrolled
the stack twice, once by the strip's own handler and once by the
column's native scroll behind it. The strip now occludes: gpui's hit
test stops at it, so nothing under it hears a button or a wheel, and
the wheel it answers with is the column's own unit (pixel_delta, a
line a notch) so a notch there moves the stack exactly as far as a
notch over the names does. An occluder is also deaf itself to the root
that follows every drag, so the thumb's two listeners ride on the strip
exactly as drag_scrim's do -- a vertical thumb drag never leaves the
strip's own 14 px, and a drag that does is picked up by the root's
copies without a seam. The time axis's strip takes the press and the
wheel for the same reason: its row sits over nothing today, but a
gesture it drew was not its to share.

The time axis's click-beside-the-thumb jump was worked out in pixels at
the view's own pps, which lands at span-over-duration of the target --
the first drag sample, read through the track's proportion like every
other, then snapped the view to where the hand had not put it. The jump
now goes through that same proportion, so the thumb centres on the
press, at its own width and at its floor width alike, and the drag that
carries on from the press lands exactly where the jump left the view.
✨ feat(timeline): the scrollbar is only there while there is somewhere to goAhmet Kaan Gümüş · dd77ab0
✨ feat(timeline): the scrollbar is only there while there is somewhere to go

Zoomed out to the whole timeline the horizontal strip was furniture for
a view that cannot move: a dim full-width thumb under the lanes, holding
its row whether anyone could use it or not. The strip now vanishes at
the fit -- and its row goes with it, out of every budget at once. The
budget grew a door: timeline_fixed_h(scroll) answers the region
(timeline_h), the fold the lanes are laid out against and the seam's
drag floor together, so the three cannot disagree about whether the
strip is there, and the lanes keep exactly the room they had at either
side of the zoom that crosses the line. The share stays sized for the
taller, strip-bearing floor -- the one the clamp would otherwise
overrule at the 640x360 floor.

The lane stack gets its own bar too, over the beds' right edge -- over
and not beside, because a gutter would take its width off the bed and
the ruler above would stop pointing at the moment the lanes are drawn
at. The thumb is the visible share of the rows, read straight off the
column's own scroll handle -- box, fold and how far down it has been
taken are all the handle's to know, so nothing about the stack is a
second truth -- and a drag is followed on the root like every gesture
that outlives its strip. Names and beds are one column, so they move
together; the wheel over the strip scrolls the stack a notch's share of
what it is showing, and with the whole stack on screen there is no
strip at all.
✨ feat(timeline): a scrollbar under the lanesAhmet Kaan Gümüş · c707e9d
✨ feat(timeline): a scrollbar under the lanes

The time axis was the one dimension the panel scrolled with no bar to
scroll it by -- only the wheel and the keys reached it. A strip under
the lanes now carries a thumb that is the visible share of the drawn
duration at its own place on the track: read off the very Scale every
box is drawn through, so a wheel notch, a zoom about the pointer and
the follow of the playhead all move it, because they all move the one
state.

Drag the thumb and the view follows live (the pointer leaves the 6 px
strip at once, so the gesture is followed on the root like a scrub);
press beside it and the view jumps to the press and carries on from
there; the wheel still works over it. The strip is its own mouse
region -- a press there never reaches a lane -- and with nothing to
scroll the thumb fills the track and dims.
✨ feat(timeline): captions keep their own clock through a re-rateAhmet Kaan Gümüş · f8f5c46
✨ feat(timeline): captions keep their own clock through a re-rate

A placement's cues crossed the timeline one window-microsecond to one
timeline-microsecond, which is only the truth at unity: a group's
re-rate compresses the frames and leaves the window alone, so the plate
and the lane export drew the words falling behind their box, cue by
cue, and the tail past the end. The map now goes by the placement's own
proportion -- at unity every cue lands exactly where it always did, to
the microsecond, and at 2x the words cross in half the time.

A caption's box wears the rate its window plays at, derived off the
placement itself (so the badge survives the group coming apart), gated
past placement rounding; and the grade and the fit resolve a caption in
hand to the picture it was pinned to, saying so out loud when there is
none -- the speed, silence and equalizer cards' own rule.
✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+aAhmet Kaan Gümüş · 66d5395
✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+a

The app half of manual clip grouping: the timeline's selection becomes
a list of picks (Selection, click order kept, anchor = last), ctrl+click
toggles a pick on every clip box, caption box and edge strip, and a
right-click on a picked placement keeps the selection so the menu's
Group row acts on all of it — one pick keeps the span-partner flow.

SelectAll takes ctrl+a (every clip and caption, one selection) and
RemoveAudioLane moves to ctrl+q beside its own letter. The oracle
unhides Group and Detach over captions, words the one-clip-per-lane
refusal, and the caption menu grows the group rows. marked() lights
every pick and its link-mates — captions included — captions wear the
grouped border, trims preview each member by the drag's delta clamped
to its own room, deletes route a grouped caption through the group
door, and a drag's snap excludes the group it carries. The save-format
tests and every affected app suite updated with the new shapes.

2026-08-13

🔧 chore(app): the window's doing moves out from under its beingAhmet Kaan Gümüş · 47b29ea
🔧 chore(app): the window's doing moves out from under its being

`impl Player` was 4,330 lines of it -- the pump, the dispatch, the
selection, every card, the whole timeline edit, the library door and the
export -- in one block under the struct it acts on. Each of those is a
kind of doing, so each is a module: `player/{transport,actions,view,
cards,timeline_edit,library,export}.rs`, seven detached `impl Player`
blocks beside the state rather than inside it.

`struct Player` and `impl Render for Player` stay in `main.rs`, which is
what keeps this invisible: the state and the paint are still one file,
and nothing that reads them had to move or be renamed.

Pure motion: 164 methods, each exactly once, every line the line it was,
with pub(crate) added because a module boundary now stands between them
and their callers. Player::enable still delegates to the one oracle.