feat(app): Edit opens workspace projects, with versions, sync and the project menu

Owner review 2, phase 5a (R8), desktop package: editing moves out of the library. A sequence of this PC's archive
now opens in Edit as a project of the workspace (%LOCALAPPDATA%\Chronos\workspace, .\data\workspace when portable),
with this PC's archive as its home; the editor writes the workspace's working state, never the library.

- WorkspaceHost composes WorkspaceStore and WorkspaceSync over Settings > Workspace's folder: checkout and the
  WorkspaceCopy job, status, Save version with the sync after it (Sync automatically, on by default), sync (pull,
  then push), conflicts, restore, history, new / rename / delete project, and Remove local copy, which refuses
  while work is unsent unless the user sends it first or discards it, reads back the home's head and base and
  checks their hashes, and keeps discarded work in <workspace>/.trash; versions past Kept versions are pruned only
  once the home returns them with the same content.
- WorkspaceSequenceSource: frames and pixels of the media (proxies), the working state saved atomically under the
  project's lease and merged against the basis, the home's deep report while its frames are the media's, renders
  at the home with the portable settings recording the project and the version.
- Edit: the project opened last for the sequence, else "Open in workspace" (Main made from the sequence's settings,
  another project or a new one; proxies) checks out, copies and opens once the copy is done. The picker lists the
  workspace's projects with their state above the library. The title's project menu: Save version (Ctrl+S, note),
  Sync, History (compare, restore as one undo step), New project, Rename, Delete project, Remove local copy; a
  conflict dialog only on real conflicts (keep mine, take the library's, save both, later); Update media when the
  library's frames moved. .chronos files: format 2 opens its project, format 1 gives its settings to Main.
- Settings > Workspace: folder (shown, Open), Sync automatically, Kept versions. Strings in English and Italian.
- A capture (sample data without an engine) keeps editing the library.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit da47a580ba9db3ce2a1db2f11c30cf7344c8b394)
This commit is contained in:
Alby96 committed 2026-10-27 22:53:05 +01:00
1 parent 03d32f18d3
commit b9d1c396a1
37 files changed
+4547 -104

No files matched your search

+14
View File
@@ -48,9 +48,23 @@
<data name="Errors.Template.UnknownToken" xml:space="preserve"><value>Segnaposto sconosciuto «{0}» alla posizione {1}.</value></data>
<data name="Errors.Template.UnopenedBrace" xml:space="preserve"><value>La parentesi graffa chiusa alla posizione {1} non ha un'apertura; raddoppiala per una graffa letterale.</value></data>
<data name="Errors.Unexpected" xml:space="preserve"><value>Si è verificato un problema.</value></data>
<data name="Errors.Workspace.Conflict" xml:space="preserve"><value>Risolvi prima il conflitto: Sincronizza mostra quali impostazioni sono diverse.</value></data>
<data name="Errors.Workspace.CopyMismatch" xml:space="preserve"><value>{0} non corrispondeva all'originale dopo la copia.</value></data>
<data name="Errors.Workspace.Damaged" xml:space="preserve"><value>Un file di questo progetto nello spazio di lavoro non è leggibile; il log lo indica.</value></data>
<data name="Errors.Workspace.EditNotStored" xml:space="preserve"><value>L'ultima modifica non è ancora stata memorizzata; viene ritentata, riprova tra un momento.</value></data>
<data name="Errors.Workspace.HomeCheck" xml:space="preserve"><value>La copia di questo progetto nella libreria non corrisponde a quanto inviato; non è stato rimosso nulla.</value></data>
<data name="Errors.Workspace.InvalidName" xml:space="preserve"><value>Il nome di un progetto ha da 1 a 60 caratteri.</value></data>
<data name="Errors.Workspace.MainKept" xml:space="preserve"><value>Il progetto Principale contiene le impostazioni della sequenza: non può essere eliminato.</value></data>
<data name="Errors.Workspace.MediaChanged" xml:space="preserve"><value>Le foto di questo progetto nello spazio di lavoro sono cambiate; l'editor le rilegge.</value></data>
<data name="Errors.Workspace.MediaMissing" xml:space="preserve"><value>Lo spazio di lavoro non ha foto di questo progetto; riaprilo per copiarle.</value></data>
<data name="Errors.Workspace.NameTaken" xml:space="preserve"><value>Un altro progetto di questa sequenza ha già quel nome.</value></data>
<data name="Errors.Workspace.NotCheckedOut" xml:space="preserve"><value>Il progetto non è più nello spazio di lavoro.</value></data>
<data name="Errors.Workspace.Offline" xml:space="preserve"><value>La libreria ora non è raggiungibile; il tuo lavoro resta nello spazio di lavoro e potrà essere inviato quando torna.</value></data>
<data name="Errors.Workspace.OriginalsLater" xml:space="preserve"><value>Per ora lo spazio di lavoro copia i proxy; la copia degli originali arriverà in una versione successiva.</value></data>
<data name="Errors.Workspace.OtherHome" xml:space="preserve"><value>Il progetto dello spazio di lavoro appartiene a un'altra sequenza.</value></data>
<data name="Errors.Workspace.Parameters" xml:space="preserve"><value>Il job di copia di lavoro non ha parametri validi.</value></data>
<data name="Errors.Workspace.ProjectGone" xml:space="preserve"><value>Questo progetto non è più nella libreria.</value></data>
<data name="Errors.Workspace.ReadOnly" xml:space="preserve"><value>Questo progetto è stato salvato da un Chronos più recente: si apre in sola lettura.</value></data>
<data name="Errors.Workspace.Refused" xml:space="preserve"><value>La libreria ha rifiutato una versione di questo progetto; il log spiega il motivo.</value></data>
<data name="Errors.Workspace.Unsent" xml:space="preserve"><value>Parte del lavoro non è ancora nella libreria: prima inviala oppure scartala.</value></data>
</root>