prop/test/microwaveprop
Graham McIntire 44b169b234 CSV upload preview with duplicate detection before commit
Uploads now show a review page with three summary cards (valid,
duplicates, invalid), tables for invalid and duplicate rows, and a
sample of the first 20 valid rows. Nothing is written to the database
until the user clicks "Looks good — submit N contacts".

Duplicate detection treats two rows as the same contact if they share
the same pair of (callsign, grid) tuples (direction-agnostic), the
same band, and timestamps within 60 minutes. Dedup runs against both
existing DB contacts (single band/time-scoped query) and earlier rows
in the same upload, and the preview labels which side matched.

CsvImport grows preview/2 + commit/1; the old import/2 is kept as a
thin backward-compat wrapper that skips dedup. Added 11 new CsvImport
tests and reworked the SubmitLive CSV tests for the two-step flow.
2026-04-09 12:30:10 -05:00
..
beacons Per-HRRR-cell beacon reception plot 2026-04-08 13:43:01 -05:00
commercial Add commercial link monitoring via SNMP polling 2026-03-30 13:02:59 -05:00
propagation Add 902-5760 MHz bands, centralize band options 2026-04-07 16:39:25 -05:00
radio CSV upload preview with duplicate detection before commit 2026-04-09 12:30:10 -05:00
terrain Rename qsos table to contacts, qso_id to contact_id 2026-04-02 15:52:19 -05:00
weather Add Tier 2 test coverage: SolarIndexWorker, HrrrFetchWorker, IemClient 2026-04-06 10:15:38 -05:00
workers Decouple propagation_scores pruning from the compute worker 2026-04-09 12:30:10 -05:00
accounts_test.exs Add is_admin flag, auto-grant to graham@mcintire.me 2026-04-08 11:43:52 -05:00
beacon_monitors_test.exs Add beacon monitor registration and fix prod SMTP 2026-04-08 11:30:28 -05:00
beacons_test.exs Add beacon bearing, beamwidth, and weak-signal keyings 2026-04-09 08:59:16 -05:00
commercial_test.exs Add commercial link monitoring via SNMP polling 2026-03-30 13:02:59 -05:00
markdown_test.exs Add Tier 1 test coverage: EnrichmentStatus, Markdown, health, RemoteIp, Maidenhead 2026-04-06 10:15:38 -05:00
propagation_test.exs Add 902-5760 MHz bands, centralize band options 2026-04-07 16:39:25 -05:00
radio_test.exs Replace boolean enrichment flags with enum status fields 2026-04-02 12:07:51 -05:00
terrain_test.exs Rename qsos table to contacts, qso_id to contact_id 2026-04-02 15:52:19 -05:00
weather_grid_test.exs Database performance fixes and async backfill enqueue 2026-04-04 19:19:18 -05:00
weather_test.exs Reduce dead tuples by using conditional upserts and skip-on-conflict 2026-04-04 17:32:57 -05:00