-
Notifications
You must be signed in to change notification settings - Fork 177
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
Update cluster storage modal #3529
Conversation
cc @xianli123 , I have updated the description with required screenshot when custom path is empty, Currently I have displayed this error, let me know your thoughts around here |
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
07b329b
to
fdbd40a
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.
There should be label ("Connected") for already connected workbenches, check here
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/clusterTableColumns.ts
Outdated
Show resolved
Hide resolved
a73c61a
to
8bae307
Compare
There is an edge case where the newly added mount path will be reset to default. Here is the step to reproduce:
|
Thanks @pnaik1. |
@xianli123 Thanks for the review, the popover will trigger when clicked on Screen.Recording.2024-12-02.at.5.32.13.PM.mov |
@pnaik1 Thanks for doing it! LGTM! |
Updated the pr |
7b675ba
to
b2e84d1
Compare
frontend/src/pages/projects/screens/detail/storage/ClusterStorageModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Show resolved
Hide resolved
Updated the PR accordingly |
This all looks good. just need to still fix the modal overflow issue: #3529 (comment) |
@pnaik1 Can you rebase the PR please? Want to see how it looks like on PF6 |
c66d78a
to
18ab33f
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.
Left some comments based on my testing. I am not a fan of the way to save id
in the table column and hide it just in order to auto-generate the name, there should be a better way to save and use this information. 🤔 WDYT? @Gkrumbach07
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/clusterTableColumns.ts
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/clusterTableColumns.ts
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/clusterTableColumns.ts
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/BaseStorageModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
we should be autogenerating the name when we create it and not in the row |
08b8a77
to
25f127a
Compare
@DaoDaoNoCode @Gkrumbach07 Thanks I have updated the pr accordingly
|
hi @pnaik1, if that's the case, could you also update https://github.com/opendatahub-io/odh-dashboard/blob/main/frontend/src/pages/projects/screens/spawner/storage/constants.ts#L10 to use |
frontend/src/pages/projects/screens/detail/storage/ClusterStorageTableRow.tsx
Outdated
Show resolved
Hide resolved
25f127a
to
876994b
Compare
@DaoDaoNoCode , I have updated the |
There seems to be a rendering issue. you have some infinite render loop when you add a new row to the table i added comment with a fix: https://redhat-internal.slack.com/archives/C07C0FNHVPT/p1733851431547269?thread_ts=1733835610.145149&cid=C07C0FNHVPT |
876994b
to
0d57103
Compare
frontend/src/pages/projects/screens/detail/storage/ClusterStorageModal.tsx
Show resolved
Hide resolved
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
looks great, thanks for the changes
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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-1098
Description
Refer the mock the design
Screen.Recording.2024-11-28.at.5.01.05.PM.mov
How Has This Been Tested?
Refer mocks to cover all the checks
Test Impact
Added cypress test
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main