Titano: Library completion, remote editing, accessibility and RTL pass, remaining translations #3

Merged
Alby96 merged 117 commits from claude/keen-knuth-uhxv8w into main 2026-10-12 09:24:21 +02:00
Showing only changes of commit fb0d8cceae - Show all commits
+12 -2
View File
@@ -261,8 +261,18 @@ public sealed class SequenceTrash
var record = new TrashRecord(row, await _db.Renders.ListBySequenceAsync(sequence.Id, cancellationToken).ConfigureAwait(false), step.Files,
step.Bytes, DateTimeOffset.UtcNow, deletedBy);
// The record first: a crash before the move leaves a record without a folder, which the listing ignores.
AtomicFile.WriteAllText(Path.Combine(trash, name + RecordExtension), JsonSerializer.Serialize(record, TrashJson.Default.TrashRecord));
Directory.Move(folder.Folder, Path.Combine(trash, name));
var recordPath = Path.Combine(trash, name + RecordExtension);
AtomicFile.WriteAllText(recordPath, JsonSerializer.Serialize(record, TrashJson.Default.TrashRecord));
try
{
Directory.Move(folder.Folder, Path.Combine(trash, name));
}
catch (Exception ex) when (ex is IOException or UnauthorizedAccessException)
{
// A file of the folder is open elsewhere: nothing moved, so the record goes and the rows stay.
File.Delete(recordPath);
throw;
}
entry = Entry(archive.Id, name, record);
}
await using (var tx = await _db.BeginAsync(cancellationToken).ConfigureAwait(false))