Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions studio-app/src/StoryboardConnected.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,17 @@ export default function StoryboardConnected({ onLegacyGuide, onCanvas, onNewScen
live = false;
};
}, [c.account, s.project.id, s.workspace.mode]);
// An unconfirmed edit (no generation, no money) replays itself with its original key:
// the server returns the first result or proves nothing was written (owner, 2026-10-25).
// Preflight and batch submissions still wait for the person to check them.
const pendingKind =
c.account && s.workspace.mode === 'cloud' && !cloud.workbenchRunning()
? cloud.workbenchPending()?.kind
: null;
useEffect(() => {
if (!['actions', 'preferences', 'copies'].includes(pendingKind)) return;
void dispatch({ type: 'workbenchRecover' }).catch(() => {});
}, [pendingKind, s.project.id]);
useEffect(() => {
if (!c.account || !c.operatorAccess) {
setQueue(null);
Expand Down
15 changes: 14 additions & 1 deletion studio-app/src/StoryboardWorkspace.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,20 @@ function StoryboardShell({ onLegacyGuide, onCanvas, onNewScene, filmControl }) {
onDragCancel={() => setDragging(null)}
>
<section ref={container} className="sb-workspace" aria-label={t('storyboard.copy30')}>
<FloatingMessage tone="error" text={state.error || null} onDismiss={clearError} />
<FloatingMessage
tone="error"
// The pending warning below already says this, with its recover action.
text={
state.error &&
!(
state.workbenchPending &&
[t('workbench.pending'), 'workbench.pending'].includes(state.error)
)
? state.error
: null
}
onDismiss={clearError}
/>
<FloatingMessage
tone="warn"
text={state.workbenchPending ? t('workbench.pending') : null}
Expand Down
Loading