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
vfolder_mounts field gives only vfolder’s id. So we need to use mounts field in legacy compute_session to get vfolder’s name. (vfolder_mounts and mounts fields are in same order)
yomybaby
changed the title
Link the VFolder name to open the Folder Explorer
Link the VFolder name to open the Folder Explorer in Session detail Panel
Jan 20, 2025
…using vfolder_mounts (#3038)
resolves#3051 (FR-249)
<!-- replace NNN, MMM with the GitHub issue number and the corresponding Jira issue number. -->
>lablup/backend.ai#3461 PR must be merged first.
<!--
Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes,
and how it affects the users and other developers.
-->
This PR makes folder explorer available in the Session Detail Panel.
In versions prior to Backend.AI Core 24.12.0, the vfolder_nodes field is not provided. Therefore, you must use the `mounts` field of the `compute_session_node` query.
Mounts field does not provide vfolder name. So we need to use `vfolder_mounts` field in legacy `compute_session` query. vfolder_mounts' provide the name of the vfolder in the same order as the `mounts' field in `compute_session_node'.
**Feature:**
- allow to open folder explorer in session detail panel
**How to test:**
- checkout Core branch to [lablup/backend.ai#3461](lablup/backend.ai#3461)
- open session detail panel. you can open session detail panel via using query string (?sessionDetail=<sessionID>)
- click the folder icon in session detail panel
- Verify that folder opener works for the vfolder you clicked on (name, contents, etc. match)
**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
In versions of Backend.AI Core 24.12.0 and earlier, the
vfolder_nodes
field ofcompute_session_node
is not provided.There are a total of 2 Backend.AI Core responsive PRs for this issue:
Backend.AI WebUI responsive PRs:
vfolder_mounts
field incompute_session_node
andmounts
field in legacycompute_session
(manager < 24.12.0)https://github.com/lablup/backend.ai-webui/pull/3038
vfolder_mounts
field gives only vfolder’s id. So we need to usemounts
field in legacycompute_session
to get vfolder’s name. (vfolder_mounts
andmounts
fields are in same order)vfolder_nodes
field incompute_session_node
(manager >= 24.12.0)https://github.com/lablup/backend.ai-webui/pull/3052
The text was updated successfully, but these errors were encountered: