diff --git a/frontend/src/components/Modals/NewWorkspace.jsx b/frontend/src/components/Modals/NewWorkspace.jsx index 5eed3773340..bd2d2bd5895 100644 --- a/frontend/src/components/Modals/NewWorkspace.jsx +++ b/frontend/src/components/Modals/NewWorkspace.jsx @@ -62,6 +62,7 @@ export default function NewWorkspaceModal({ hideModal = noop }) { placeholder={t("new-workspace.placeholder")} required={true} autoComplete="off" + autoFocus={true} /> {error && ( diff --git a/frontend/src/components/WorkspaceChat/index.jsx b/frontend/src/components/WorkspaceChat/index.jsx index 0621693ec77..a4d601dc6d6 100644 --- a/frontend/src/components/WorkspaceChat/index.jsx +++ b/frontend/src/components/WorkspaceChat/index.jsx @@ -6,6 +6,7 @@ import paths from "@/utils/paths"; import ModalWrapper from "../ModalWrapper"; import { useParams } from "react-router-dom"; import { DnDFileUploaderProvider } from "./ChatContainer/DnDWrapper"; +import { WarningCircle } from "@phosphor-icons/react"; import { TTSProvider, useWatchForAutoPlayAssistantTTSResponse, @@ -41,24 +42,32 @@ export default function WorkspaceChat({ loading, workspace }) { <> {loading === false && !workspace && ( -
-
-

- Workspace not found! -

-

- It looks like a workspace by this name is not available. -

- -
- - Go back to homepage - +
+
+
+ +

+ Workspace not found +

+
+

+ The workspace you're looking for is not available. It may have + been deleted or you may not have access to it. +

+
+
)}