mirror of
https://github.com/penpot/penpot.git
synced 2026-11-26 21:00:32 +00:00
A branch review, its verdicts, activity, threads, and tasks now hang off the file family (a file and every branch cut from it), so they outlive the branch file. Migration 0817: - adds file_family, family_id on files and on the rows they own, real foreign keys for review_id and merge_id, and thread numbers per family, renumbered once; - renames the review entity and its commands (file_branch_review, file_branch_reviewer with a nullable verdict, pinned revision columns), the compare marks (file_branch_change_mark, directions branch->source and source->branch), and the backend's main to source; - derives a review's target from the branch edge. At a merge, a thread moves to the target only when it holds an open task, whole with its tasks, or when it was written outside any review. Every other thread stays on the closed review, survives the purge of the branch file, and is listed by get-branch-review-threads. move-branch-review-thread brings one to the target later. A branch deleted without a merge takes its reviews, threads, and tasks with it. Branches of branches are built behind the branch-stacking flag, off by default. AI-assisted-by: mixed models
17 lines
298 B
JSON
17 lines
298 B
JSON
{
|
|
"~:changes": [],
|
|
"~:conflicts": [],
|
|
"~:stats": {
|
|
"~:added": 0,
|
|
"~:modified": 0,
|
|
"~:deleted": 0,
|
|
"~:conflicts": 0
|
|
},
|
|
"~:meta": {
|
|
"~:base-at": "~m1713536343369",
|
|
"~:source-at": "~m1713873823633",
|
|
"~:branch-at": "~m1713873823633",
|
|
"~:source-revn": 11
|
|
}
|
|
}
|