-
Notifications
You must be signed in to change notification settings - Fork 54
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(RHIF-255): Add Zero State to image builder #1231
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1231 +/- ##
==========================================
+ Coverage 73.30% 73.59% +0.29%
==========================================
Files 70 69 -1
Lines 2000 1992 -8
Branches 529 527 -2
==========================================
Hits 1466 1466
+ Misses 483 475 -8
Partials 51 51 Continue to review full report in Codecov by Sentry.
|
Thank you! A few thoughts:
@arburka @kelseamann would you mind taking a look as well? |
Edge integration should not affect when this screen is shown. The zero state is shown when the "star" box in this flow happens (link) If we link directly to the wizard, this should/could still show below it if the logic is sound. The button on the page evokes the wizard as well. Yes, the beta prompt will not be visible. This is ok as we are close to removing them for these features and we would want to show that content in a similar way if we plan to highlight it here. For example, we would want to add custom content to this page. |
370d53d
to
ea92d7f
Compare
ea92d7f
to
1a7b0f9
Compare
Hi @adonispuente, would you mind squashing the second commit into the first one? |
It would be nice to wait up until #1320 is merged so that we can use the new hook to know how many images are in the images table. |
ad8ad71
to
a866172
Compare
6d9bc2b
to
23b5c75
Compare
The unit tests are fixed @jrusz all good for you to test it. |
Thanks! I'll get on it. |
/retest |
2 similar comments
/retest |
/retest |
Lol it actually passed 😄 ... Since I know already where to update the ouiaID I'm going to do that and then change it a little bit to make it more stable. |
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.
Quoting @croissanne:
Theoretically there are 3 "empty" states: an empty page state (returning user who's images expired), the zeroState, and the unentitled page.The unentitled page is of no concern to us because as soon as you have RHEL you're entitled. The empty page state will go away with blueprints (since those don't expire). Meaning after blueprints we can do the new zerostate.
There's no good ways to distinguish between the 3 states rn, so I'm blocking this work up until the blueprints wizard is there.
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
Can one of the admins verify this patch? |
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
This PR was closed because it has been stalled for 30+7 days with no activity. |
This PR adds zero state to image builder.
To test use an account with zero systems, or change the logic for what the state is supposed to show and verify things look correct.
This zero state should pop up when there are 0 images on the account.
Fixes https://issues.redhat.com/browse/HMS-2184