Commit Graph
10 Commits
Author SHA1 Message Date
Miguel Ángel 6a5edd893a fix(studio): reveal the shown tab only when its strip narrows
A strip the user scrolled by hand no longer snaps back when another panel
changes. The load smoke measures the focused group's strip directly.
2026-09-23 11:00:36 -04:00
Miguel Ángel 2d550eb35c fix(studio): keep the shown tab in view when its strip narrows
Focusing a panel draws its strip actions, which could hide the shown tab
of a strip that only just fit. The load smoke checks move into their own
function to keep the smoke runner simple.
2026-09-23 10:30:30 -04:00
Miguel Ángel 23988644f6 fix(studio): give dock tabs the whole strip when a group shows no actions
The action slot was reserved at 72px on every strip, so inactive strips clipped
tabs next to empty space. The load smoke now fails on a reserved empty slot and
checks each strip while its group is active.
2026-09-23 09:31:30 -04:00
Miguel Ángel 8ed7ab693a test(studio): keep room for the macOS font in the tab strip smoke check
CI renders the system font stack with a narrower Linux fallback,
so a strip that just fits in CI could still clip on a Mac.
2026-09-23 03:16:05 -04:00
Miguel Ángel af4f2b9b03 fix(studio): fit every panel tab label in the default layout
Tighter tab padding and gaps, same font.
The load smoke now fails when a tab strip clips a label at 1440x900.
2026-09-23 02:43:58 -04:00
Miguel Ángel a25da94b77 refactor(studio): remove the storyboard view and its Storyboard/Preview switch (#4140)
* refactor(studio): remove the storyboard view and its Storyboard/Preview switch

* refactor(studio): fold the thumbnail output branches left after the storyboard mode went

* docs(studio): drop leftover storyboard references after the view was removed

* ci: allow the storyboard view deletions in the no-deletions guard

* docs(studio): wrap an over-long comment line in the caption overlay helper

* style(studio): reindent App.tsx after the view-mode wrapper was removed
2026-09-18 23:47:12 -04:00
Miguel Ángel 5058236eda feat(studio): prompt to install FFmpeg before Export, not after (#3314)
Exporting without FFmpeg installed used to show "Server error (503). Check
the terminal for details." The server already knew the exact cause and sent
a per-platform install command in the response body; Studio discarded that
body and printed the status code. The user found out only after the
composition was finished.

Studio now asks the dev server on load whether this machine can encode, and
the Renders panel shows the cause plus a copyable install command when it
cannot, with a Recheck that avoids restarting Studio.

- New GET /api/environment/ffmpeg calls runEnvironmentChecks() with every
  optional check off, which is exactly the FFmpeg and ffprobe pair `doctor`
  runs, so Studio and the CLI cannot disagree. Only a passing result is
  cached.
- The refusal lives in startRender, not in a button. Studio renders from
  three places (the panel's Export, the header's, and each composition card
  in the sidebar), so a per-button check would leave the others free to
  queue a render that cannot finish. The header and sidebar controls reveal
  the prompt rather than going dead.
- A null probe result means "no answer", not "missing", so an older or
  unreachable dev server cannot lock a working setup.
- Failed render responses now surface the server's { error, hint }.
- getFFmpegInstallCommand() is the single owner of platform-to-command, with
  the prose hint derived from it. Windows gains a winget command and keeps
  the manual download route.

Accessibility: the prompt's explanatory line measured 2.2:1 on the card's
amber background against a 4.5:1 minimum, because the panel's usual grey for
secondary text does not survive the tint. Now 6.6:1. Keyboard focus was
invisible on all three controls and now matches the panel's focus ring.

Also folds in cleanups the repo's gates required: the Renders tab moves out
of StudioRightPanel (it was at the 600-line cap and every field it needed was
already on the shell context), StudioContextInput stops keeping a second copy
of the renderQueue shape, and the server tests share one temp-project helper.
2026-08-17 21:00:27 -04:00
ukimsanov 3af9a7df2d refactor(studio): reuse player probe errors 2026-07-27 22:35:09 -07:00
ukimsanov 0faeb42f86 test(studio): mock composition thumbnails in smoke 2026-07-27 22:25:27 -07:00
James 83db364f81 test(repo): enforce workspace contracts 2026-07-11 21:57:45 -07:00