-
Notifications
You must be signed in to change notification settings - Fork 63
Wizard: reintroduce registration step for cockpit (HMS-9195) #3519
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
base: main
Are you sure you want to change the base?
Conversation
Still have to add some playwright tests |
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
/jira-epic HMS-8987 |
92b0a9e
to
8308d78
Compare
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #3519 +/- ##
==========================================
- Coverage 82.90% 82.60% -0.31%
==========================================
Files 204 205 +1
Lines 24833 24959 +126
Branches 2562 2573 +11
==========================================
+ Hits 20589 20617 +28
- Misses 4223 4321 +98
Partials 21 21
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
c71c924
to
d2bcd05
Compare
d2bcd05
to
4b457bc
Compare
4b457bc
to
1c332f6
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.
Nice! Added some small nit picks :)
As for copy - looks good to me, we can also check with UX or with someone from docs to get their feedback.
src/Components/CreateImageWizard/steps/Review/ReviewStepTextLists.tsx
Outdated
Show resolved
Hide resolved
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
The activation key copy should be more or less fine I think since I got that from the official docs. I guess it's the org id that I was less sure about. Will ping someone to have a look once I fix the nitpicks |
Oh right, looking at the unit test failure - the "additional connection options" should be hidden by default. So the original |
Ya I might try look at it now, graphite decided to throw a few more useful comments at me too |
Actually, maybe I can drop that commit and do it in a follow up like you suggested. It's kind of weird |
2d96444
to
667f921
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.
Few nitpicks.
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 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.
Ah good shout, thanks will have a look at this today
667f921
to
badaaa5
Compare
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
badaaa5
to
7406f91
Compare
src/Components/CreateImageWizard/steps/Registration/components/ManualActivationKey.tsx
Outdated
Show resolved
Hide resolved
42a3499
to
272c9cb
Compare
Graphite is loving this PR 🙄 |
@kingsleyzissou I feel like it got a bit smarter, it is spamming throughout my PRs lately a bit more as well. |
In fairness it made some good catches! |
Yeah, it did. Okay, my last question is - because I assume we do not want to expose activation keys when the user clicks "Edit blueprint", is there a plan on what to do, so that user is able to both a) keep activation keys after editing a blueprint, but also b) check "Register later"? |
Ya great questions. For point a) I'm not entirely sure how we want to handle this. Since this should theoretically only be visible to the user that creates the blueprint, we should be fine. But maybe we do want to hide this? For b) there is a small back when going back and clicking register later. I will fix that in a follow up |
272c9cb
to
2f5e5bf
Compare
Honestly I think it's fine. Activation keys are not traditional secrets like passwords are. |
c35a627
to
0bdd8d3
Compare
We can re-enable the registration step for cockpit by allowing users to pass in an activation and org id pair so that they can build an image that is automatically registered.
0bdd8d3
to
c5de942
Compare
So I think this might not land for the ITM release, I have done a run through and we can add the subscription details. |
I found the issue, we're creating the |
We can re-enable the registration step for cockpit by allowing users to pass in an activation and org id pair so that they can build an image that is automatically registered.
JIRA: HMS-9030