-
Notifications
You must be signed in to change notification settings - Fork 163
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-7572] Registered Models - Empty View Redesign #3069
Conversation
f966bb4
to
ed00095
Compare
Copy my comment from slack for the tracking purpose: |
@yih-wang updated & added new screenshots in the description. |
LGTM, thanks! |
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.
According to the JIRA, I think the empty state is for "No model registries" rather than "No registered models in a model registry". I can still see this empty state for "No model registries" I think you have to change this empty state in ModelRegistryCoreLoader
instead of ModelRegistry
. There is also a TODO: Replace this with a component for empty registries once we have the designs
for this one.
@manaswinidas thanks for pointing this out. I've updated the PR with this change. |
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.
Works fine now. We need Cypress tests with a new test-id.
@jpuzz0 A following comment - The screenshot of the hovering state is removed, but I kinda remember that the button has an underline while hovering. Could you please check whether you're using the link button variant or the inline button variant for this component? The link button variant should be used, and when applied correctly, the link will not have an underline while hovering. |
@yih-wang I added the screenshot back which shows the underline on hover. |
LGTM pending resolution of the |
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
Works fine. The empty states pop up fine for no model registry and no registered models in a model registry.
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 @jpuzz0 !
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: manaswinidas, 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 |
https://issues.redhat.com/browse/RHOAIENG-7572
Description
Updated icon/text for empty state of the registered models list page.
(cc @yih-wang)
How Has This Been Tested?
Manually tested. Can be tested with a model registry that has no registered models.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main