Deduplication flow in CVU
-
Create CVU -
Handoff to Chaitanya
Schema
The following MR shows the relevant Schema items. Namely:
- Person -> mergedFrom -> Person
- SuggestedMerge -> mergeFrom -> Person
Please note that a merge or suggested merge can have more than 2 Person to merge from
How deduplicator plugin works
Please read this: https://gitlab.memri.io/plugins/person-deduplication#schema
Showing a list of suggested merges
Query all SuggestedMerge items with their task property set to "idle"
Clicking the Merge button
Set the task property of the SuggestedMerge item to "merge", then reload the view to display the new item
Clicking the Do not Merge button
Set the task property of the SuggestedMerge item to "ignore", then reload the view to display the new item
When the list of things to merge is empty
Display a screen to indicate to the user they are all done
N.B. This should all be doable in a single CVU screen