Commits
2026-08-20
✨ feat(ui): every command finds a home in the roomAhmet Kaan Gümüş · b97144e
✨ feat(ui): every command finds a home in the room An audit compared the two rooms command by command. Fifteen commands lived only on memorised keys in the darkroom though the old room gave each a control: mute and volume, loop, save, snap, the subtitle trio, proxies, theme, fullscreen, screenshot. They are placed by how often an editor reaches for them — the loud ones in the geography beside the work they belong to, the once-a-project ones ink-demoted into a quiet ROOM group — and each wears its live chord and greys with its reason when refused. Right-clicking a clip did nothing: the menu surface was mounted and nothing ever opened it, so every verb it holds had no mouse path. It opens now, on clips and on subtitle cues, which the bench also draws at last. The param cards were keyboard-dead in the new room — the branches that nudge a value, pick a band and reset a row were left behind in the old one. They are shared by both rooms now rather than copied into one. Silence, mix and subtitle style were mounted nowhere at all, so their keys made the room modal with nothing on screen; they paint, and a test reads the modal predicate's own source to prove every state it consults has a surface.
✨ 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): 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.
🐛 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 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
🐛 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): 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): 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.
🐛 fix(app): a preview shows neither the timeline's captions nor its hintsAhmet Kaan Gümüş · 490cfd3
🐛 fix(app): a preview shows neither the timeline's captions nor its hints The timeline's cue overlay would caption the wrong film over a preview picture, and the drop-a-file hint keyed off the timeline session alone.
🐛 fix(app): the transport clock reads the preview, not the timeline, while one is upAhmet Kaan Gümüş · c60633d
🐛 fix(app): the transport clock reads the preview, not the timeline, while one is up The toolbar's timecode/duration readout took position and duration from the timeline's own playhead unconditionally, so opening a library preview kept showing the timeline's time underneath it. It now reads active_session()/active_fps() like the rest of the transport does, so the clock tracks whichever session is actually playing; Escape still hands it back to the timeline the moment the preview closes. The ruler's own clock (timeline.rs) and the timeline context-menu timecodes are untouched -- they are timeline-bed reads and must keep following self.session regardless of a preview.
🐛 fix(app): a library preview finally has a pulseAhmet Kaan Gümüş · 397bd83
🐛 fix(app): a library preview finally has a pulse render() ticked only the timeline's own session, never the preview one -- so a preview's audio-driven clock never advanced, pump() saw the same target every frame, and the picture sat frozen on frame 0 however long play ran. Ticks now go through active_session_mut(), the same preview-first routing pump/transport already use.
✨ 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): 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.
✨ 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.
✨ feat(app): the player goes fullscreen from the toolbar or F11Ahmet Kaan Gümüş · 1ac24b8
✨ feat(app): the player goes fullscreen from the toolbar or F11 gpui Window::toggle_fullscreen wired as ActionId::Fullscreen (View category, always enabled — window-level, touches no edit list). Player::act grows a window parameter to reach the API; topbar gets a state-reflecting Fullscreen / Exit fullscreen button beside Save/Export.
♻️ 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-14
✨ 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.
🧹 chore(app): the dead imports and the arguments nothing readsAhmet Kaan Gümüş · 07ee3c7
🧹 chore(app): the dead imports and the arguments nothing reads A build printed thirteen warnings and every one of them was something the code had stopped using: four imports nobody names any more, a picture duration the timeline is handed and never reads, and the export flag a rewrite of the hint line left behind. Removed rather than hushed. An unused argument is a caller handing over something the callee has no use for, and the two bindings that were computed and dropped read state on every frame to throw it away. What is left of the thirteen is five dead-code warnings whose only callers are tests -- a panel-height ladder, a volume label, the theme's focus stroke, the palette lookup beside it -- and taking those out means taking their tests out, which is a decision about that code and not a warning to be tidied on the way past.
✨ 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 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.