Feat: Create a folder #3221 (#7228)

### What problem does this PR solve?

Feat: Create a folder #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-04-23 15:21:09 +08:00
committed by GitHub
parent 94181a990b
commit 51d9bde5a3
20 changed files with 626 additions and 133 deletions

View File

@ -94,6 +94,13 @@ export const useNavigatePage = () => {
[getQueryString, id, navigate],
);
const navigateToFiles = useCallback(
(folderId?: string) => {
navigate(`${Routes.Files}?folderId=${folderId}`);
},
[navigate],
);
return {
navigateToDatasetList,
navigateToDataset,
@ -109,5 +116,6 @@ export const useNavigatePage = () => {
navigateToAgentTemplates,
navigateToSearchList,
navigateToSearch,
navigateToFiles,
};
};