diff --git a/apps/frontend/src/ui/App.tsx b/apps/frontend/src/ui/App.tsx index 463bee71..dda1ebd8 100644 --- a/apps/frontend/src/ui/App.tsx +++ b/apps/frontend/src/ui/App.tsx @@ -18,7 +18,7 @@ function App(props: ParentProps) { return ( -
+
diff --git a/apps/frontend/src/ui/components/ScrollableContainer.tsx b/apps/frontend/src/ui/components/ScrollableContainer.tsx index 7dca2a02..b9b6e5a4 100644 --- a/apps/frontend/src/ui/components/ScrollableContainer.tsx +++ b/apps/frontend/src/ui/components/ScrollableContainer.tsx @@ -5,7 +5,7 @@ function ScrollableContainer(props: ParentProps) { return (
-
+
{props.children}
diff --git a/apps/frontend/src/ui/components/SettingsRow.tsx b/apps/frontend/src/ui/components/SettingsRow.tsx index 166e18a2..7f6a98c5 100644 --- a/apps/frontend/src/ui/components/SettingsRow.tsx +++ b/apps/frontend/src/ui/components/SettingsRow.tsx @@ -10,7 +10,7 @@ export type SettingsRowProps = ParentProps & { function SettingsRow(props: SettingsRowProps) { return (
+
{section => (
@@ -49,7 +49,7 @@ function Sidebar(props: SidebarProps) { goto(link[2], link[3])} class={ - `px-3 py-1 rounded-md text-md hover:bg-component-bg-hover active:bg-component-bg-pressed ${isActive(link[2], link[3]) ? 'bg-component-bg' : ''}` + `px-3 py-1 rounded-md text-md border hover:bg-component-bg-hover active:bg-component-bg-pressed ${isActive(link[2], link[3]) ? 'bg-component-bg border-gray-05' : 'border-transparent'}` } > diff --git a/apps/frontend/src/ui/components/WindowFrame.tsx b/apps/frontend/src/ui/components/WindowFrame.tsx index 80ead18b..9c6679e3 100644 --- a/apps/frontend/src/ui/components/WindowFrame.tsx +++ b/apps/frontend/src/ui/components/WindowFrame.tsx @@ -15,7 +15,7 @@ interface TitlebarButtonProps { function TitlebarButton(props: TitlebarButtonProps) { return ( @@ -51,7 +51,7 @@ function WindowFrame() { }); return ( -
+
history.back()} />
diff --git a/apps/frontend/src/ui/components/base/Dropdown.module.scss b/apps/frontend/src/ui/components/base/Dropdown.module.scss index c40e8028..7a936649 100644 --- a/apps/frontend/src/ui/components/base/Dropdown.module.scss +++ b/apps/frontend/src/ui/components/base/Dropdown.module.scss @@ -10,7 +10,7 @@ } .dropdown_element { - @apply bg-secondary rounded-lg border border-gray-05 p-1 shadow-md shadow-black/30 h-full; + @apply bg-page-elevated rounded-lg border border-gray-05 p-1 shadow-md shadow-black/30 h-full; } .list { diff --git a/apps/frontend/src/ui/components/content/FormattedLog.tsx b/apps/frontend/src/ui/components/content/FormattedLog.tsx index 545ab527..36cb4587 100644 --- a/apps/frontend/src/ui/components/content/FormattedLog.tsx +++ b/apps/frontend/src/ui/components/content/FormattedLog.tsx @@ -40,7 +40,7 @@ function FormattedLog(props: FormattedLogProps) { return (
-
+
} diff --git a/apps/frontend/src/ui/components/overlay/ContextMenu.tsx b/apps/frontend/src/ui/components/overlay/ContextMenu.tsx index ef8fad67..c4dcd824 100644 --- a/apps/frontend/src/ui/components/overlay/ContextMenu.tsx +++ b/apps/frontend/src/ui/components/overlay/ContextMenu.tsx @@ -36,7 +36,7 @@ function ContextMenu(props: ContextMenuProps) { visible={props.visible} setVisible={props.setVisible} > -
+
{props.children}
diff --git a/apps/frontend/src/ui/components/overlay/Modal.tsx b/apps/frontend/src/ui/components/overlay/Modal.tsx index 48a47e62..304afd16 100644 --- a/apps/frontend/src/ui/components/overlay/Modal.tsx +++ b/apps/frontend/src/ui/components/overlay/Modal.tsx @@ -127,7 +127,7 @@ export type ModalProps = { function Modal(props: ModalProps) { return ( -
+
{props.children}
); diff --git a/apps/frontend/src/ui/components/overlay/account/AccountsPopup.tsx b/apps/frontend/src/ui/components/overlay/account/AccountsPopup.tsx index ff5bb8bb..4ee10237 100644 --- a/apps/frontend/src/ui/components/overlay/account/AccountsPopup.tsx +++ b/apps/frontend/src/ui/components/overlay/account/AccountsPopup.tsx @@ -60,7 +60,7 @@ function AccountPopup(props: Popup.PopupProps) { return ( -
+
JSX.Eleme } return ( -
+
Header Image diff --git a/apps/frontend/src/ui/components/overlay/notifications/NotificationPopup.tsx b/apps/frontend/src/ui/components/overlay/notifications/NotificationPopup.tsx index ea427471..b8479579 100644 --- a/apps/frontend/src/ui/components/overlay/notifications/NotificationPopup.tsx +++ b/apps/frontend/src/ui/components/overlay/notifications/NotificationPopup.tsx @@ -35,7 +35,7 @@ function NotificationPopup(props: Popup.PopupProps) { return ( -
+

Notifications

diff --git a/apps/frontend/src/ui/pages/browser/BrowserMain.tsx b/apps/frontend/src/ui/pages/browser/BrowserMain.tsx index 18de59c5..adbfd690 100644 --- a/apps/frontend/src/ui/pages/browser/BrowserMain.tsx +++ b/apps/frontend/src/ui/pages/browser/BrowserMain.tsx @@ -66,7 +66,7 @@ function BrowserMain() { return (
-
+
{ const unlisten = await bridge.events.processPayload.listen((event) => { - if (event.payload.event === 'logging' && event.payload.uuid === params.process_uuid) - render(() => , codeRef); + if (event.payload.uuid !== params.process_uuid) + return; - if (event.payload.event === 'finished' && event.payload.uuid === params.process_uuid && cluster() !== undefined) + if (event.payload.event === 'logging') + render(() => , codeRef); + else if (event.payload.event === 'finished') setIsRunning(false); }); diff --git a/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx b/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx index 97a8de1d..46d0caf0 100644 --- a/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx +++ b/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx @@ -258,7 +258,7 @@ function Banner(props: BannerProps) { } return ( -
+
= self.client.write().await;