fix callsign search

This commit is contained in:
Graham McIntire 2025-07-04 12:43:05 -05:00
parent 802c6982c7
commit b620e2891a
No known key found for this signature in database

View file

@ -270,7 +270,7 @@ defmodule AprsmeWeb.MapLive.Index do
{:noreply, socket} {:noreply, socket}
else else
# Navigate to the callsign-specific route # Navigate to the callsign-specific route
{:noreply, push_navigate(socket, to: "/map/callsign/#{trimmed_callsign}")} {:noreply, push_navigate(socket, to: "/#{trimmed_callsign}")}
end end
end end
@ -695,7 +695,7 @@ defmodule AprsmeWeb.MapLive.Index do
</svg> </svg>
<h2 class="text-xl font-bold">APRS.me</h2> <h2 class="text-xl font-bold">APRS.me</h2>
</div> </div>
<!-- Close button for mobile --> <!-- Close button for mobile -->
<button <button
class="lg:hidden text-white hover:text-slate-200 transition-colors" class="lg:hidden text-white hover:text-slate-200 transition-colors"
@ -718,7 +718,7 @@ defmodule AprsmeWeb.MapLive.Index do
</svg> </svg>
</button> </button>
</div> </div>
<!-- Content --> <!-- Content -->
<div class="p-6 space-y-6 bg-slate-50 flex-1 overflow-y-auto"> <div class="p-6 space-y-6 bg-slate-50 flex-1 overflow-y-auto">
<!-- Callsign Search --> <!-- Callsign Search -->
@ -751,7 +751,7 @@ defmodule AprsmeWeb.MapLive.Index do
</button> </button>
</form> </form>
</div> </div>
<!-- Trail Duration --> <!-- Trail Duration -->
<div class="space-y-4"> <div class="space-y-4">
<label class="block text-sm font-semibold text-slate-700 flex items-center space-x-2"> <label class="block text-sm font-semibold text-slate-700 flex items-center space-x-2">
@ -810,7 +810,7 @@ defmodule AprsmeWeb.MapLive.Index do
<span>How long should position trails be displayed</span> <span>How long should position trails be displayed</span>
</p> </p>
</div> </div>
<!-- Historical Data --> <!-- Historical Data -->
<div class="space-y-4"> <div class="space-y-4">
<label class="block text-sm font-semibold text-slate-700 flex items-center space-x-2"> <label class="block text-sm font-semibold text-slate-700 flex items-center space-x-2">
@ -863,7 +863,7 @@ defmodule AprsmeWeb.MapLive.Index do
<span>How many hours of historical packets to load</span> <span>How many hours of historical packets to load</span>
</p> </p>
</div> </div>
<!-- Navigation --> <!-- Navigation -->
<div class="pt-4 border-t border-slate-200 space-y-3"> <div class="pt-4 border-t border-slate-200 space-y-3">
<div class="flex items-center space-x-2 text-sm text-slate-600 mb-3"> <div class="flex items-center space-x-2 text-sm text-slate-600 mb-3">
@ -879,7 +879,7 @@ defmodule AprsmeWeb.MapLive.Index do
</div> </div>
<.navigation variant={:vertical} class="text-sm" /> <.navigation variant={:vertical} class="text-sm" />
</div> </div>
<!-- Deployment Information --> <!-- Deployment Information -->
<div class="pt-4 border-t border-slate-200 space-y-3"> <div class="pt-4 border-t border-slate-200 space-y-3">
<div class="flex items-center space-x-2 text-sm text-slate-600"> <div class="flex items-center space-x-2 text-sm text-slate-600">