Commits
2026-08-20
✨ 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.
🐛 fix(ui): the film keeps its shapeAhmet Kaan Gümüş · 156db78
🐛 fix(ui): the film keeps its shape The picture was stretched to fill whatever box it got, in both rooms, for as long as the app has existed: object_fit(Contain) was set and never took effect, so a sixteen-by-nine source was drawn at two-point-three to one and, with the judging plates up, two-point-eight. It draws through a canvas now that computes the fitted rect itself and paints there, so the frame keeps its own shape and the bars beside it are room chrome. That canvas needed a real box to measure. The stance's picture div was a block one, so it sized itself from flow children and the absolutely placed canvas — the only child — left it at zero height and the picture went black. It is a flex box now, which is what its flex_1 child always assumed. The judging plates reserve their strip whether or not they are showing, so walking onto a cut no longer resizes the film underneath.
✨ feat(ui): the room speaks and the loop closes at the end of the filmAhmet Kaan Gümüş · b333573
✨ feat(ui): the room speaks and the loop closes at the end of the film The keys overlay showed eleven of seventy-one bindings behind a clipped plate, so sixty commands lived on no surface at all — it scrolls the whole list by category now, and it opens on ? as the contract names rather than f1. It is held, not latched: press dims the room, release restores it. Notices had nowhere to land in the darkroom, so arming loop-trim moved zero pixels and the editor could not tell an armed loop from a dead key. The ledger carries its real content — project identity, last action, export progress, position — and notices rise above it as plates with a severity spine, fed by the same queue the legacy room already writes to. Loop-trim never wrapped when the window ended on the film's last frame: the transport reached its end, halted, and the restart check found a stopped clock. Reaching the end with either loop armed now restarts, and the trim window's own start wins over the timeline's top.
🐛 fix(ui): s cuts, the loop arms cold, and no command hidesAhmet Kaan Gümüş · b999ecf
🐛 fix(ui): s cuts, the loop arms cold, and no command hides Round two of the verifier's drive. Bare s added a subtitle lane while the design contract reserves it for the split, so an editor pressing it twenty times got twenty stray lanes and no cuts; s splits now and the caption lane answers to c. Arming loop-trim forced playback on, so the editor's own next space toggled it straight back off and the room looked frozen — arming leaves the transport exactly as it found it, which is what the disarm side always did. Three commands lived only on keys: the stride-ten walk, the selection walk, and the overlay that would have taught them. The spine now shows both strokes beside the walk glyphs, carries the selection pair, and the keys overlay opens again — the surface is the shortcut sheet, which is the whole point of the rule. The two-up plates were painted over the bottom of the picture. The screen lays them out as a sibling now, so the picture shrinks to make room rather than being covered. The dock tab left its process-global static for the same config the palette uses, so the room reopens on the tab it closed on.
🐛 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 cut becomes the subject and the dock fillsAhmet Kaan Gümüş · 14bd4a6
✨ feat(ui): the cut becomes the subject and the dock fills DESIGN.md §12 steps 3 and 4. The cut grammar dispatches for real: , and . walk the marked clip's cuts (shift strides ten), [ and ] trim its edges at frame detents through the same engine door the mouse drag uses, / loops the subject span while the transport pumps. The maths live as pure functions in timeline_math.rs with their own tests. The stance's own regions fill in: the spine carries its commands as ghost glyphs wearing chords read live from the keymap, the screen draws the picture through the same path the legacy room uses and puts OUT|IN plates up when the playhead rests on a cut, the time band leads with timecode and the cut odometer. The stance root now takes focus and reads keys — before this it had none, so the chords were unreachable there. The dock delegates to ui/dock_stance.rs: Sources reuses the library assembly, Clip shows Speed, Colour, Transform and EQ as ghost verbs over the existing param cards. No box in the dock; the only one is Export.
✨ feat(ui): the stance stands behind a flagAhmet Kaan Gümüş · 9499168
✨ feat(ui): the stance stands behind a flag DESIGN.md §12 step 2. EDITH_DARKROOM=1 hands the window to ui/stance.rs: spine, screen, time band, bench, ledger, dock, in the geography §5 draws, painted only from the Darkroom family and pinned to that palette at startup. The regions are placeholders with their section heads; each carries a hook comment naming the step that fills it. The legacy tree is untouched when the flag is unset — the only edit to that arm is the paren and into_any_element() both branches need to share one return type.
2026-08-19
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.
🐛 fix(app): autosave only arms for a project this window opened or savedAhmet Kaan Gümüş · a80334d
🐛 fix(app): autosave only arms for a project this window opened or saved A plain media open derived project_path (a guess at where a save would land) without ever arming autosave for it -- so a dirty, never-saved scratch session could write a sidecar beside a foreign .edith it never touched, and the next real open of that file offered the scratch timeline as "recovery" over the user's own saved work. autosave_armed now gates every tick: set on install_project (opened from the .edith itself) and on save_project's Ok, never on a media open's derived guess. Declining the recovery notice now deletes the stale sidecar instead of leaving it to reappear on every later open.
✨ feat(app): export can be limited to an in/out range (i, o, ctrl+u)Ahmet Kaan Gümüş · 5134b1d
✨ feat(app): export can be limited to an in/out range (i, o, ctrl+u) # Conflicts: # crates/app/src/keymap.rs
✨ feat(export): mark an in/out range and export just thatAhmet Kaan Gümüş · a5c0bc7
✨ feat(export): mark an in/out range and export just that i marks the in point and o the out, on the playhead; ctrl+u clears the mark. The ruler shows the marked stretch as a translucent band and the export card states it above the button. Session state only, never saved to a .edith. The engine side finishes what a capped predecessor started: run_audio (the WAV/FLAC/MP3/OGG path) now offsets its segments and clips its frame count to the range the same way encode_audio already did.
✨ 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.
✨ feat(app): the playhead can loop, on the timeline and in a previewAhmet Kaan Gümüş · 935d48b
✨ feat(app): the playhead can loop, on the timeline and in a preview A Loop toggle (transport bar button, bare r) restarts playback from zero on the end crossing instead of halting — the same restart door play-at-end already used, so loop-off semantics are untouched. One flag serves both sessions: pump loops whichever is active. The wrap reopens the decoder; a one-frame seam is the accepted cost.
🧹 chore(app): the compiler has nothing left to sayAhmet Kaan Gümüş · 47519e8
🧹 chore(app): the compiler has nothing left to say The uniform lanes_shown/rows_below pair went with their last caller (the mixed math is the render's), their pins moved onto the mixed variants, and the escape rule's re-export is the tests' alone.
✨ feat(app): fullscreen fills the screen with the player, not the appAhmet Kaan Gümüş · 3b02ca6
✨ feat(app): fullscreen fills the screen with the player, not the app Merge of the player-fullscreen branch over the scrub-bar branch: the picture region is one method both layouts call, and the preview scrub bar rides in it — drawn last, so the PREVIEWING notice plate no longer hides it the moment a preview starts.
✨ 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).
✨ feat(app): fullscreen fills the screen with the player, not the appAhmet Kaan Gümüş · 24cc062
✨ feat(app): fullscreen fills the screen with the player, not the app Fullscreen used to hand the OS window to the monitor with all of the chrome still on it -- a bigger editor, not a bigger picture. It now draws the picture region alone, the way every consumer player does, and asks the platform's own toggle to agree with it. Escape leaves it, and is answered before any menu or preview under it gets a look at the stroke: one stroke, one effect, so an escape with a preview open behind fullscreen leaves fullscreen first and stops the preview on the second. F11 toggles it either way. Driven live in the nested-sway harness on a 4K H.264 mp4: the click on Fullscreen left only the letterboxed picture on screen (no topbar, library, inspector or timeline pixels) with sway fullscreen_mode=1; Escape brought the whole layout back at fullscreen_mode=0; F11 in and Escape out repeated it. 174/174 app tests green.
✨ feat(app): the project's sound rate gets a picker beside its two siblingsAhmet Kaan Gümüş · 2c88d10
✨ feat(app): the project's sound rate gets a picker beside its two siblings Resolution and rate have long had a card row and a stroke; the mix's own sample rate (engine already honours it end to end) had neither. Wires PlaybackSession::sample_rate/set_sample_rate through a third pending_settings slot, a SampleRate pick/choice, and a project-panel row next to Size and Rate -- reachable before any file is open the same way the other two are.
✨ feat(app): subtitle cue font and size are the user's to chooseAhmet Kaan Gümüş · dd4bbea
✨ feat(app): subtitle cue font and size are the user's to choose A subtitle-style file beside the theme holds a family and a size (10-28, default 14); the cue plate reads them live and the line height scales on the stock ratio. New card lists every system family plus the platform default, opened from the inspector's Font control or y. A file the format could not have written falls back whole to the defaults.
✨ feat(app): resolution and rate are choosable before any file opensAhmet Kaan Gümüş · dc9a2c2
✨ feat(app): resolution and rate are choosable before any file opens A pick made on an empty player waits in pending_settings and lands on the next session the moment it is built, the same way a saved project's own numbers do. The inspector rows and the Resolution keystroke work with nothing open; a .edith's saved settings still win over a stale pre-import pick. Engine test proves a later import never touches an explicit resolution or rate.
✨ feat(app): fullscreen, library preview, and frame screenshotsAhmet Kaan Gümüş · fbdd221
✨ feat(app): fullscreen, library preview, and frame screenshots F11/toolbar fullscreen via gpui toggle_fullscreen; a per-row play button previews any library file over the timeline without touching the edit (separate preview session, escape restores); w/toolbar saves the current frame as PNG under ~/Pictures/edith with no-clobber suffixes and a notice naming the file.
✨ feat(app): a library row previews its file over the timelineAhmet Kaan Gümüş · 5231711
✨ feat(app): a library row previews its file over the timeline A row's ▶ button (and esc, or the banner's own Stop) opens the file in place of the picture without touching the edit's own playhead or undo stack: PlaybackSession::open already builds exactly this session, so the pump, transport, seek, step, volume and end-of-stream handling all route through a new active_session()/active_session_mut() that reads the preview while one is up and the timeline otherwise.
✨ feat(app): the export card leads with presetsAhmet Kaan Gümüş · e6a4f45
✨ feat(app): the export card leads with presets Primary pane: destination, Web / Small file / Master / Audio only / Custom presets (keys v/l/t/u, refusal-aware rows), and an Advanced fold (s) holding the full codec matrix and machine notes. Master writes HEVC/High so its re-editing promise stays true; default state lands on Web.
🎨 style(app): subtitle lanes go thin and library subtitles get real groupsAhmet Kaan Gümüş · 2efce0f
🎨 style(app): subtitle lanes go thin and library subtitles get real groups SUB_LANE_H=24 (WCAG hit-target floor) with per-kind lane math restores the thin caption look f85f4db lost; lane remove moves to right-click on the eye. Library subtitle group headers are always on when several sources exist, foldable per source, with tint and track count.
✨ feat(app): a library full of subtitles reads as its films againAhmet Kaan Gümüş · 791ea9f
✨ feat(app): a library full of subtitles reads as its films again Group headers in the Text tab used to vanish under sub_headers_fit's viewport gate, which was the one thing carrying "whose tracks these are" once a window got short -- so a short window left every track looking like it belonged to whichever film happened to be scrolled into view. The row list already scrolls past SUB_ROWS_H, so the gate was solving a problem the scrollbar had already solved: headers are now drawn whenever there is more than one source, full stop. Each header now also says how many tracks it holds and folds its rows shut on a click (Player::sub_folded, session-lifetime, never saved) -- a plain toggle and not the click-cycling pattern this codebase has already thrown out once. Its hit target moved up to HIT_MIN to earn the click. A standalone .srt was already its own named group (by its own filename) rather than a sourceless catch-all, so no "External" bucket was needed for it.
🐛 fix(app): the export card's presets pick their own bundle, not the codec row's leftoversAhmet Kaan Gümüş · 4b92704
🐛 fix(app): the export card's presets pick their own bundle, not the codec row's leftovers Six judge-confirmed defects in one pane: a refused preset click still wrote a quality (checked the refusal after the write, not before), refused presets rendered bright and clickable with no reason shown, the card opened on Custom because the launch default (Mp4, Auto) matched no bundle, the five preset rows were pointer-only, and the status line still advertised g/r after they moved into Advanced. Master now bundles HEVC/High instead of H.264/High, so its own "for re-editing later" detail (intra-only, every frame a cut point) is true of what it actually writes.
⚡ perf(app): the silence scan starts at import, not at the cardAhmet Kaan Gümüş · 99d87d4
⚡ perf(app): the silence scan starts at import, not at the card Moves the whole-source RMS decode engine::silence::levels_with_progress was only ever asked for when the silence card opened (Player::start_silence_scan) into Player::cache_media, the same per-repaint "unseen sources" door the waveform, proxy and stream probes already run through. The scan is now landed under a whole-source sentinel key (full_scan_key, out_frame = u32::MAX) in the very silence_levels map the card reads, so scan_silences slices a clip's own [in, out) window out of it (slice_whole_levels) before ever falling back to the on-demand per-clip scan the card used to start unconditionally. silence_bg tracks scans in flight per (path, stream): its presence is the dedupe against a re-add of the same source, and remove_source / close_session cancel it via the same Progress::cancel flag start_silence_scan already used, so a source that leaves mid-decode does not write levels into a library that no longer holds it. Caveat: the background decode is still O(file length) -- ~1700x realtime per engine::silence::levels' own doc comment, so a several-hour file is still seconds of background work, just no longer on the card's critical path, and a card opened before that finishes still falls back to its own on-demand scan.
♻️ refactor(app): the export card opens on a preset, not fifteen rowsAhmet Kaan Gümüş · 0d1aa32
♻️ refactor(app): the export card opens on a preset, not fifteen rows The card used to open flat: destination, seven format rows, container, five quality rows, sound, encoder, subtitles, two display switches and two machine notes, all on screen at once. Restructured around the decision flow instead -- a primary pane (destination, four named format+quality bundles plus Custom, the Export button) with everything else -- codec, container, quality, sound, encoder, subtitles, the layout switches, this machine -- behind one "Advanced" row, closed by default and driven by its own key (s) exactly as every other row is. No row was deleted, only relocated; every existing key and click still does what it did.
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.
✨ 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-14
✨ feat(subs): only the picked subtitle lane shows, every lane on the timeline exportsAhmet Kaan Gümüş · 1361b3cBrowse files
✨ feat(subs): one subtitle track is shown and every placed one is exportedAhmet Kaan Gümüş · 1139174
✨ feat(subs): one subtitle track is shown and every placed one is exported The picture drew every subtitle lane at once, so three lanes of different words were three plates over one film and two hundred were nonsense. One lane draws now -- the one whose header dot is lit -- and clicking another lane's header moves the picture to it. The pick is resolved against the lanes there are at the moment it is read (`subs::active_lane`), so one lane needs no picking, the first lane added draws, and removing the shown lane promotes the first one left instead of blanking the picture. The overlay asks the shown lane for its cues and no other, so a frame costs what one lane costs whatever the stack is. What travels in a file is untouched by that pick: every subtitle lane on the timeline is its own track in the output. What did travel wrongly is a track sitting in the *palette* on no lane at all -- with every subtitle lane emptied, the engine's palette fallback wrote all of them into the file. `Player::export_subs` now answers with the tracks a lane places, which is the same sentence the card says.
✨ feat(ui): panels resize by dragging their dividersAhmet Kaan Gümüş · a39a88f
✨ feat(ui): panels resize by dragging their dividers The library, the inspector and the timeline were laid out at a fixed share of the window; the three seams between them are handles now. A press on a strip is tracked from the root like every other drag here (a 6 px strip is not where the pointer stays), the size lands in the model and every region reads it back through one door -- so a dragged width survives the release and cannot disagree with what is drawn. Each panel stops at its own floor and at a third of the window (most of it, for the timeline), so neither a panel nor its neighbour can be dragged away and lost. The bed's pixel-to-time answer is measured off the ruler's own prepaint box, so a click still names the frame it points at at every size.
🐛 fix(ui): the stand-in switches are answerable before the first filmAhmet Kaan Gümüş · 2995059
🐛 fix(ui): the stand-in switches are answerable before the first film Both proxy switches were dead with nothing open: the availability oracle refuses everything below "no timeline open", and the state they toggled lived in the session, so a window with no session had nowhere to keep an answer and the buttons read a bare "Proxies" with no state at all. That is backwards for what these two are. They are import options -- one decides whether an arriving film gets a stand-in made for it, the other what its picture is then decoded from -- so the moment a person can act on them is *before* the import, and a switch that waited for a film was a switch that came too late to stop the encode it was about. So the pair joins the four the oracle already answers with nothing open (the snap and the monitoring level), and the window keeps them the way it keeps its volume: its own, pushed at every session it opens (`apply_proxies`), and taken back from a project as it loads, since a `.edith` carries its own two and they are what it was saved with. The buttons now say on or off with an empty window, an import made while Auto proxies is off starts no encode, and the keyboard and the pointer go on answering the same question -- which is the rule that put the four in the oracle in the first place. Two dead imports in the same two files go with it: the build printed them and they are one line each.
✨ feat(app): the export that locks the editor says so as a card, and takes two answers to stopAhmet Kaan Gümüş · ef7689f
✨ feat(app): the export that locks the editor says so as a card, and takes two answers to stop An export takes the whole editor -- nothing may touch the edit list while the worker reads it -- and until now it said that in a hint line under a panel it had just switched off. The running export is drawn as what it is: the same scrim, width and raised box the export card itself uses, so the answer arrives where the question was put, with the bar, the percentage and both clocks, the row and the seats the worker really opened, the source it reads and the file it writes. The timeline is still read around it, and the ruler keeps the fill -- the one part of the progress the card does not cover. Getting out of it now takes intent, twice over. The chord is ctrl+esc: bare escape is the stroke a hand throws at anything on screen, and thrown at an export it used to delete an hour of encoding. Bare escape now does nothing at all here -- the card is not dismissable, so there is nothing left for it to mean. And the pointer's way out is a pair, never a cycle: "Cancel export" swaps the row for "Keep exporting" beside it, both on screen at once, each saying which one it is. Rebinding still works and still adds a way out rather than replacing this one, and the card shows whatever the keymap has.
✨ feat(app): the picture shows what is placed, and every open eyeAhmet Kaan Gümüş · afea3b2
✨ feat(app): the picture shows what is placed, and every open eye The overlay stops reading the picked palette row and reads the subtitle lanes: the union of every enabled lane's cues at the playhead (`PlaybackSession::sub_lane_cues` minus `Player::subs_off`), one plate per cue, lane order bottom-up so S1 keeps the line it has when it is the only one. Nothing shows until it is placed -- the model every other medium here already follows, and the end of the auto-show a walked file used to get. The palette row's click loses its show semantics and keeps the selection the × acts on; the heading names no track any more, and the tooltip and the import tail say where a track landed and what the next move is. `Player::sub_image` is keyed by (lane, start_us): two lanes are two placements at one microsecond, and a shut eye must not leave the picture before it on screen. A picture cue draws from the lowest enabled lane alone (one cache slot, one canvas over the whole region) and the plate stack still steps over the transient bars.
✨ feat(app): the words get a track of their own, dragged and trimmed like everything elseAhmet Kaan Gümüş · eef3d5d
✨ feat(app): the words get a track of their own, dragged and trimmed like everything else The subtitle strip under the lanes is gone and the subtitle lanes the engine model landed are drawn as lanes: the same row, the same header, the same bed. A palette row is dragged out of the Subtitles list onto one, a placement is dragged along it or onto another subtitle track, either end is trimmed, and the box's own × lifts it off -- a caption is not in the clip selection's index space, so no stroke reaches it and a lane holding one may not be removed. The row is `lane_row`, unbranched: a subtitle lane holds no `Clip` and every other lane holds no `SubClip`, so the two lists are never both full and there is no second kind of row to keep in step. Headers reorder and remove through the machinery every lane already had. An `Ok` is never a toast: `move_sub` and `trim_sub` answer a pick-up-put-back and an edge stopped at a wall with `Ok` and no undo step, so only the refusals are shown, in the engine's own words after the head. A subtitle lane refuses media in `lane_refuses`, so the shadow is red on the way down. Each lane's header carries its eye, on by default and dropped wholesale when a lane is removed or reordered -- what reads it over the picture is the next slice; nothing is saved yet either.
✨ feat(app): the seat that writes the picture is picked on the card, not by an env pinAhmet Kaan Gümüş · 50af5b5
✨ feat(app): the seat that writes the picture is picked on the card, not by an env pin The export card gains an Encoder row: Auto, Hardware or Software, three rows in a list like every other setting with more than two values -- `e` steps it, a click opens the list, and the planned line under the rows re-probes and says which seat it measured. Auto is what every export did before (the GPU where there is one). Hardware is the GPU or a refusal in words -- `Enc::open` refuses before the muxer exists, so nothing is written -- and it is now the only door to the plugin's AV1 seat, which `VE_HW_AV1=1` used to guard: an env pin nobody exporting a film would ever find. A person who picks it for AV1 gets a plain row naming what happened on this box's driver, and the pick still stands. Software forces the CPU encoder, which also takes the zero-copy path off the table by construction (`Enc::dma_want` answers only for the two hardware seats). Kept with the project: `.edith` gains an `encoder` line at v14, written only when it is not Auto, and a v13 file loads as Auto. - engine: `ExportSettings::force_sw` -> `seat: EncoderSeat`; `hw_seat` returns the refusal instead of falling back; `planned_video` says `NO_HW_SEAT` where it would - app: `Pick::Encoder`/`Choice::Encoder`, card row, `e` in the card's own keyboard and in the keys menu (`FIXED`) - tests: the backends sweep runs all three seats (the AV1 hardware seat excepted, as before), and asserts the refusal is only what a missing seat produces
🐛 fix(app): the cue steps over the bar hanging off the pictureAhmet Kaan Gümüş · 0c26d06
🐛 fix(app): the cue steps over the bar hanging off the picture A notice, the import line and the seek line hang off the bottom edge of the picture region, and the cue plate sat at a fixed 8 px off that same edge -- so every message was drawn across the line being read, and cost the reader both of them. The plate now sits above whatever those bars measured (`height_probe` -> `sub_bottom`) and comes straight back down the frame they leave: the no-notice position is unchanged to the pixel, which is the position people are used to. A picture cue (PGS) is slid up by the same measurement with cancelling top/bottom insets, so the disc's canvas keeps the height -- and so the fit -- it had with nothing hanging there, rather than being refitted into a shorter box. Measured and not counted: a notice wraps to as many lines as the window is narrow (31 px on one line, 43 on two), and any constant here would be right at exactly one width. The probe asks for one more frame when that height changes, because the window a notice arrives on may be paused and never draw again by itself.
2026-08-13
✨ feat(app): a Proxies switch in the panel, and the stand-ins made without being askedAhmet Kaan Gümüş · 892f813
✨ feat(app): a Proxies switch in the panel, and the stand-ins made without being asked A film this machine cannot cut at speed -- bigger than 1080p, or HEVC or AV1 at any size -- gets its stand-in started the moment it lands in the library, two at a time so ten dropped files cannot start ten encodes over one hardware seat. The library row says how far it has got and then that there is one; the PROJECT panel's Proxies button says which way the switch is set and carries the least-finished percentage beside it, so a switch thrown before anything is ready says so rather than doing nothing. The switch is an action like every other: ctrl+p, on the actions card, and a button that is both the state and the door -- the two tests that already hold every action to that pass it unchanged. A stand-in that cannot be made is a line and no more: the film itself is what plays, which is what plays until one is ready anyway.
🚚 refactor(app): the window's look moves out beside its doingAhmet Kaan Gümüş · b593558
🚚 refactor(app): the window's look moves out beside its doing `impl Render for Player` -- the one render the whole interface hangs off -- leaves main.rs for render.rs, next to the modules its methods went to last stage. main.rs is now the state (`struct Player`), the wiring and `fn main`: 1,343 lines down to 716. Pure motion: the impl is verbatim, gate and all (`view().following(position)` at render.rs:84), and the layout guard that slices the root render finds it by search rather than by name, so it follows the move untouched.
🔧 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.🔧 chore(app): the window's file lets sixteen neighbourhoods keep their ownAhmet Kaan Gümüş · 963252a
🔧 chore(app): the window's file lets sixteen neighbourhoods keep their own main.rs was 10,529 lines with every constant, every helper and the window itself in one place. The geometry, the transport, the import state, the menus, the export card, the oracle, the library rows, the subtitles, the equalizer, the colour card, the viewport and the timeline's arithmetic each move out to the module they belong to; the Player and its two impls stay, which is what the file is for. Pure motion: every line is the line it was, with pub(crate) added only where a module boundary now stands between it and its caller. Player::enable still delegates to the one oracle.
🔧 chore(tests): the window's tests move out of the file they were testingAhmet Kaan Gümüş · e87ada1
🔧 chore(tests): the window's tests move out of the file they were testing Two thirds of `main.rs` was its own test module: sixteen thousand lines, of which six thousand were the tests. They are `src/tests/` now -- shared imports and fixtures in `mod.rs`, the tests themselves under the five headings they already fell into: editing, view, cards, media, layout. Pure motion, except for the scans. Several guards read the window's own source to hold a structural rule, and they read it with `include_str!` over a list of file names -- a list that goes quietly wrong the moment a region moves house, which is exactly what this commit does to six thousand lines and the next one will do to more. They walk `src/` at run time now: every `.rs` under it, found rather than named, so a rule cannot be passed by moving the code out from under it. A stray colour in a file nobody declared as a module is caught; under the old list it was not.
💄 fix(timeline): the line goes with the hand that left the rowAhmet Kaan Gümüş · 318f1fd
💄 fix(timeline): the line goes with the hand that left the row A header carried off a row left its drop line painted there, promising a slot the release out in the open never commits to. The row takes its own line back down now -- its own, because gpui runs a drag-move listener on every painted row and not only on the one under the pointer, so a row clearing the cue outright would rub out the line the hovered row had just drawn.
✨ feat(timeline): a track is carried to its place in the stackAhmet Kaan Gümüş · 9ddffc8
✨ feat(timeline): a track is carried to its place in the stack A header is a handle now: drag V1 or A1 onto another header and the whole track takes its slot -- clips, gain and kind travelling with it, a ghost under the pointer and a line along the edge it comes in at, one undo step. Order lives in one place, the lane list, so the stack the preview composites, the stack an export composites and the order a save writes are the same list read three times. Display order is that stack: moving a video track past another changes which picture wins, in the preview and in an export alike, while audio is summed and does not care -- which is what makes an audio track above a video one a rearrangement of the screen alone. A label stays a position among the tracks of its kind, so a track that crosses one of its own kind swaps names with it, and everything holding a (lane, idx) is dropped exactly then.