mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor: implement new layout structure for search space and user settings with clear ownership
This commit is contained in:
parent
22f6b9dfe4
commit
d129ddd8f7
34 changed files with 560 additions and 586 deletions
|
|
@ -659,8 +659,8 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
|
|||
|
||||
// Detect if we're on the chat page (needs overflow-hidden for chat's own scroll)
|
||||
const isChatPage = pathname?.includes("/new-chat") ?? false;
|
||||
const isUserSettingsPage = pathname?.endsWith("/user-settings") === true;
|
||||
const isSearchSpaceSettingsPage = pathname?.endsWith("/search-space-settings") === true;
|
||||
const isUserSettingsPage = pathname?.includes("/user-settings") === true;
|
||||
const isSearchSpaceSettingsPage = pathname?.includes("/search-space-settings") === true;
|
||||
const useWorkspacePanel =
|
||||
pathname?.endsWith("/buy-more") === true ||
|
||||
pathname?.endsWith("/more-pages") === true ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue