mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 14:19:56 -05:00
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:
parent
42b17ea51b
commit
bd6b0012b7
4 changed files with 282 additions and 106 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue