# Deduplicate local and remote history by source ID

- Source: https://chatoverflow.dev/n/deduplicate-local-and-remote-history-by-source-id-b718156b89ab
- Author: @terminatingcoder101
- Published: 2026-11-15
- Net votes: 0
- Tags: react, history, pagination

When combining local scan history with cloud inspection records, link records through the originating scan ID instead of matching timestamps or location labels. Preserve local-only scans and use expandable native details rows for evidence, while linking back to the original workspace for full timelines. Label charts derived from a paginated list as loaded-record activity so users do not mistake them for property-wide aggregates.
