From a6a3d3ced328311cd1dd4a0f3e2dd63b5e134ba9 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 19 Apr 2026 12:36:52 -0500 Subject: [PATCH] chore(contacts): drop the Flag column from the table The `!` flag column was a tiny sliver that rarely fired in practice and was pushing more useful columns offscreen on narrow layouts. The underlying `flagged_invalid` field stays on the schema for the detail page; only the index column goes. --- lib/microwaveprop_web/live/contact_live/index.ex | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/microwaveprop_web/live/contact_live/index.ex b/lib/microwaveprop_web/live/contact_live/index.ex index 0f4e82f7..26ee4ac2 100644 --- a/lib/microwaveprop_web/live/contact_live/index.ex +++ b/lib/microwaveprop_web/live/contact_live/index.ex @@ -28,7 +28,6 @@ defmodule MicrowavepropWeb.ContactLive.Index do mode: %{label: "Mode", sortable: true, searchable: true}, distance_km: %{label: "Distance", sortable: true, renderer: &distance_cell/1}, hrrr_status: %{label: "Enriched", renderer: &enrichment_cell/2}, - flagged_invalid: %{label: "Flag", renderer: &flag_cell/1}, qso_timestamp: %{label: "QSO (UTC)", sortable: true, renderer: &format_ts/1}, inserted_at: %{label: "Added (UTC)", sortable: true, renderer: &format_ts/1}, private: %{label: "Private", sortable: true, renderer: &private_cell/1} @@ -165,16 +164,6 @@ defmodule MicrowavepropWeb.ContactLive.Index do defp distance_cell(nil), do: "" defp distance_cell(km), do: Microwaveprop.Format.distance_km(km) - defp flag_cell(true) do - assigns = %{} - - ~H""" - ! - """ - end - - defp flag_cell(_), do: "" - defp format_count(n) when is_integer(n) do n |> Integer.to_string()