gsxdsm
2e48e8627a
FN-6098: add workspace file creation actions
Add workspace file and folder creation to the dashboard file browser.
- add dashboard API helpers and backend route support for creating workspace directories and empty files
- add New File and New Folder header actions in FileBrowser with dialog handling and responsive header styling
- cover create flows with FileBrowser and route tests and document the new browser actions
Files changed:
docs/dashboard-guide.md | 1 +
packages/dashboard/app/api/legacy.ts | 29 ++++++-
packages/dashboard/app/components/FileBrowser.css | 32 ++++++++
packages/dashboard/app/components/FileBrowser.tsx | 75 ++++++++++++++----
packages/dashboard/app/components/__tests__/FileBrowser.test.tsx | 92 ++++++++++++++++++++++
packages/dashboard/src/__tests__/routes-git.test.ts | 55 +++++++++++++
packages/dashboard/src/file-service.ts | 69 +++++++++++++++-
packages/dashboard/src/routes/README.md | 8 +-
packages/dashboard/src/routes/register-file-workspace-routes.ts | 34 +++++++-
9 files changed, 372 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-6098
Fusion-Task-Lineage: 9a2a1ca1-8b5d-4e95-ba76-e7166621c898