-
Notifications
You must be signed in to change notification settings - Fork 15
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
Uniform Target Checks Selection #1842
Conversation
79c65e3
to
d9a4fff
Compare
d9a4fff
to
cb6830d
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.
LGTM 🚀
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.
Just a couple of nitpicks and we can go
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
Description
Refactors and uniforms Cluster and Host settings pages.
A new
ChecksSelectionHeader
component is added and bothClusterSettingsPage
andHostSettingsPage
make use of it and also declare page structure.Got rid of
HostChecksSelection
.A first step towards a better unification of settings page/checks selection for different targets.
Not yet totally satisfied, but still, a step forward.
Possible followup
We could have something like a
ChecksSelectionContainer
that looks like thisand then in
ClusterSettingsPage
(andHostSettingsPage
) have something like the followingor even have one single
TargetSettingsPage
that accepts the target type and behaves accordingly.deferring at the moment
How was this tested?
Relevant test adjsuted/added and stories updated.