From 7652ddaae5e3d23930b458cd3c64d64e15c3efb9 Mon Sep 17 00:00:00 2001 From: Bkk1234 Date: Sat, 24 Oct 2026 00:20:12 +0700 Subject: [PATCH] stops: move the near-me result panel inside its own tab panel The result container had been left outside #stops-near-wrap and an earlier selout removed the wrong copy, so on /stops the map and ranked stops were rendered at the bottom of the page instead of inside the third tab, unlike the mock at :8090/ui/#/stops. Now the DOM matches the mock exactly: three tabs, three panels, the location button and its result inside the near panel, and only Search/Clear/Back in the toolbar. Compared side by side against :8090/ui/#/stops - tab order, panel visibility, active state, list visibility on the near tab, geolocation result (map plus 8 ranked stops), button re-enable and repeat press all identical. --- frontend/src/components/views/StopsView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/views/StopsView.tsx b/frontend/src/components/views/StopsView.tsx index 16c9f91..6470f61 100644 --- a/frontend/src/components/views/StopsView.tsx +++ b/frontend/src/components/views/StopsView.tsx @@ -67,7 +67,8 @@ export default function StopsView() {

ระบบจะขอตำแหน่งจากเครื่อง แล้วคำนวณระยะจากพิกัดป้าย/ศาลารถ เรียงจากใกล้ไปไกล

- +
@@ -75,7 +76,6 @@ export default function StopsView() {