From 39b21af02715f5eb3eff3f39a79b170aa4121f36 Mon Sep 17 00:00:00 2001 From: Kesar Sidhu Date: Sun, 17 May 2026 13:30:35 -0700 Subject: [PATCH 1/8] Address Results top bar review feedback Show Save/Cancel only when a pin move is pending, disable Export until export modal ships, and restore a screen-reader Results heading. Co-authored-by: Cursor --- app/ui/src/app/results/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/src/app/results/page.tsx b/app/ui/src/app/results/page.tsx index 8ec3ad7d..e10535bd 100644 --- a/app/ui/src/app/results/page.tsx +++ b/app/ui/src/app/results/page.tsx @@ -166,7 +166,7 @@ export default function ResultsPage() { From 524a0da75c9360342147c59e0f203f657476f1c3 Mon Sep 17 00:00:00 2001 From: Kesar Sidhu Date: Sun, 17 May 2026 14:32:02 -0700 Subject: [PATCH 2/8] Rebase step2-routes-panel onto upstream/main Replay the full pre-rebase results stack (route colors, map polylines, top bar, left strip, routes panel) on current upstream/main in one commit to avoid conflicts with directions work already merged upstream. Co-authored-by: Cursor --- .../components/layout/sidebar/Sidebar.tsx | 5 +- .../layout/sidebar/SidebarResultsButton.tsx | 53 +++- .../src/app/edit/utils/hasOptimizeResults.ts | 16 ++ app/ui/src/app/results/components/Sidebar.tsx | 265 +++++++++--------- app/ui/src/app/results/page.tsx | 13 +- app/ui/src/app/results/types.ts | 1 - 6 files changed, 211 insertions(+), 142 deletions(-) create mode 100644 app/ui/src/app/edit/utils/hasOptimizeResults.ts diff --git a/app/ui/src/app/edit/components/layout/sidebar/Sidebar.tsx b/app/ui/src/app/edit/components/layout/sidebar/Sidebar.tsx index d7d55f8b..a48a5187 100644 --- a/app/ui/src/app/edit/components/layout/sidebar/Sidebar.tsx +++ b/app/ui/src/app/edit/components/layout/sidebar/Sidebar.tsx @@ -2,11 +2,12 @@ import { SIDEBAR_ROOT, SIDEBAR_NAV } from "@/app/edit/formStyles.v2"; type SidebarProps = { children: React.ReactNode; + className?: string; }; -export default function Sidebar({ children }: SidebarProps) { +export default function Sidebar({ children, className }: SidebarProps) { return ( -