From 95cef714902bbcbdc3ef016457e7a77d38293ea8 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 22 Jul 2024 16:31:12 +0100 Subject: feat(gui): background terminals and more (#2303) * fixes & allow for background terminals to stay running * status indicators etc --- ui/src/App.tsx | 211 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 110 insertions(+), 101 deletions(-) (limited to 'ui/src/App.tsx') diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 27c57207..5963d31e 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -131,127 +131,136 @@ function App() { return (
-
-
-
- icon +
+
+
+
+ icon +
-
- - - - - + + + -
- - - - - - - - + - } - > - Settings - +
+ + + + + + + + - open("https://forum.atuin.sh")} + key="settings" + description="Configure Atuin" startContent={ - + } > - Help & Feedback + Settings - {(user.username && ( + open("https://forum.atuin.sh")} startContent={ - + } - onClick={() => { - logout(); - refreshUser(); - }} - > - Log Out - - )) || ( - } - onPress={onOpen} > - Log in or Register + Help & Feedback - )} - - - + + {(user.username && ( + + } + onClick={() => { + logout(); + refreshUser(); + }} + > + Log Out + + )) || ( + } + onPress={onOpen} + > + Log in or Register + + )} + + + +
-
- {renderMain(section)} + {renderMain(section)} - - - - {(onClose) => ( - <> - - - )} - - + + + + {(onClose) => ( + <> + + + )} + + +
); } -- cgit v1.3.1