Commits
2026-11-06
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-30
fix(player): the three doors the action table armed on their behalfAhmet Kaan Gümüş · 7285b61
fix(player): the three doors the action table armed on their behalf A verifier pass found the class not disposed at three sites my earlier commits left standing, and it was right. `Player::act` pre-arms `mark_dirty` from a `matches!` list BEFORE it dispatches, and `ActionId::Crossfade` and `ActionId::Dissolve` were on it -- so the arm had already fired before `crossfade_selected` / `dissolve_selected` ran, and those two called `set_transition_out` / `crossfade` directly with no arm and no gate of their own. Pressing the dissolve chord on the last video clip lit `unsaved`, wrote the sidecar and raised the close prompt while the engine refused with "NOTHING TO DISSOLVE -- no neighbour end to end" and the bytes did not move: the same defect, on the sibling door. `act_lane` had the same shape for `remove_lane`, which refuses a track still holding clips and the last of its kind. Exactly those three sites, nothing else in the list: - `crossfade_selected` and `dissolve_selected` arm on the write that took and on the join's own edges, the same gate `set_transition_frames` already rides (both engine doors answer "the clips are adjacent", snapshot and clamp included). `Crossfade` and `Dissolve` come off the list. The dissolve also gains the arm it never had: the clip-menu row (`ui::bench_stance.rs:577`) reaches `dissolve_selected` directly and was armed by nothing at all, so the key path was armed twice and the menu path not once. - `remove_lane` arms inside its own `Some(Ok(()))`, and `act_lane`'s pre-arm is gone, so the key and the header button share the one armed door instead of two arms for one step. On the verifier's risk that all three app witnesses are `fn_body` text assertions, which a mutation moving the arm elsewhere would pass: the premise those assertions rest on is now a runnable behavioural test rather than a prose claim. `project::tests::a_transition_door_says_yes_to_a_write_that_moved_nothing` drives `set_transition_out` and `crossfade`, shows both answer `true` and each spend an undo step for a write that moved nothing, shows the edges that did not move, and shows a refusal still answering `false`. The front-end has no window harness to drive, so the engine is where this can be pinned by running it. Witness: `the_action_table_arms_nothing_a_door_answers_for_itself` in the family's `fn_body` shape, with all five of its assertions proven to bite separately -- crossfade arm, dissolve arm, the two list entries, the `remove_lane` arm, and `act_lane`'s absent arm. Red panic lines and the restored-file sha256s (timeline_edit.rs 9128a0fa, actions.rs ca9debbc, library.rs 61b2f579) are in the lane report.
fix(player): a transition step or retyped number arms only what movedAhmet Kaan Gümüş · 7752ec5
fix(player): a transition step or retyped number arms only what moved Found by the class sweep of "dirty armed ahead of the mutation door, or while dropping the door's answer", alongside the two mix/EQ doors this wave fixed. `Player::set_transition_frames` armed on the raw bool from `set_transition_out` and `crossfade`, and both of those answer true for any two adjacent clips: they snapshot, they clamp, and a `frames` already in force is written over the value the join already carried and still reported as a write. So a `+` step once the dissolve is at the cap, or the same number retyped into the duration field, lit `unsaved`, wrote a sidecar and raised the close prompt over an unchanged timeline. The arm now rides a before/after read of the join's own edges, the comparison `move_sub` and `commit_fade` already make. The new `transition_edges` helper reads BOTH sides of the join, because a crossfade writes the anchor's `fade_out` and its neighbour's `fade_in`: a comparison of the anchor alone would miss a crossfade whose neighbour-side edge is the one that did not move. Both the stepper and the typed field keep landing the number the same way -- only the arm moved. Witness: `a_transition_step_or_a_retyped_number_arms_only_what_moved`, in the same `fn_body` shape as the family, asserting the arm is after the comparison and absent before it, and that the helper still reads both edges. Shown RED against the pre-fix source.
2026-09-24
🐛 fix(autosave): every edit door arms the flag only when it wroteAhmet Kaan Gümüş · f7e750c
🐛 fix(autosave): every edit door arms the flag only when it wrote
Eight doors armed `mark_dirty()` before the call that decides whether anything happened, so a stroke that changed nothing -- a clip let go where it was picked up, a caption dragged back to its own frame or dropped on an overlap ("NOT PLACED"), one that is not there any more ("NOTHING LIFTED"), a trim, a fade or a `[`/`]` nudge released against the wall the edge already stood on -- still armed autosave, the ledger's `unsaved` ghost and `Player::close_needs_answer`: a window nobody had touched asked to be saved, and an autosave sidecar was written for it.
Each arm now rides the door's own answer, or the one reading the door's answer cannot give: a caption's own window before and after the trim, and the ramp's own value before and after the fade (`Project::trim_sub` answers `Ok` and `set_fade_*` answers `true` for an edge or a handle that never moved). The history pair left the action table's early arm for its own, since `^z` with an empty history is not a stroke that earned an autosave -- and `Player::undo`/`redo` now clear the selection only alongside the step they took, the same rule the refused split above is held to.🐛 fix(timeline): a refused split keeps the clip in handAhmet Kaan Gümüş · e063ed4
🐛 fix(timeline): a refused split keeps the clip in hand `self.selected.clear()` sat after the if/else in `Player::cut`, so `s` on a seam or in a gap -- the engine's own refusal, worded "NOTHING TO SPLIT — the playhead is already on a cut" -- dropped the picked clip anyway: the next Delete, `x` or menu row then acted on nothing until the user picked the clip again. The sibling `Player::regroup` has always cleared inside its own success branch.
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".
🐛 fix(audio): coalesce the visualizer wheel drag like the colour barsAhmet Kaan Gümüş · ed847d4
🐛 fix(audio): coalesce the visualizer wheel drag like the colour bars One pointer sample wrote one edit(Dirty::Picture) -> start_picture: a full picture rebuild at the playhead per sample, so a drag queued a reopen per step and the window froze for the sum -- the shape drag_color's own comment already names. The wheel now holds a sample while a rebuild is in flight (stash_or_write, busy = a pending reseek), flushes it on release, and draws its mark from the held sample so the hand leads the picture.
2026-09-15
✨ feat(audio): drag the HSV wheel like every other pickerAhmet Kaan Gümüş · f93a86c
✨ feat(audio): drag the HSV wheel like every other picker Press stays on the disk; moves sample hue/sat on the root the same way a 4 px colour slider does. Glow stays a width; that is the stamp.
2026-09-09
🐛 fix(app): a cross-lane shadow clamps where the engine clamps, and the strip says MOVEDAhmet Kaan Gümüş · 15b0c7f
🐛 fix(app): a cross-lane shadow clamps where the engine clamps, and the strip says MOVED The landing shadow for a clip let go over another lane read a whole-span overlap and drew REFUSED, while the engine only refuses a head let go inside a take or a gap too narrow to hold the clip -- an obstacle at (360, 420) with a 90-frame clip asked at 315 previewed refused and landed at 270. `cross_room` mirrors `Project::move_room` and the shadow reads it. With it: the bench catch-all answers an asset, a caption and a palette row too (a release off the rows reached nothing); a fresh drag forgets the previous gesture's lane and x; a move that lands writes its word to the ledger strip; and the head column is HEAD_W (60) px, not the 72 three comments claimed.
🐛 fix(bench): a shadow that lies is a broken drag — clamp the landing, keep the laneAhmet Kaan Gümüş · 8bd7e0cBrowse files
✨ feat(bench): the drag lands where the hand aims — clamp, one threshold, refused shadowAhmet Kaan Gümüş · 80b1d82Browse files
wip(bench): drag feel — clamp, snap targets, preview — capped mid-workAhmet Kaan Gümüş · a35a1ffBrowse files
✨ 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.
🎨 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-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.
🐛 fix(app): drag drop commits the frame the ghost last showed, snaps to 0 within 10pxAhmet Kaan Gümüş · 1f68773
🐛 fix(app): drag drop commits the frame the ghost last showed, snaps to 0 within 10px One x source for a drag: on_drag_move now stashes the pointer x that drew the ghost (Player::drag_x), and on_drop reads it back instead of a fresh window.mouse_position() -- gpui's drop callback carries no position of its own, so a second poll of the pointer was never guaranteed to answer what the ghost just showed. A wider DROP_SNAP_PX (10px, vs the 5px trim-nudge SNAP_PX) gives a release room to land on a mark; frame 0 was already always in snap_marks, even on an empty timeline, so the "must be pixel-exact to land at 0.0" complaint was tolerance, not a missing mark. The lane row's frame-0 seam moved from a layout border (which eats a pixel out of its own content box) to an absolute overlay, so the ghost, clips, and Player::frame_under all agree on one origin. Adds drop_landing_tests covering pull-to-0 on an empty timeline, pull onto a clip edge, and pull onto the playhead.
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).
🐛 fix(app,engine): pay debts — audio-only fallbacks, panic-proof proxy, .part sweepAhmet Kaan Gümüş · b05a649
🐛 fix(app,engine): pay debts — audio-only fallbacks, panic-proof proxy, .part sweep Twelve debts paid in one batch: - engine: NoVideoTrack fallback at every video door — open_stream, open_project scaffold, and import() now route a video-extension file whose header holds no picture to the audio-only path instead of refusing (argv open, saved-project reload, and library import). - engine: proxy/export worker wrapped in catch_unwind — a decoder panic settles the shared slot with Err instead of stranding Making/Cancelling. - vendor/cros-codecs: AV1 setup_shear multiplies checked — malformed warp params are a parse error, not a process abort (live-proven on an AV1 film: clean PROXY FAILED notice, slot released, app alive). - engine: startup sweep of orphan proxy .part files. - app: Player::has_video probe cache — lane_refuses gates drops on the probed kind, not the extension; Silences hidden on soundless clips; audio import toast names rate/channels/length; stale no-session proxy label cleared. - tests: audio-only mp4 fixture + gen_fixtures.sh line, 2 engine NoVideoTrack tests, toast/lane/view cases (246 bin + 14 audio_files). Harness-proven this batch (runs 20260826-2306..2315): split-at-playhead with undo, lane-remove mouse door, fade-out drag, argv audio-only open, AV1 proxy clean failure.
🔥 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.
✨ feat(timeline): the selection moves, ghosts, copies and pastes as one setAhmet Kaan Gümüş · 459d6b4Browse files
✨ feat(engine,app): copy/paste carries the whole selection setAhmet Kaan Gümüş · 778034fBrowse files
✨ feat(app): drag moves the whole selection, all-or-nothingAhmet Kaan Gümüş · 33ae7d9
✨ feat(app): drag moves the whole selection, all-or-nothing A dragged clip that is itself one of the selection's picks now carries every other pick along by the same frame delta, in one undo step, and the selection survives the move with its indices remapped rather than cleared. One pick refused blocks the whole set -- nothing moves, one notice. A clip dragged from outside the selection is unchanged. Project::move_clip is now Project::move_selection with a selection of one, so the existing single-clip path is byte-identical.
✨ feat(inspector): transition duration row — retune a dissolve or crossfade after applying itAhmet Kaan Gümüş · 7f34c17Browse files
✨ feat(ui): editable transition duration in the inspectorAhmet Kaan Gümüş · 8b3853b
✨ feat(ui): editable transition duration in the inspector A dissolve or crossfade the anchor clip carries now grows a duration row under selection_section's detail line -- frames, flanked by the same −/+ steppers mbps_steppers already draws for the export card's bitrate. Backed by Player::nudge_transition, which routes to Project::set_transition_out (video) or Project::crossfade (audio); both already clamp to what the successor clip offers, so a run of presses past that room stops there. ctrl+f/ctrl+x keep seeding a fresh transition at one second -- this only moves what is already there. transition_of (crates/app/src/ui/inspector.rs) is the pure read: a dissolve is transition_out > 0 on a video lane, a crossfade is both ends of the join set (fade_out on this clip, fade_in on its adjacent successor) on an audio lane -- told apart from a plain one-sided fade drag by that two-sided signature. Pulled out free of Context and of PlaybackSession, same reason split_drag_owes_save was, so it is testable without a TestAppContext this binary has none of.
✨ 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
fix(timeline): close gap carries a linked take across, not one lane into silenceAhmet Kaan Gümüş · 7f487c1
fix(timeline): close gap carries a linked take across, not one lane into silence Close gap was a permanent no-op for any linked A/V take: cut_regions refused per-lane ripples that would pull a take's picture half away from its sound half. gap_take_scope now widens the ripple to the take's other lane whenever the same stretch is empty there too (same start, same length, so nothing but silence moves and sync holds), and refuses -- in words the user can act on -- when the gap doesn't match or the other half is solid, rather than leaving the row to click into silence.
✨ 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
🐛 fix(layout): a seam released outside the window keeps its sizeAhmet Kaan Gümüş · 563ade6
🐛 fix(layout): a seam released outside the window keeps its size Wayland drops the button-release entirely once the pointer crosses the surface edge: wl_pointer Leave clears mouse_focused_window unconditionally, after which Button::Released never becomes a MouseUp (gpui 0.2.2, wayland/client.rs:1562-1675). So there was no missed event to wait for, and the previous 'save on the next button-less move' only paid up if the pointer happened to come back. MouseExited is the one event Wayland guarantees on departure. gpui's div() API exposes no on_mouse_exit, so it is registered through window.on_mouse_event in a zero-size canvas() paint closure at the darkroom root, and the seam saves the instant the pointer leaves.
🐛 fix(layout): seams clamp before they persist, and survive a release outside the windowAhmet Kaan Gümüş · 4e57e1c
🐛 fix(layout): seams clamp before they persist, and survive a release outside the window Two defects both best-of-2 arms shared: - drag_split wrote the raw pointer value, so an over-drag left bench=-1 on disk; readers clamped it, but the file read as corrupt. Clamp before write. - drag_move's outside-window release arm dropped the drag without the save that only drag_release performed, so the size reverted on restart. Grafts from the losing arm: Split::PERSISTED + key() replace two hardcoded lists that could drift; two persistence tests where there were none; bench ceiling now guarantees the picture 160px; bench floor 68 -> 80, since 68 was measured to clip the V1 lane chip and drop A1 entirely.
✨ 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): no bar over the picture, and the ledger names the cutAhmet Kaan Gümüş · 43f5ab4
🐛 fix(ui): no bar over the picture, and the ledger names the cut The legacy notice bar lives inside the picture, and the stance reuses the picture, so every darkroom notice painted a full-width bar across the bottom tenth of the film — under the stance's own plate, which was already showing the same words. The bar stays home in the legacy room now, and a test fails if it ever wanders back. Splitting wrote nothing to the ledger, so the bench grew a splice while the room said nothing happened. The cut speaks now, in the grey that fades on its own. Trim and walk stay silent: they run thousands of times an hour and would turn the ledger into a firehose. DESIGN §9 asks for chords surfaced in place on a held ?, not a cheat-sheet. Fifteen of seventy-one commands have a widget in the room today and all fifteen already wear their chord permanently; the other fifty-six have nowhere to stand yet. The section is amended to say what the room does and what it owes, rather than leaving the document describing a room that does not exist.
2026-08-19
✨ feat(app): a dissolve key joins two video clips end to end (ctrl+d)Ahmet Kaan Gümüş · 474b80e
✨ feat(app): a dissolve key joins two video clips end to end (ctrl+d) Mirrors the audio crossfade: PlaybackSession::set_transition_out wraps Project::set_transition_out (Dirty::Picture), Player::dissolve_selected picks the join the same way crossfade_selected does, and a second press removes the dissolve it just made. Wired into the keymap, the dispatch table, and the clip context menu.
✨ feat(app): a crossfade key joins two audio clips end to end (ctrl+f)Ahmet Kaan Gümüş · 43b4f69Browse files
merge audio-fades engine (edith 18) and wire fade drag stateAhmet Kaan Gümüş · 55dd056
merge audio-fades engine (edith 18) and wire fade drag state Merges the fades/crossfade engine branch in, adds PlaybackSession wrappers (fade_in_of/set_fade_in/fade_out_of/set_fade_out/crossfade) and the FadeDrag gesture plumbing on the root (start/move/commit), ahead of the drawing and keymap work.
✨ feat(app): the project autosaves to a sidecar and offers recoveryAhmet Kaan Gümüş · 5a30a67
✨ feat(app): the project autosaves to a sidecar and offers recovery A dirty timeline autosaves to <project>.edith.autosave (5s debounce, 60s period, paused during export) via the engine's atomic save. Manual save deletes the sidecar. On open, a newer sidecar appends a recovery offer to the LOADED notice: enter recovers, any other key keeps the file. The real project file is only ever written by manual save.
🐛 fix(app): a preview's end no longer throws the timeline playheadAhmet Kaan Gümüş · 8bfbcb3
🐛 fix(app): a preview's end no longer throws the timeline playhead playhead() snapped the ruler to the timeline's duration whenever the transport read Ended — and the transport reads the preview while one is up, so a preview running out hurled the ruler to the timeline's end. The snap now asks the timeline's own session only. Driven: preview halts at 35:18 with the ruler holding 08:14.
✨ feat(app): the preview gets a scrub barAhmet Kaan Gümüş · e9c5f4b
✨ feat(app): the preview gets a scrub bar The preview picture now carries its own seek track along its bottom: the played share drawn as a fill, a WCAG-tall hit area over a 6 px rail, and click or drag to jump anywhere in the file. It seeks through the ordinary `Player::seek`, so it lands on the preview session the way the keyboard step does and never disturbs the timeline underneath. Driven headlessly against a 100 s H.264 mp4: the fill advanced 1:35:01 -> 1:39:18 between two shots, a click at the bar's midpoint moved the clock 1:39:18 -> 0:50:02 with the picture changing, a drag 850 -> 300 px landed 0:09:01, and esc left the timeline region pixel-identical to its pre-preview shot (compare -metric AE = 0).
2026-08-15
✨ 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.
🐛 fix(timeline): caption flag resets match the engine's reseek exactlyAhmet Kaan Gümüş · cda6d0e
🐛 fix(timeline): caption flag resets match the engine's reseek exactly The app gated its grouped-caption drag and trim flag resets on the caption carrying any link at all, while the engine reseeks only when the group holds clips: a caption grouped only with another caption (ctrl-click two captions, Group) latched the seek wait with no frame ever delivered -- an unbounded repaint loop while paused. PlaybackSession::caption_grouped_with_clips is now the one public answer, asked before the edit moves indices, and both reset gates read it: drag from the press's lane and live index, trim from the trim's own lane and index. The two sides can no longer disagree.
🐛 fix(timeline): grouped caption edits reseek, and the link counter clears caption idsAhmet Kaan Gümüş · 25855e8
🐛 fix(timeline): grouped caption edits reseek, and the link counter clears caption ids A grouped caption's drag and trim move the group's clips with it -- a timeline->source change -- so PlaybackSession::move_sub and trim_sub now invalidate Dirty::Both when the caption is grouped with clips (the check delete_sub already made, now shared as caption_grouped_with_clips), and the app pays the reset_after_reseek a clip's drag and trim pay on the same paths. The link counter a load seeds now sits past every id the file names: from_parts chains the subs a lane already holds, and with_subs -- the door a load's placements actually come through, after from_parts -- raises the counter past the ids its captions carry. A hand-grouped caption holding the file's highest id could have had it re-issued to the next group that asked, silently grouping it with clips it never met. A palette drop onto a subtitle lane renumbers that lane alone; the picks it held now follow the discipline of every other renumbering edit -- kept off the lane, re-read for the marked caption, other lanes' picks untouched. Also folds in the v16 caption-group round-trip test that had been left out of the previous commit.
✨ 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.