-
Notifications
You must be signed in to change notification settings - Fork 167
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
[RHOAIENG-1101] Cannot remove additional storage from the workbench configuration #3320
Conversation
8e91e1d
to
86f0874
Compare
deb1bc6
to
37e41c9
Compare
Thanks @jpuzz0 ! Overall LGTM! |
7ca7481
to
9d1c493
Compare
@xianli123 I've made this change. Thanks for calling it out! |
Thanks @jpuzz0 . Once it's changed, it will look good! |
frontend/src/pages/projects/screens/spawner/storage/ClusterStorageEditModal.tsx
Outdated
Show resolved
Hide resolved
c0e7f42
to
ea21b77
Compare
f9cbcc5
to
db16057
Compare
Ok so this needs @dpanshug PR to make it able to merge. BC as of right now there is no way to attach an existing PVC and create a new one after one is detached |
@Gkrumbach07 |
2c253f6
to
5f829bd
Compare
|
@@ -31,8 +31,11 @@ const CreateNewStorageSection = <D extends CreatingStorageObject>({ | |||
<NameDescriptionField |
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.
It would be great to replace this with K8sNameDescriptionField
to allow the user to manually set the K8s resource name if desired and would work towards RHOAIENG-14746
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.
There's a lot in-flight with this PR as it is right now, and since the replacement will involve some rework of this PR, I would prefer it be a separate issue if not just a part of the JIRA you've cited here.
5bf09e2
to
4a2279e
Compare
67ea9ef
to
eab9351
Compare
c3ad890
to
9c3909c
Compare
549cea2
to
e4b84fa
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dpanshug, Gkrumbach07 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
https://issues.redhat.com/browse/RHOAIENG-1101
Description
Workbench create/edit now has a table view to allow for multiple PVC instances to be created, where currently only 1 row is creatable/editable. The buttons above the table are not actionable yet and are placeholders for now. Some logic has been updated as a part of the submission process to attach multiple volumes (from PVC creations) for the notebook when available.
Default table data on creation
Detach modal
Empty state when all are detached
Edit modal on creation
(cc @xianli123)
How Has This Been Tested?
When creating a workbench, verify the set of fields that were previously visible are now replaced with the editable table view. The Edit modal itself is a part of a different story, but one was made here as a starting point, where mainly the mount path and some show/hide of alerts will change (along with some implementation).
Test Impact
Updated mocked cypress tests to simply verify table data for now as a part of creating/editing a workbench. Since this feature has other parts, e2e mock testing will be dependent on their completion.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main