Add DataFolders component to ServerSettings for managing system folder paths

- Introduced a new DataFolders component to display and manage paths for application data, models, and providers.
- Implemented a FolderRow component for individual folder display, including loading states and open folder functionality.
- Added API client methods and hooks to fetch system folder paths from the backend.
- Updated ServerTab to include the new DataFolders component, enhancing server settings management.
This commit is contained in:
Jamie Pine
2026-02-03 00:32:18 -08:00
parent 73d9b5d70e
commit 793e392e56
12 changed files with 185 additions and 1 deletions
+6
View File
@@ -12,4 +12,10 @@ export const webFilesystem: PlatformFilesystem = {
window.URL.revokeObjectURL(url);
document.body.removeChild(a);
},
async openFolder(_path: string): Promise<boolean> {
// Browsers cannot open local folders for security reasons
// The UI will show the path as a read-only text instead
return false;
},
};