Video page: the Edit menu owns the transcode Job; polling survives Close and errors

Review fixes.  The transcode Job's id and polling (useJob) move from the
modal to VideoEditMenu, so closing the modal no longer stops the page
from learning the Job finished (and refetching the video, whose path may
have changed).  While a Job runs the menu shows Transcoding..., reopening
shows its progress instead of the form, and Delete waits.  A failed poll
request is retried instead of ending the polling.  getJobs checks the
response like its siblings.  Design narration trimmed from comments.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-09-14 19:39:23 -06:00
parent 42b17ea51b
commit bd6b0012b7
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
4 changed files with 282 additions and 106 deletions

View file

@ -385,10 +385,7 @@ export function ThemeSamplePage() {
</div>
<div style={{marginTop: 12}}>
<Header as='h5'>A dropdown of actions</Header>
{/* The video page's Edit button: one labelled button opens a menu of the
rarer actions, so the row stays short. The trailing chevron is what
says "menu" rather than "does the thing"; a disabled item stays listed
so the user learns it exists. */}
{/* Mirrors the video page's Edit control. */}
<Row>
<Menu position='bottom-start' withinPortal>
<Menu.Target>