You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(FR-1093): migrate file browser function to react (#4596)
### Implement File Browser Launcher in Folder Explorer
resolves#3791 ([FR-1093](https://lablup.atlassian.net/browse/FR-1093))
This PR replaces the previous file browser execution method with a new implementation that:
1. Fetches images that support file browser functionality
2. Creates a session with the appropriate image (using system SSH image if configured)
3. Mounts the current folder to the session
4. Shows loading state during the process
5. Displays error messages when no compatible images are found
6. Modify `ResourceAllocationFormValue` to allow optional for `shmem, accelerator, acceleratorType`.
The implementation uses the `useStartSession` hook to launch a session with minimum required resources and the selected folder mounted.
**Checklist:** (if applicable)
- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
[FR-1093]: https://lablup.atlassian.net/browse/FR-1093?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Copy file name to clipboardExpand all lines: config.toml.sample
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ hideAgents = true # If false, show the `Agent Summary` men
22
22
force2FA = false # (Deprecated since v25.9.0, This will be replaced by the false setting in the Totp plugin.) If true, user should be register the 2FA to use Backend.AI WebUI.
23
23
appDownloadUrl = "" # URL to download the electron app. If blank, https://github.com/lablup/backend.ai-webui/releases/download will be used.
24
24
allowAppDownloadPanel = true # If true, display the download WebUI app panel on the summary page.
25
-
systemSSHImage = "" # This image is used to launch ssh session from the filebrowser dialog to support fast uploading.
25
+
systemSSHImage = "" # This image is used to launch ssh session from the file explorer to support fast uploading.
26
+
defaultFileBrowserImage = "" # This image is used to launch file browser session from the file explorer.
26
27
directoryBasedUsage = false # If true, display the amount of usage per directory such as folder capacity, and number of files and directories.
27
28
isDirectorySizeVisible = true # If false, directory size in folder explorer will show `-`. default value is set to true.
28
29
maxCountForPreopenPorts = 10 # The maximum allowed number of preopen ports. If you set this option to 0, the feature of preopen ports is disabled.
0 commit comments