Commits
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-09
🐛 fix(app): every menu lands inside the window, clear of what it namesAhmet Kaan Gümüş · 9d24ad8
🐛 fix(app): every menu lands inside the window, clear of what it names The three hanging menus mount on the room root instead of inside `stance-centre`: their anchors are window coordinates, and the dock -- painted after the centre column -- covered every pixel past the seam, which is the clip menu whose chords were cut mid-word at x=995. `menu_at` now clears all four edges by `MENU_EDGE`, and `menu_rows_h` takes both margins off the room first, so a floored menu never buys that room back off the picture. The library menu hangs a row below the pointer rather than on it: opened at the pointer it covered the very row it was about. Its rows wear the chord of the verb (`Add at playhead ↵`) or nothing at all -- the prose glosses were §8's instructional copy in the column §4 reserves for strokes -- and the destructive remove says its consequence in its own label, since nothing prints beside it now.
2026-08-27
🐛 fix(app): library context menu opens at the pointer, not the picture floorAhmet Kaan Gümüş · c01a6ef
🐛 fix(app): library context menu opens at the pointer, not the picture floor The library row menu mounts on the root over the dock, where no picture exists, but went through `menu_floor`'s picture-floor clamp anyway -- a right-click high in the dock got teleported down near the bench. It now sizes its rows against the full viewport and clamps only to window bounds via `menu_at`, standard context-menu behavior; `menu_floor` stays for the clip menu, which legitimately protects the picture behind it.
2026-08-26
🔥 remove(ui): the legacy tree — darkroom is the only roomAhmet Kaan Gümüş · 5dcc6c2
🔥 remove(ui): the legacy tree — darkroom is the only room Delete the whole legacy UI (timeline.rs, toolbar.rs, inspector.rs, legacy render body, OLD_GUI gate — the env read is gone, not a switch) and every helper only it reached: ~6,900 LOC out. Darkroom stance is the only room. Real gaps the removal flushed out, fixed here: - typed bitrate in the export card was completely dead — NumberEdit digits/backspace/enter/esc now wired in param_card_key - ActionId::CancelExport was a no-op while the progress card promised the chord — now calls cancel_export (ctrl+esc, oracle-enabled during export) - actions card had no pointer entry — "?" ghost is clickable, scrim click closes, inner list swallows - snap toggle got a button beside zoom-fit in the VIEW group Dead-by-construction machinery deleted with its tests: key rebinding (rebinding/rebind_action/capture never set live), keys_search (no search box exists), cancels_export/format_key/next_audio_kbps, 17 layout.rs consts/fns, and the rest of the 32 no-—tests dead-code warnings; both `cargo build -p edith` and `--tests` are warning-free, 245 tests green.
2026-08-21
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geographyAhmet Kaan Gümüş · 3e04aeb
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geography Baseline of the Darkroom parity work before the old-UI removal lanes branch.
2026-08-20
✨ 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): a menu fits the room it is allowedAhmet Kaan Gümüş · 9585160
🐛 fix(ui): a menu fits the room it is allowed The clamp put the menu's top below the picture, and then the menu walked straight back up over it: the list was still measured against the whole window, so anything taller than the space below the frame was re-fitted to the window's own bottom edge. Measured on a 720-high room, a 396-high menu floored at 404 came back to 324 and ate the last ten pixels of the picture. Menus now size their list against the room they are actually allowed to fill, so a long one scrolls inside its own plate exactly as the keys overlay does, and the frame stays whole. Two tests hold it: one reproduces those numbers, one greps for the shape of the mistake so the next floated surface cannot make it quietly. This is the fourth surface to land on the picture — after the notice bar, the export card and the preview badge — which is why the guard is structural rather than another instance fixed.
💄 style(ui): the menus and the cards join the roomAhmet Kaan Gümüş · d57e5d1
💄 style(ui): the menus and the cards join the room The colour card and the keymap menu both broke the rules. They did, and not only those two — the whole card and menu class was still speaking the old app's language. The menus had no type at all: raw toolkit text at whatever size it defaults to, chords in the same face as the verbs. Rows are Archivo now and every chord is mono, because a chord is something the film answers to. They also opened wherever the pointer was, which meant over the picture; they clamp below it now, the way the export plate and the preview already do. The param cards were legacy sheets: a seventeen-pixel title in a language whose largest type is thirteen, labels sitting on filled pills, values in the room's voice rather than the film's, and a filled Reset box beside an r that already resets. Colour, transform, speed and mix wear the language now — heads at nine, rows at ten and a half, values in mono, the picked row marked by a rule rather than a fill, and the resets are ghosts. Silence, subtitle style and the EQ still carry the old dress; the shared pieces they need are in place for the pass that follows.
2026-08-19
✨ feat(engine): a library preview opens the row's own audio streamAhmet Kaan Gümüş · e6a2fc1
✨ feat(engine): a library preview opens the row's own audio stream PlaybackSession::open_with_audio_stream binds a chosen audio track instead of always the file's first, closing the corner-cut open_preview named. Library rows already carry their own stream index (one row per audio track on a remux), so the preview button now passes it straight through.
✨ 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): 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.
2026-08-15
✨ feat(library): a stand-in switch on every row — on, off, and one encoder at a timeAhmet Kaan Gümüş · 3da7bd9
✨ feat(library): a stand-in switch on every row — on, off, and one encoder at a time The ✕ that stopped a stand-in being made read as taking the file out of the library. What a row shows now is a switch: a hollow dot when the film plays itself, a filled one when a stand-in plays, a stop square while one is being made, with how far it has got drawn under it. A click in the asked window stops rather than starts a second encoder; the engine takes a claim on the .part before the header is read so no two encoders ever write one path. A delete that could not happen says so and the row stays on over the proxy that is still what plays. The off choice is written beside the cache entry and outlives the session, and the detail line keeps its width past the switch.
2026-08-14
🐛 fix(ui): a stand-in being made can be stoppedAhmet Kaan Gümüş · e534575
🐛 fix(ui): a stand-in being made can be stopped A proxy is a whole film through a decoder and an encoder, started without being asked for, and until now there was nothing that could stop one: the row said "proxy 12%" for as long as it took, on a machine somebody was trying to cut on. So the row that shows the encode running carries the way out of it: a × beside the percentage, the subtitle row's button and the subtitle row's rule -- it stops the click there, since the row under it picks a file and stopping an encode is not a way of choosing one. The engine already had the stop (`proxy::Job::cancel`, the export's own checkpoints), so nothing new was invented for it. What is new is the two states between the click and the end: `Cancelling` holds the job while the worker winds down -- it gives up at its next frame and deletes its own half-written file -- and `Cancelled` is where it settles, kept in the map so no repaint starts the encode that was just stopped all over again. The worker's own answer is what settles it, which is what makes the three claims checkable rather than hopeful: nothing is left under the name a finished stand-in would have (the cache is looked up by existence alone, so a file left there is a cut made on a truncated picture), the `.part` goes with it, and an encode that *beat* the stop settles as the ready stand-in it is rather than being deleted underneath the switch that is playing it. Asking twice is asking once. The new test in tests/export.rs is those four in one pass, on the software seat: stop it mid-encode, wait for the worker, then look at the directory.
✨ feat(app): + S makes a subtitle track, and the file door keeps its own nameAhmet Kaan Gümüş · 6830c39
✨ feat(app): + S makes a subtitle track, and the file door keeps its own name "if I press button +S it should create subtitle track section": it opened a file chooser instead, which is the one thing a track button never does. The button and its "s" now add a `LaneKind::Subtitle` lane exactly as + V and + A add theirs, ctrl+t takes the last one back, and the chooser survives as `ImportSubtitles` (ctrl+i) behind the Text tab's own "Add subtitles from a file…" -- the panel where the tracks it reads are listed. Every notice follows the split: an import lands rows "in the palette", a lane says "drag a subtitle from the panel onto it", and a remove with no subtitle lane says so instead of "open a file first" over an open file. The export card's Subtitles row was framed around palette picks: with an empty pick list it dropped the engine's sentence whole, so a lane the export carries nothing of said nothing at all. The sentence is kept whatever the picks are, and a row the sentence already speaks for gets no clause of its own.
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.
✨ feat(subtitles): a file's subtitles come onto the timeline that is openAhmet Kaan Gümüş · e17cd0a
✨ feat(subtitles): a file's subtitles come onto the timeline that is open Importing only the subtitles from a file should not mean reimporting the whole media or breaking the timeline. The engine could already do exactly that -- the walk reads a container's subtitle tracks and pushes them onto the timeline's own list, and subtitles are on no lane -- but the only doors to it were a toolbar glyph and a stroke, while the panel where the tracks are listed offered a media import. So the capability was there and the door was not, which is the same thing as not having it. The Text tab's own button is now that door: "Add subtitles from a file…", the action itself (so the button, the stroke and the actions card cannot drift), oracle-gated like every other action button, and accented while the tab has nothing on it -- the primary action of the tab it is in. The tab's empty line names the button rather than pointing at a toolbar. At the 640x360 floor the column is 128 px and a centred label wider than its button is clipped at both ends, so the button says the short form there and the full name stays in the tooltip, the card and the stroke. Whatever the file is: a release's `.mkv`, an `.mp4`, an `.srt` beside it. The media itself joins nothing -- no library row, no lane, no clip, nothing on the edit list moves -- and the same file twice is the same tracks, not two of each. A file the walk found no subtitle track in is now refused as that, in words, naming the file. It used to answer "0 tracks added", which is the sentence a file whose tracks are already on the timeline gets -- two opposite answers wearing one string. The line is drawn once (`PlaybackSession::no_subtitles_in`) and used by both the engine's own door and the front-end's split walk-then-push, and the claim is only ever made after the walk actually looked. A plain media *open* is untouched: nothing is said there about a file with no subtitles, because nobody asked.
✨ feat(ui): the palette is picked in the window, not at the buildAhmet Kaan Gümüş · 4ddba0c
✨ feat(ui): the palette is picked in the window, not at the build The two colour families were a cargo feature (`--features warm`), which makes the choice one only whoever compiled the binary could make. Both are now `Palette` values behind one relaxed load: a token is a call (`BG_PANEL()`) that reads a field off a 'static table, so a swap repaints the whole window with no restart and no lookup by name. The door is a list, not a toggle -- Theme sits in the toolbar's View group beside Snap, and opens the same picker the resolution and the HDR rendition already use, so a third palette costs one line in `PaletteId::ALL` and nothing anywhere else. The stroke is ctrl+h, the row is in the actions card, and the list now answers the keyboard as well as the pointer: up, down, enter, escape, on every picker in the editor rather than only this one. The pick is kept in ~/.config/edith/theme, beside the keybindings and under the same XDG rule, so it survives a restart; a file that cannot be written is said out loud. The contrast guards run against every palette in the table now instead of the one that used to be compiled, which is what makes a palette added later land gated.
2026-08-12
🐛 fix(ui): the library still lists what was imported at the 640x360 floorAhmet Kaan Gümüş · c003414
🐛 fix(ui): the library still lists what was imported at the 640x360 floor Five stacked things in that column want 140 px and the floor gives the region 136, so the one child allowed to shrink -- the media list -- was shrunk to nothing: tabs, an Import button, a dimmed way to add at the playhead, and no sign of the file that had just been imported. Found by photographing the floor, not by reading the layout. The list keeps a row's height at minimum and the column carries the remainder on its own scroll, which is the answer the lanes and the inspector already give. Everything in it stays reachable; nothing is clipped.
🎨 feat(ui): a second palette, named button groups, and one live accentAhmet Kaan Gümüş · 5a36eae
🎨 feat(ui): a second palette, named button groups, and one live accent Three of the redesign's other answers, kept where they were better than what this branch had. The palette is two tables now, `cool` (default) and `warm`, in one file with one role name list between them: `--features warm` swaps the family and no call site knows it happened, and a role missing from either is a compile error rather than a region that quietly kept the old colour. It is a compile switch because every token is a `const` and a runtime palette is a lookup at every paint -- the ceiling and the way past it are written where the tables are. The warm family is held to the same measured floors as the cool one, and that caught something on the way in: its picked-row surface put the secondary ink at 4.09:1 where WCAG 1.4.3 wants 4.5, so the surface is darker here than in the branch it came from. The toolbar's buttons are three named groups -- Edit, Track, View -- because a row of twelve unlabelled boxes is a row nobody reads twice, and three labels are three things to skip. Import is filled with the accent while the library is empty, which is the one moment it is genuinely the primary action; Export, which wears the accent the rest of the time, is dimmed until there is something to export. So there is still exactly one live accent in the window -- which is the rule that made Export the accented button in the first place -- and it is on the thing the user has to press next. An accented button also keeps its accent under the pointer now: hovering it to the chrome's grey read as the primary action switching itself off. And a glyph sits in a box of its own width rather than the width it happens to draw: the pause bars are 12 px and the play triangle 11, so pressing Play slid every button in the row one pixel to the left.
✨ feat(ui): the floor, the notices and the silent refusalsAhmet Kaan Gümüş · 2c8e3aa
✨ feat(ui): the floor, the notices and the silent refusals The transient bars hang off the bottom of the picture instead of taking a row of the column -- a notice arriving used to push the transport, the toolbar and the timeline down by its own height, which is every control below it moving with state. At 640x360 the timeline takes at most its share of the window and its lanes scroll inside it, the library tabs wrap rather than hanging off the panel, and the level's bar stands down while its button and its keys stay. A class refusal (esc with nothing exporting) is silent; a state refusal speaks.
✨ feat(ui): library tabs, accent primary action, redesign guardsAhmet Kaan Gümüş · 2171351
✨ feat(ui): library tabs, accent primary action, redesign guards Media/Audio/Text tabs over the media pool (the giants' split), the Export button as the one accented control in the window, and three guards: no colour outside the theme, no settings card drawn from the root, and a reserved rect for every button whose label changes with its state.
✨ feat(ui): four regions, one oracle, one token tableAhmet Kaan Gümüş · 2ae5c26
✨ feat(ui): four regions, one oracle, one token table Library left, picture centre with its own transport strip, inspector right, timeline full width along the bottom with the edit toolbar directly above it -- the arrangement Movavi and CapCut share. The settings cards are docked in the inspector, so adjusting a clip no longer hides the clip. Every button asks the one availability oracle, and so does act(): with no file open the toolbar used to be dim and dead to the pointer while the very same actions still fired from the keyboard. Snap, mute and the volume keys answer with nothing open, in both doors, and everything else dims with the oracle's own reason in its tooltip. Clips are painted by kind (video blue, audio green, still teal, cues purple) on a near-black ground with one cyan accent, and every stateful button keeps a rect that does not change with its state.
♻️ refactor(ui): extract the UI out of main.rs into ui/ modulesAhmet Kaan Gümüş · d8bffff
♻️ refactor(ui): extract the UI out of main.rs into ui/ modules The whole window was one 19,916-line file with one Render impl in it, which is why every colour sweep so far lost to instance patches: there was no seam to sweep. One module per region, and one theme module every paint reads a token from -- no 0x literal survives outside it.