fix(editor): server jobs, stale proxies and read-only accounts in the remote editor

- A server sequence whose cached frames are no longer the server's (a load, a 409
  merge or a frames change event finds other frame ids) turns read-only and says
  why; opening it, or a sequence without cached proxies, queues the proxy
  download and opens it when done. Signed out reads "Connect to the server".
- Server jobs show queued, running (with a bar), paused and analysing glyphs in
  the header with Cancel; a failed or cancelled one raises a toast with Retry.
  Progress alone no longer refreshes the whole editor.
- The server job list is read by state and kind to its last page; "Add to queue"
  sets the job's priority; the event listener survives any failure and always
  releases its frames and connection.
- An account that may render but not edit picks the preset to render without
  changing the project; preset cards and their batch boxes say why they wait.
- Export tab of a server sequence: no local encoder, notices or folder; no Jobs
  history link. Sync at 12 px beside a folder that keeps 96 px and trims.
- Restore's Undo puts back the project from before the restore, only while that
  restore is the editor's last change.
- Export "Sync" of a render that ends while the session is down is queued for the
  saved session's server; skips are logged; sync follows the engine before it
  starts.
- Capture: sequence-remote-export, -running and -readonly, and
  sequence-export-copies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-05 22:15:34 +00:00
1 parent 2813184b85
commit 757695f037
27 files changed
+932 -173

No files matched your search

+11 -1
View File
@@ -50,12 +50,14 @@
<data name="Editor.Copy.Same" xml:space="preserve"><value>Nothing to restore</value></data>
<data name="Editor.Copy.Undo" xml:space="preserve"><value>Undo</value></data>
<data name="Editor.Empty" xml:space="preserve"><value>Pick a sequence in the Library</value></data>
<data name="Editor.Error.FramesChanged" xml:space="preserve"><value>The frames of this sequence changed on the server; get its proxies again.</value><comment>long</comment></data>
<data name="Editor.Error.Missing" xml:space="preserve"><value>This sequence is no longer in the archive.</value><comment>long</comment></data>
<data name="Editor.Error.NoEngine" xml:space="preserve"><value>Jobs cannot run until the archive index is open.</value><comment>long</comment></data>
<data name="Editor.Error.Project" xml:space="preserve"><value>The settings of this sequence cannot be read.</value><comment>long</comment></data>
<data name="Editor.Error.RemoteReadOnly" xml:space="preserve"><value>Your account cannot change the sequences of this server.</value><comment>long</comment></data>
<data name="Editor.Error.SaveConflict" xml:space="preserve"><value>The settings of this sequence were changed elsewhere at the same time.</value><comment>long</comment></data>
<data name="Editor.Error.SavedCopy" xml:space="preserve"><value>The saved settings {0} cannot be read.</value><comment>long</comment></data>
<data name="Editor.Error.SignedOut" xml:space="preserve"><value>Connect to the server to open this sequence.</value><comment>long</comment></data>
<data name="Editor.Export.About" xml:space="preserve"><value>about {0}</value></data>
<data name="Editor.Export.AddToQueue" xml:space="preserve"><value>Add to queue</value></data>
<data name="Editor.Export.Batch" xml:space="preserve"><value>Batch…</value></data>
@@ -85,7 +87,7 @@
<data name="Editor.Export.Recommended" xml:space="preserve"><value>Recommended</value></data>
<data name="Editor.Export.RenderNow" xml:space="preserve"><value>Render now</value></data>
<data name="Editor.Export.Resolution" xml:space="preserve"><value>Resolution</value></data>
<data name="Editor.Export.Restore" xml:space="preserve"><value>Restore · {0}</value></data>
<data name="Editor.Export.Restore" xml:space="preserve"><value>Restore settings · {0}</value></data>
<data name="Editor.Export.RestoreName" xml:space="preserve"><value>Restore copy</value></data>
<data name="Editor.Export.Result" xml:space="preserve"><value>Result</value></data>
<data name="Editor.Export.Reveal" xml:space="preserve"><value>show file</value></data>
@@ -160,6 +162,8 @@
<data name="Editor.Optimise.Nothing" xml:space="preserve"><value>Nothing to change</value></data>
<data name="Editor.OptimiseAll" xml:space="preserve"><value>Optimise all</value></data>
<data name="Editor.OptimiseSection" xml:space="preserve"><value>Optimise section</value></data>
<data name="Editor.Outdated.Fetch" xml:space="preserve"><value>Get proxies</value></data>
<data name="Editor.Outdated.Title" xml:space="preserve"><value>Frames changed on {0}</value></data>
<data name="Editor.Preview" xml:space="preserve"><value>Preview</value></data>
<data name="Editor.Preview.ActualSize" xml:space="preserve"><value>1:1</value><comment>invariant</comment></data>
<data name="Editor.Preview.Clip" xml:space="preserve"><value>Preview 10 s</value></data>
@@ -177,9 +181,13 @@
<data name="Editor.Preview.Unreadable" xml:space="preserve"><value>This frame cannot be read.</value></data>
<data name="Editor.Preview.Vectors" xml:space="preserve"><value>Vectors</value></data>
<data name="Editor.Preview.Wipe" xml:space="preserve"><value>original | corrected</value></data>
<data name="Editor.Proxies.Failed" xml:space="preserve"><value>Proxies not received</value></data>
<data name="Editor.Proxies.Fetching" xml:space="preserve"><value>Getting the proxies</value></data>
<data name="Editor.Regions.Auto" xml:space="preserve"><value>Auto</value></data>
<data name="Editor.Regions.Horizon" xml:space="preserve"><value>Horizon</value></data>
<data name="Editor.Regions.Luminance" xml:space="preserve"><value>Luminance</value></data>
<data name="Editor.Remote.Outdated" xml:space="preserve"><value>{0} · proxies outdated</value></data>
<data name="Editor.Remote.ReadOnly" xml:space="preserve"><value>{0} · read-only</value></data>
<data name="Editor.Render" xml:space="preserve"><value>Render · {0}</value></data>
<data name="Editor.Render.Done" xml:space="preserve"><value>Render finished</value></data>
<data name="Editor.Render.Queued" xml:space="preserve"><value>Render queued</value></data>
@@ -191,6 +199,8 @@
<data name="Editor.Save.Failed" xml:space="preserve"><value>Changes not saved</value></data>
<data name="Editor.Save.Retry" xml:space="preserve"><value>Retry</value></data>
<data name="Editor.Sections" xml:space="preserve"><value>Sections</value></data>
<data name="Editor.ServerJob.Cancel" xml:space="preserve"><value>Cancel job</value></data>
<data name="Editor.ServerJob.Ended" xml:space="preserve"><value>{0} {1} on {2}</value></data>
<data name="Editor.ServerJob.Left" xml:space="preserve"><value>{0} left</value></data>
<data name="Editor.Shot.Aperture" xml:space="preserve"><value>f/{0}</value><comment>invariant</comment></data>
<data name="Editor.Shot.Focal" xml:space="preserve"><value>{0} mm</value><comment>invariant</comment></data>