fix(copies): close the fourth verification round of owner review 6
The fourth verification round of the matches work found 18 defects in the merge, Integrate and Matches surfaces. This commit fixes them: - An Integrate job now carries the planning account's id, so its re-plan decides ownership the way the dialog did. - A merge skips only a project the kept sequence holds a real copy of (name, offset head and history content) and re-points its renders to that copy. - A merge runs its trash checks before the Links stage and records an undo, so an abandoned merge gives the other sequence back its link, session keys and pairs. - The metered hold adopts automatic transfers that were paused before a restart. - Apply in the Compare dialog re-plans when the plan is pending or stale. - The Library's Two versions... lists the second versions a Union merge leaves, each with Drop... (dry run, confirmation, verified partner). A merge job's Open shows that list. - The merge's typed confirmation is the invariant count, and the prompt names it in all 38 languages. - Italian text uses Principale and Gemello. The Main project is named through WorkspaceText in the Projects part and in the twin tooltip. - The session keys tooltip is split into two keys, and To trash... and Delete on server... say why they are disabled. - The capture restores the editor account before the Matches scenes. - Upload again follows SyncHost.CanSendSync (Upload with Edit). - Matches rows trim archive names in the middle on a rebalanced grid; the Projects part rows trim, with the full text in the tooltip. - The sample project targets use ProjectTransplant.FreeName. DECISIONS, CHANGELOG, STATUS 8.7, the request doc and the 16 changed capture baselines are updated. Refs #73 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3c99badcfe
commit
2c06e7ac2b
171 files changed
+1591
-218
No files matched your search
+9
-2
@@ -960,7 +960,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-17 | A Corrupt or Missing frame on this PC whose photo the server holds is repaired by an Integrate through the ordinary fetch: the plan lists it as a Fetch (the comparison leaves unusable frames out), and the ingest replaces the damaged holder in place, the old file moved aside as `.damaged-<time>` (#73) | A repair step of its own | Design §5c says unusable photos are fetched or sent as a repair; the ingest already repairs a damaged holder of the same SHA-256, so no new code was needed, only a test |
|
||||
| 2026-11-17 | A merge's Verify stage hashes each frame of the other sequence; one already held is Verified, one tombstoned in the kept sequence is Absent, an unhashed one the kept sequence does not hold is filed as a second version; a photo that fails verification but is held elsewhere in this PC's index is Settled. Trash proceeds only when every usable frame of the other sequence is in one of these lists (#73) | Skip what cannot be read | Owner Q2: nothing goes to the trash unverified; Settled avoids a retry loop on a photo the other sequence deleted that this PC still holds elsewhere |
|
||||
| 2026-11-17 | A local cull (Score.DeletedHere) no longer counts as needing attention; only the other side's deletions (DeletedThere) do (#73) | Give DeletedHere a state word and an action | Photos the user deleted on this PC are the user's own act; the Review action already covers the other side |
|
||||
| 2026-11-17 | A merge's second versions are found again from the kept sequence's frames (`CopySides.VersionsAsync`: two usable hashed frames of one sub-second capture instant with different SHA-256), with no new table (#73) | A table of the filed pairs | The frames already carry what the pair needs; the Library/Edit list with Drop… is a follow-up |
|
||||
| 2026-11-17 | A merge's second versions are found again from the kept sequence's frames (`CopySides.VersionsAsync`: two usable hashed frames of one sub-second capture instant with different SHA-256), with no new table (#73) | A table of the filed pairs | The frames already carry what the pair needs; the Library lists them (Two versions…, below) |
|
||||
| 2026-11-17 | Compare › Details groups the lines of one setting into one row (`SyncText.DetailSetting`) with one choice applied to every path; values unknown to the sync's wording read "changed", the raw JSON in the tooltip (#73) | One row per JSON path | An Auto parameter's members and the parked positions are one decision for the user |
|
||||
| 2026-11-17 | The Compare photo list keeps each row's selection from the list's SelectionChanged (`ListSelection.SyncsRows`), not only from the realised rows' IsSelected binding (#73) | Turn virtualisation off | A long class list must stay virtualised; Ctrl+A must reach the hidden rows |
|
||||
| 2026-11-17 | Automatic photo transfers (an integrated pair's new photos) are held on a metered connection whatever the "pause on metered" option says; manual transfers follow the option (#73) | Follow the option for every transfer | Owner Q6: new photos move by themselves "with a metered pause"; the option still governs what the user starts |
|
||||
@@ -969,8 +969,15 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-17 | The Plan's "Server uses ours" line counts only the versions whose server version goes to its trash or out of its Main (`IntegratePlan.ServerUsesOurs`); a losing server version that stays for want of the right to delete it is listed as "stays: needs the Delete right" (`StaysForDelete`) and kept out of the server's Main by the payload (#73; replaces the earlier row that counted every version sent) | Count every version sent | A version sent but not used by the server's Main would be reported as used |
|
||||
| 2026-11-17 | Who may trash photos of a server sequence is decided per sequence: the admin role (`CopyPlanContext.OwnsOrAdmin`, from the role or the ManageUsers permission only an admin holds) or the account that owns that sequence (its `OwnerUserId`), each with the Delete right; Integrate plans and Compare's Delete on server follow it (#73; replaces approximating ownership with the Delete right) | Approximate ownership with the Delete or Edit right | The server's DeleteFramesAsync allows the owner or an admin only: an Editor's plan would fail at the dry run with a 403 |
|
||||
| 2026-11-17 | An Integrate's Details stage absorbs a server change made since the plan only on lines the plan did not have, or where the user took the server's value; a change to a title, tags, rating or notes line where the user kept this PC's value stops the stage (`Errors.Copies.DetailsChanged`) and overwrites neither side (#73) | Absorb every server change since the plan | Absorbing would silently overwrite the server's new value with this PC's on a line the user decided before that value existed |
|
||||
| 2026-11-17 | A merge retried after a stop re-checks before the trash that nothing reached the other sequence since its plan: its settings version, a project not planned (or moved on to another head) whose head the kept sequence does not hold, a render not moved whose file the kept one does not hold, and the photos a third sequence held at the verify; any of these drops the journal and asks for a new plan (`Errors.Copies.Changed`); the plan skips the other's projects whose head the kept sequence already holds (#73) | Trust the journal written before the stop | Work sent home into the other after the stop would go to the trash with it, never copied |
|
||||
| 2026-11-17 | A merge retried after a stop re-checks before the trash that nothing reached the other sequence since its plan: its settings version, a project not planned (or moved on to another head) that the kept sequence does not hold, a render not moved whose file the kept one does not hold, and the photos a third sequence held at the verify; any of these drops the journal and asks for a new plan (`Errors.Copies.Changed`); the plan skips only an other's project the kept sequence holds a copy of (`SequenceMerger.HeldAsync`: a kept non-Main project named after it, one version ahead, every version's content the same at the copy's offset), and that project's renders are re-pointed to the copy and its head; a kept project that merely has the same head is no copy (#73; tightened by the fourth verification round) | Trust the journal written before the stop | Work sent home into the other after the stop would go to the trash with it, never copied |
|
||||
| 2026-11-17 | Detection removes a stale pair only while it is still an unanswered Candidate (`FoundCopyStore.DeleteCandidateAsync`): an answer given while detection ran stays (#73) | Delete by id | A Keep apart or a Link given during a detection pass was erased |
|
||||
| 2026-11-17 | The merge dialog plans once on opening to learn the sequence kept by default, so its photos read Kept and Other from the start; with no default (both equal) they read the two archives' names until one is kept (#73) | Read Kept for the pair's first until a plan runs | The wrong sequence was called "Kept" until the Plan part was opened |
|
||||
| 2026-11-17 | A sync row whose match the server deleted offers the Matches row's Keep here, Upload again and To trash… (Upload again only once kept here), as new `SyncAction` values appended to the enum (#73) | Offer them on the Matches list only | Design §6.3 puts them on the local row; the row read "deleted on server" with no action |
|
||||
| 2026-11-17 | The capture's edit-picker-twins scene lists two sample workspace projects (the integrated pair's Main, a Vertical of a pair still to answer) through `SequencePickerViewModel.ShowSampleWorkspaceAsync`, since a capture has no workspace (`WorkspaceHost.IsEnabled`); the Twin chip is marked by the picker's own twin lookup (#73) | Enable the workspace in a capture | The capture's sample library has no engine to copy media; without it the scene showed no Workspace group and no chip |
|
||||
| 2026-11-17 | A merge runs its trash checks (unsent work, work since the plan, the frames version, the other's archive readable, the verified held photos, the trash dry run) before its Links stage moves the other's session keys, links and pairs; the move records an undo (`MergeLinksUndo` in the journal) that a failure, a stop, a Forget or a stale resume applies before the journal goes, so an abandoned merge leaves the other sequence its links and keys (#73) | Run the checks at the Trash stage only | A merge abandoned at the trash left the surviving other sequence without its link and keys |
|
||||
| 2026-11-17 | An Integrate job carries the planning account's id (`IntegrateJobContext.UserId`), so its re-plan decides ownership as the dialog did (#73) | Re-plan with admin rights only | A non-admin owner's job planned differently from the dialog and was refused as changed |
|
||||
| 2026-11-17 | The metered hold adopts at each pass the automatic transfers it finds paused (a restart forgets what it paused), and resumes them once the connection is not metered; a paused manual transfer stays paused (#73) | Remember the paused ids in settings | A restart while metered left the integrated pairs' new photos paused for good |
|
||||
| 2026-11-17 | The Compare dialog's Apply re-plans first while a plan is pending or when the shown plan was made for other choices (kept sequence, policy, per-photo, details, projects) (#73) | Disable Apply during the 300 ms debounce | A quick Apply confirmed the previous choices' plan |
|
||||
| 2026-11-17 | Two versions… on the Library's card and row menu of a local sequence lists the photos it keeps in two versions (`ICopyEngine.VersionsAsync`), each version with Drop…: a dry run, a confirmation naming the version that goes and the one that stays, then the archive trash, applied only while the other version is still there, usable and verified by content; a merge job's Open shows it when the kept sequence has any. The item is in the menu of every local card (an empty list says so) (#73) | Show the item only when the count is above zero | Counting needs a frames read per card; owner Q3 wants the versions findable after the pair is gone |
|
||||
| 2026-11-17 | A merge's typed confirmation is the other's photo count without separators (invariant), and the prompt names it ("Type {1}, the number of photos of {0}, to confirm") (#73) | The count in the UI culture | "1.204" in Italian could not be typed as "1204", and the prompt did not say what to type |
|
||||
| 2026-11-17 | A Matches row trims a long archive or server name in its middle (24 characters, `CopyText.MiddleTrim`), the whole text in its tooltip; the columns are Sequence `*`, the sides `1.4*` (180 px at least), State 160, Actions `1.4*` (#73) | An end ellipsis | Archives named alike differ at their end |
|
||||
Reference in new issue
Block a user