-
Notifications
You must be signed in to change notification settings - Fork 137
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
Model version and details archive #2815
Model version and details archive #2815
Conversation
WIP because working on cypress test |
Thanks @dpanshug for all the work! That looks great! Several comments:
|
79b0ab7
to
17bc659
Compare
17bc659
to
a3fa8a0
Compare
a3fa8a0
to
9f1df90
Compare
9f1df90
to
82919e2
Compare
@yih-wang Pls check the latest screencast video.
I've updated this so restoring from the details page navigates to the version details page. Should the same happen when restoring from the Archive version table?
Corrected this.
That's because we are using Truncate component for the name. I am not sure if we can remove the unwanted tooltip. cc @lucferbux |
82919e2
to
031f5c3
Compare
frontend/src/__tests__/cypress/cypress/e2e/modelRegistry/ModelVersionArchive.cy.ts
Outdated
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.
There are a couples of nits in the code, haven't had the time to properly test the functionality, will do tomorrow, tests seemed great!
frontend/src/pages/modelRegistry/screens/components/RestoreModelVersionModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelRegistry/screens/ModelVersionsArchive/ModelVersionArchiveDetails.tsx
Outdated
Show resolved
Hide resolved
@dpanshug Thanks for all the updates! The new video looks good.
Yes, lets keep both flows ending up with the details page.
What makes sense to me is only the truncated names have hovering tooltips. Not sure whether it's an easy way to estimate whether it's a truncated name or not. Can we remove the tooltip also for the field below? Seems it's not due to the truncate component. |
@yih-wang @dpanshug Oh i assumed that wasn't a tooltip but a native autofiller in the browser, let me review the code but I couldn't recall a tooltip in the confirmation modal |
@lucferbux Ah yes, the one in the confirmation modal might be a browser-native component. It looks different from the tooltip above. |
|
Agree. I'm fine if all the other places do the same thing. We could just follow the pattern and improve this as a whole in the future. |
@yih-wang, updated the restore navigation also in archive table. |
c0db81b
to
05c61ff
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2815 +/- ##
==========================================
+ Coverage 77.40% 77.46% +0.06%
==========================================
Files 1101 1108 +7
Lines 23192 23383 +191
Branches 5848 5882 +34
==========================================
+ Hits 17951 18114 +163
- Misses 5241 5269 +28
... and 7 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
frontend/src/pages/modelRegistry/screens/components/RestoreModelVersionModal.tsx
Outdated
Show resolved
Hide resolved
05c61ff
to
13c0e2f
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 Thanks for making all the changes.
13c0e2f
to
9e03a7d
Compare
bd26915
to
962f6bc
Compare
962f6bc
to
daa6e6f
Compare
/lgtm |
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: lucferbux, manaswinidas 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 |
/retest It seems a problem with cypress and the cdn |
/retest |
RHOAIENG-6639
RHOAIENG-6640
Description
Archiving model versions.
See below video for archiving and restoring flow, along with archive model version table and details view.
Screencast from 2024-05-20 16-07-17.webm
How Has This Been Tested?
Test Impact
Added unit tests and cypress tests
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main
@yih-wang