In tables listing individuals (e.g., Contributors, Authors, Maintainers), it's currently possible to have duplicate entries for the same person (e.g., identical Given Name and Family Name).
Introduce a feature to merge duplicate person entries based on matching Given Name and Family Name. This should consolidate their associated roles (checkboxes).
Merge logic:
- Detect duplicate entries by Given Name and Family Name (possibly case-insensitive).
- Role Consolidation: When merging entries, combine their associated roles. If any of the duplicate entries has a role selected (via checkbox), the merged entry should retain that role.
Merging can be handled either:
- Pre-rendering: Perform the merge before the page is loaded.
- User-initiated: Allow users to trigger a merge action manually via the UI.