-
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
Feat/5463 mr new design refactor #3139
Feat/5463 mr new design refactor #3139
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3139 +/- ##
==========================================
+ Coverage 85.17% 85.18% +0.01%
==========================================
Files 1251 1252 +1
Lines 27436 27486 +50
Branches 7280 7304 +24
==========================================
+ Hits 23369 23415 +46
- Misses 4067 4071 +4
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
631998d
to
ace7c33
Compare
Hi @gitdallas, thanks for all the updates! It looks good! Just several comments - Regarding the empty state of the versions table, it looks like the spacing above and below the image is larger than on other screens. I just checked the source file, and it turns out the white spaces of the source image are bigger than in other images... My apologies for that. I'll follow up with the visual designer and see if we can get an image with less white space to you by Tuesday. Regarding the model location,
|
...rc/pages/modelRegistry/screens/ModelVersionDetails/ModelVersionRegisteredDeploymentsView.tsx
Show resolved
Hide resolved
frontend/src/pages/modelRegistry/screens/RegisteredModels/RegisteredModelTableRow.tsx
Show resolved
Hide resolved
@gitdallas checking the model location fields, if the text is longer than the container width it does wrap to multiple lines instead of truncating: I was looking at the ClipboardCopy component docs though, and I don't think there's a way to make the inline variant truncate to one line. We could instead switch to the expandable variant, but it might be overkill if these values will usually fit on one line. What do you think @yih-wang ? I'm thinking maybe if there's no quick solution here we should create a post-MVP issue to follow up on this. |
@mturley - would something like this be okay? little hacky and you gotta override the |
Oh, interesting... yeah @gitdallas I think that solution looks good to me. I wonder if we should open an issue with PF to propose adding a prop or other variant for this, like |
@yih-wang - regarding the "smaller spacing", that feels off to me personally and i don't really notice it myself... if i do, it just seems like some sort of accident. if it's what is decided on, i can do it - i'd just need the numbers seems sort of like it might make sense to do a left margin, similar to how form sections work. although being a split screen already it's a bit low on horizontal space. |
@gitdallas thanks for sharing your thoughts! I had the same worry before about whether it was clear enough to group things in different spaces. Seems it definitely needs better ways to convey that. I'd like to think more about this so let's keep it as is. We have another post-MVP issue to add another new field 'source model format version' on this page and we can address this layout enhancement with that together. |
@yih-wang - with truncated clipboard copy: |
ace7c33
to
2b97dda
Compare
Signed-off-by: gitdallas <[email protected]>
Signed-off-by: gitdallas <[email protected]>
Signed-off-by: gitdallas <[email protected]>
Signed-off-by: gitdallas <[email protected]>
Signed-off-by: gitdallas <[email protected]>
Signed-off-by: gitdallas <[email protected]>
2b97dda
to
a3fb433
Compare
Signed-off-by: gitdallas <[email protected]>
a3fb433
to
5ac75a0
Compare
Signed-off-by: gitdallas <[email protected]>
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 @gitdallas
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mturley 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 |
closes: https://issues.redhat.com/browse/RHOAIENG-5463
Description
several design changes
new emptystate images:
breadcrumbs/titles/icons:
model location parts
with uri
view details is back
on archived as well
How Has This Been Tested?
locally, mr cluster
Test Impact
updated tests where necessary
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main