Adding revisions for actor merges.

This commit is contained in:
2026-07-13 03:40:08 +02:00
parent 4031f35c73
commit e95145ff1a
2 changed files with 278 additions and 207 deletions

View File

@@ -128,6 +128,14 @@ const curatedRevisions = computed(() => revisions.value.map((revision) => {
};
}
if (delta.key === 'mergeTarget' || delta.key === 'mergeSource') {
// new socials don't have IDs yet, so we need to compare the values
return {
...delta,
value: `#${delta.actorId} ${delta.actorName} (${delta.profileIds.length} profiles${delta.profileIds.length > 0 ? `: ${delta.profileIds.join()}` : ''})`,
};
}
if (dateKeys.includes(delta.key) && delta.value) {
return {
...delta,