-
Notifications
You must be signed in to change notification settings - Fork 75
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
refactor: folder creation modal #2745
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @ironAiken2 and the rest of your teammates on |
5230fa4
to
6d0d5fa
Compare
6d0d5fa
to
f4d429e
Compare
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.36% (-0.03% 🔻) |
348/6488 |
🔴 | Branches | 4.84% (-0.01% 🔻) |
218/4503 |
🔴 | Functions | 3.12% (-0.02% 🔻) |
67/2146 |
🔴 | Lines | 5.25% (-0.03% 🔻) |
333/6338 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | ... / FolderCreateModal.tsx |
0% | 0% | 0% | 0% |
Test suite run success
93 tests passing in 12 suites.
Report generated by 🧪jest coverage report action from d58076b
80c27d9
to
a8bd14d
Compare
a8bd14d
to
79e6b75
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Merge activity
|
<!-- 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 introduces a new `FolderCreateModal` component and integrates it into the `VFolderListPage`. |before|after| |---|---| |![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/lSyr8xXz1wdXALkJKzVx/55ecbe42-f539-416a-8b63-7daf6132d564.png)|![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/lSyr8xXz1wdXALkJKzVx/9a71c8cc-fe1b-4be0-bcb5-bbae71317983.png)| The new modal provides a interface for creating storage folders with react component. **How to test:** 1. Move to `Data & Storage` page 2. Create a vfolder with new modal 3. Ensure that the new modal covers all of the functionality of the �regacy modal. (e.g. validation logic, conditional options such as clonable, project select, etc..) **Key changes:** - Created a new `FolderCreateModal` component with form fields for folder name, host, usage mode, type, permission, and cloneable option. - Integrated the new modal into `VFolderListPage`, replacing the previous folder creation method. - Added form validation and error handling for folder creation. - Implemented responsive design and styling using Ant Design components and custom styles. **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [x] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
79e6b75
to
d58076b
Compare
…2767) <!-- 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 is about �refactoring the test code via the [folder creation modal change](#2745). **Changes:** - Fixed folder creation modal to pass selectable arguments as props. - Minimized exceptions by specifying types for selectable arguments. - Used `.toBeVisible()` function for vfolder test scenarios to improve accuracy. - When logging out of the page, there was a situation where logging out occurred once more after login, so we minimized the logout by using a new page. **How to test:** - Run the `vfolder.test.ts` test using the vscode playwright extension to verify that there are no errors. - Verify that running the same test multiple times produces the same results. **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] 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
…#90) ### This PR is about updating `mounting folders to a compute session` section for 24.09 **Changes:** - Added folder explorer functionality within session launcher - Added folder create functionality within session launcher. - Updated images for new components. **Related PR:** - lablup/backend.ai-webui#2766 @yomybaby - lablup/backend.ai-webui#2765 @yomybaby - lablup/backend.ai-webui#2745 @ironAiken2 PDF[ko] : [연산 세션에 폴더 마운트 — Backend.AI Web-UI User Guide 24.03 문서.pdf](https://github.com/user-attachments/files/17515723/Backend.AI.Web-UI.User.Guide.24.03.pdf) PDF[en] : [Mounting Folders to a Compute Session — Backend.AI Web-UI User Guide 24.03 documentation.pdf](https://github.com/user-attachments/files/17515726/Mounting.Folders.to.a.Compute.Session.Backend.AI.Web-UI.User.Guide.24.03.documentation.pdf)
…modal descriptions (#86) ### This PR is about updating `sessions` section for 24.09 **Changes:** - Starting with Backend.AI version 24.09, NEO session launcher is used as the default session launcher. - Added session owner setting feature. - Added session histyro search function. - Added folder explorer and vfoler creation function in session launcher page. **Related PRs:** - lablup/backend.ai-webui#2742 @yomybaby - lablup/backend.ai-webui#2766 @yomybaby - lablup/backend.ai-webui#2765 @yomybaby - lablup/backend.ai-webui#2745 @ironAiken2 - PDF[kr] : [연산 세션 — Backend.AI Web-UI User Guide 24.03 문서.pdf](https://github.com/user-attachments/files/17486329/Backend.AI.Web-UI.User.Guide.24.03.pdf) - PDF[en] : [Compute Sessions — Backend.AI Web-UI User Guide 24.03 documentation.pdf](https://github.com/user-attachments/files/17486331/Compute.Sessions.Backend.AI.Web-UI.User.Guide.24.03.documentation.pdf)
### This PR is about updating vfolder section for 24.09 **Changes:** - Added a feature description for the new folder creation modal and updated related images. **Related PR:** - lablup/backend.ai-webui#2745 @ironAiken2 - lablup/backend.ai-webui#2529 @ironAiken2 PDF[ko] : [데이터 & 폴더 활용하기 — Backend.AI Web-UI User Guide 24.03 문서.pdf](https://github.com/user-attachments/files/17488475/Backend.AI.Web-UI.User.Guide.24.03.pdf) PDF[en] : [Handling Data & Storage Folders — Backend.AI Web-UI User Guide 24.03 documentation.pdf](https://github.com/user-attachments/files/17488477/Handling.Data.Storage.Folders.Backend.AI.Web-UI.User.Guide.24.03.documentation.pdf)
This PR introduces a new
FolderCreateModal
component and integrates it into theVFolderListPage
.The new modal provides a interface for creating storage folders with react component.
How to test:
Data & Storage
pageKey changes:
FolderCreateModal
component with form fields for folder name, host, usage mode, type, permission, and cloneable option.VFolderListPage
, replacing the previous folder creation method.Checklist: (if applicable)