Improved login experience (#4178)

* functional initial auth modal

* k

* k

* k

* looking good

* k

* k

* k

* k

* update

* k

* k

* misc bunch

* improvements

* k

* address comments

* k

* nit

* update

* k
This commit is contained in:
pablonyx
2025-03-08 17:06:20 -08:00
committed by GitHub
parent 18df63dfd9
commit 06dcc28d05
57 changed files with 1950 additions and 437 deletions

View File

@@ -215,11 +215,7 @@ export function ChatPage({
const isInitialLoad = useRef(true);
const [userSettingsToggled, setUserSettingsToggled] = useState(false);
const {
assistants: availableAssistants,
finalAssistants,
pinnedAssistants,
} = useAssistants();
const { assistants: availableAssistants, pinnedAssistants } = useAssistants();
const [showApiKeyModal, setShowApiKeyModal] = useState(
!shouldShowWelcomeModal
@@ -229,7 +225,7 @@ export function ChatPage({
const slackChatId = searchParams.get("slackChatId");
const existingChatIdRaw = searchParams.get("chatId");
const [showHistorySidebar, setShowHistorySidebar] = useState(false); // State to track if sidebar is open
const [showHistorySidebar, setShowHistorySidebar] = useState(false);
const existingChatSessionId = existingChatIdRaw ? existingChatIdRaw : null;
@@ -2451,7 +2447,7 @@ export function ChatPage({
h-full
${sidebarVisible ? "w-[200px]" : "w-[0px]"}
`}
></div>
/>
)}
</div>
)}