-
Notifications
You must be signed in to change notification settings - Fork 53
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
Wizard: Add services to Review step (HMS-5404) #2806
base: main
Are you sure you want to change the base?
Conversation
/jira-epic HMS-5371 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #2806 +/- ##
==========================================
+ Coverage 82.31% 82.35% +0.04%
==========================================
Files 205 205
Lines 23004 23058 +54
Branches 2258 2267 +9
==========================================
+ Hits 18935 18989 +54
Misses 4042 4042
Partials 27 27
Continue to review full report in Codecov by Sentry.
|
915dc66
to
159a12c
Compare
159a12c
to
1cd1029
Compare
@@ -447,6 +452,23 @@ const Review = ({ snapshottingEnabled }: { snapshottingEnabled: boolean }) => { | |||
<FirewallList /> | |||
</ExpandableSection> | |||
)} | |||
{isServicesStepEnabled && ( |
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.
For firewall, we are checking length of the ports, disabled and enabled services, so that we do not see firewall expandable in case it is both empty. I suggest we do the same here, what do you think?
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.
So instead, can we do something like
{isServicesStepEnabled && ( | |
{isServicesStepEnabled && | |
(services.enabled.length > 0 && services.disabled.length > 0) && |
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.
Aah, yeah. Forgot 😳 the check is there now! Thanks!
1cd1029
to
8e94145
Compare
77d3b72
to
77d160a
Compare
This adds systemd services expandable to the Review step.
77d160a
to
38166fa
Compare
This adds systemd services expandable to the Review step.
JIRA: HMS-5404