Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(FR-249): open folder explorer from session detail panel using vfolder_nodes #3052

Conversation

ironAiken2
Copy link
Contributor

@ironAiken2 ironAiken2 commented Jan 20, 2025

resolves #3051 (FR-249)

lablup/backend.ai#2987 PR must be merged first.

This PR makes folder explorer available in the Session Detail Panel.

In versions after to Backend.AI Core 24.12.0, the vfolder_nodes field is provided.

Feature:

  • allow to open folder explorer in session detail panel

How to test:

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

Sorry, something went wrong.

Copy link
Contributor Author

ironAiken2 commented Jan 20, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ironAiken2 ironAiken2 changed the title feat: open folder explorer from session detail panel using vfolder_nodes feat(FR-249): open folder explorer from session detail panel using vfolder_nodes Jan 20, 2025
@ironAiken2 ironAiken2 marked this pull request as ready for review January 20, 2025 05:52
@ironAiken2 ironAiken2 changed the title feat(FR-249): open folder explorer from session detail panel using vfolder_nodes feat(FR-247, FR-249): open folder explorer from session detail panel using vfolder_nodes Jan 20, 2025
Copy link
Contributor

@agatha197 agatha197 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-from-session-detail-panel branch from 8468084 to 61191e3 Compare January 23, 2025 09:54
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 25dc6ea to 2027255 Compare January 23, 2025 10:00
@ironAiken2 ironAiken2 marked this pull request as draft January 24, 2025 06:24
@ironAiken2 ironAiken2 marked this pull request as ready for review January 24, 2025 06:49
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-from-session-detail-panel branch from 61191e3 to b9992c8 Compare January 24, 2025 06:49
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch 2 times, most recently from bd937d4 to 4159954 Compare January 24, 2025 07:14
@yomybaby yomybaby changed the base branch from feat/open-folder-explorer-from-session-detail-panel to graphite-base/3052 January 24, 2025 10:02
@yomybaby yomybaby force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 4159954 to 1b61f9a Compare January 24, 2025 10:04
@yomybaby yomybaby changed the base branch from graphite-base/3052 to main January 24, 2025 10:05
@yomybaby yomybaby force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 1b61f9a to 6510b79 Compare January 24, 2025 10:05
Copy link

github-actions bot commented Jan 24, 2025

Coverage report for ./react

Action wasn't able to generate report within GitHub comment limit. If you're facing this issue, please let me know by commenting under this issue.

Report generated by 🧪jest coverage report action from 2e8f90c

@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 6510b79 to e258119 Compare January 31, 2025 01:44
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from e258119 to 9b58324 Compare February 7, 2025 08:30
@github-actions github-actions bot added size:M 30~100 LoC and removed size:L 100~500 LoC labels Feb 7, 2025
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch 3 times, most recently from 9f5ab1f to 62893ab Compare February 20, 2025 08:02
@yomybaby yomybaby force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 62893ab to 4f446ed Compare February 21, 2025 03:14
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On 25.3.0 manager, I got a below error. Please check

No data returned for operation `SessionDetailContentQuery`, got error(s): Cannot query field 'vfolder_nodes' on type 'ComputeSessionNode'. Did you mean 'vfolder_mounts' or 'kernel_nodes'? See the error `source` property for more information.

@yomybaby yomybaby changed the title feat(FR-247, FR-249): open folder explorer from session detail panel using vfolder_nodes feat(FR-249): open folder explorer from session detail panel using vfolder_nodes Feb 21, 2025
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 4f446ed to 9ee4ca6 Compare February 24, 2025 02:08
Copy link
Contributor Author

On 25.3.0 manager, I got a below error. Please check

No data returned for operation `SessionDetailContentQuery`, got error(s): Cannot query field 'vfolder_nodes' on type 'ComputeSessionNode'. Did you mean 'vfolder_mounts' or 'kernel_nodes'? See the error `source` property for more information.

allow vfolder_nodes PR will be merged in version 25.3.2 and vfolder ordering PR is merged in version 25.3.0 and backported in version 24.09. So I changed supported version in WebUI. @yomybaby

@ironAiken2 ironAiken2 requested a review from yomybaby February 24, 2025 02:10
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch 3 times, most recently from 83fb051 to 7777f0b Compare February 25, 2025 08:02
@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 7777f0b to 2fc7162 Compare March 4, 2025 02:03
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve lint error

@ironAiken2 ironAiken2 force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 2fc7162 to 324023f Compare March 4, 2025 04:00
Copy link
Contributor Author

Fixed.

This lint error was not caused by the impact of this PR. It was caused by an unused variable in app.tsx.

@ironAiken2 ironAiken2 requested a review from yomybaby March 4, 2025 04:02
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

graphite-app bot commented Mar 4, 2025

Merge activity

Verified

This commit was signed with the committer’s verified signature.
LufyCZ LufyCZ
…older_nodes (#3052)

resolves #3051 (FR-249)
<!-- replace NNN, MMM with the GitHub issue number and the corresponding Jira issue number. -->

>lablup/backend.ai#2987 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 after to Backend.AI Core 24.12.0, the vfolder_nodes field is provided.

**Feature:**
- allow to open folder explorer in session detail panel

**How to test:**
- checkout Core branch to lablup/backend.ai#2987
- 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
@graphite-app graphite-app bot force-pushed the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch from 324023f to 2e8f90c Compare March 4, 2025 08:54
@graphite-app graphite-app bot merged commit 2e8f90c into main Mar 4, 2025
5 of 6 checks passed
@graphite-app graphite-app bot deleted the feat/open-folder-explorer-in-session-detail-panel-using-vfolder-nodes branch March 4, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:lib Library and SDK related issue. size:M 30~100 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link the VFolder name to open the Folder Explorer in Session detail Panel
3 participants