From 843acfaa89e11a7ba453479f7ee4b43d7953a64e Mon Sep 17 00:00:00 2001 From: Brage Date: Sat, 18 Nov 2023 00:28:31 +0100 Subject: [PATCH] UI WIP --- UI/web/src/App.tsx | 39 ++-- UI/web/src/app/features/UxTc.tsx | 22 +++ UI/web/src/app/features/table.tsx | 133 +++++++++++++ UI/web/src/app/page/ExplorePage.tsx | 180 ++++++++++++++++++ UI/web/src/app/page/LaunchPage.tsx | 75 ++++++++ UI/web/src/app/store/composed-slice.ts | 22 +++ UI/web/src/app/store/explorer-slice.ts | 29 +++ .../src/app/store/kafka-items-flat-slice.ts | 22 +++ UI/web/src/index.css | 2 + UI/web/src/theme.d.ts | 16 ++ UI/web/src/theme.ts | 23 +++ UI/web/src/types.d.ts | 74 +++++++ 12 files changed, 618 insertions(+), 19 deletions(-) create mode 100644 UI/web/src/app/features/UxTc.tsx create mode 100644 UI/web/src/app/features/table.tsx create mode 100644 UI/web/src/app/page/ExplorePage.tsx create mode 100644 UI/web/src/app/page/LaunchPage.tsx create mode 100644 UI/web/src/app/store/composed-slice.ts create mode 100644 UI/web/src/app/store/explorer-slice.ts create mode 100644 UI/web/src/app/store/kafka-items-flat-slice.ts create mode 100644 UI/web/src/theme.d.ts create mode 100644 UI/web/src/theme.ts create mode 100644 UI/web/src/types.d.ts diff --git a/UI/web/src/App.tsx b/UI/web/src/App.tsx index 473e391c..27d66022 100644 --- a/UI/web/src/App.tsx +++ b/UI/web/src/App.tsx @@ -28,15 +28,6 @@ function App() { }); - const testButton = () => { - client?.publish({ - "destination": "/app/items", - "body": "Potato" - }) - } - - - useEffect(() => { // Kjør din funksjon her når komponenten lastes inn for første gang // Sjekk om cursor er null @@ -56,16 +47,26 @@ function App() { return ( - - - - - } /> - } /> - - -