From e87c3291e7e89eccfcbc52421628a9e9716887f5 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Mon, 9 Mar 2026 09:33:35 -0700 Subject: [PATCH] Add sidebar to proxy app --- apps/yaak-proxy/main.tsx | 78 +++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/apps/yaak-proxy/main.tsx b/apps/yaak-proxy/main.tsx index 98e3e20a..109b0008 100644 --- a/apps/yaak-proxy/main.tsx +++ b/apps/yaak-proxy/main.tsx @@ -2,6 +2,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { type } from "@tauri-apps/plugin-os"; import { HeaderSize } from "@yaakapp-internal/ui"; import { ActionButton } from "./ActionButton"; +import { Sidebar } from "./Sidebar"; import classNames from "classnames"; import { createStore, Provider, useAtomValue } from "jotai"; import { StrictMode } from "react"; @@ -57,45 +58,48 @@ function App() { Yaak Proxy -
-
- - -
+
+ +
+
+ + +
-
- {exchanges.length === 0 ? ( -

No traffic yet

- ) : ( - - - - - - - - - - {exchanges.map((ex) => ( - - - - +
+ {exchanges.length === 0 ? ( +

No traffic yet

+ ) : ( +
MethodURLStatus
{ex.method}{ex.url}{ex.resStatus ?? "—"}
+ + + + + - ))} - -
MethodURLStatus
- )} -
-
+ + + {exchanges.map((ex) => ( + + {ex.method} + {ex.url} + {ex.resStatus ?? "—"} + + ))} + + + )} +
+
+ ); }