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
|
|
@ -149,7 +149,7 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS
|
|||
size="icon"
|
||||
onClick={() =>
|
||||
router.push(
|
||||
`/dashboard/${thread.search_space_id}/search-space-settings?tab=public-links`
|
||||
`/dashboard/${thread.search_space_id}/search-space-settings/public-links`
|
||||
)
|
||||
}
|
||||
className="size-8 bg-muted/50 hover:bg-accent hover:text-accent-foreground"
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ export const PromptPicker = forwardRef<PromptPickerRef, PromptPickerProps>(funct
|
|||
if (index === createPromptIndex) {
|
||||
onDone();
|
||||
if (searchSpaceId) {
|
||||
router.push(`/dashboard/${searchSpaceId}/user-settings?tab=prompts`);
|
||||
router.push(`/dashboard/${searchSpaceId}/user-settings/prompts`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue