Skip to content
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

Jamie/3982 data lifecycle additions #4010

Merged
merged 8 commits into from Jul 1, 2020

Conversation

SEAjamieD
Copy link
Contributor

πŸ”© Description: What code changed, and why?

This is an update to data-lifecycle that now allows a user to make changes to Service Groups through the UI.

⛓️ Related Resources

API work: #3931

πŸ‘ Definition of Done

A user is now able to successfully change and retain Service groups updates through the UI

πŸ‘Ÿ How to Build and Test the Change

build components/automate-ui-devproxy && start_all_services
make serve

navigate to https://a2-dev.test/settings/data-lifecycle
The Service Groups section should no longer be disabled.
Check/UnCheck the Service groups and click the submit button. You should see a success ribbon.
Change the Values in the Service groups section and submit. Check for success ribbon.
Refresh the page - you should see the same values that were previously submitted in the service groups section.
All other sections on the page should retain the same functionality.

βœ… Checklist

πŸ“· Screenshots, if applicable

Before:
Before

After:
After

seajamied added 6 commits June 30, 2020 11:15
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
@SEAjamieD SEAjamieD added documentation Anything related to the Automate docs. ui automate-ui eas labels Jun 30, 2020
@SEAjamieD SEAjamieD self-assigned this Jun 30, 2020
@SEAjamieD SEAjamieD requested review from danielsdeleo and a team June 30, 2020 18:28
Copy link
Contributor

@susanev susanev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tooltip for 2nd checkbox is still there, pls remove.. everything else works great, thank you!!

@susanev susanev requested a review from a team June 30, 2020 19:20
Signed-off-by: seajamied <jdegnan@chef.io>
@SEAjamieD
Copy link
Contributor Author

tooltip for 2nd checkbox is still there, pls remove.. everything else works great, thank you!!

updated - thank you!

@susanev
Copy link
Contributor

susanev commented Jun 30, 2020

oh i need to add the docs commit, ill do that tonight

Signed-off-by: susanev <susan.ra.evans@gmail.com>
@SEAjamieD SEAjamieD requested a review from a team as a code owner June 30, 2020 22:18
@susanev susanev requested a review from mjingle June 30, 2020 22:18
Copy link
Contributor

@Shadae Shadae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ‘ lgtm

Copy link
Contributor

@danielsdeleo danielsdeleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me locally. πŸ‘

@SEAjamieD SEAjamieD merged commit 9cbfeec into master Jul 1, 2020
@chef-expeditor chef-expeditor bot deleted the jamie/3982-data-lifecycle-additions branch July 1, 2020 21:41
// Service Groups are not currently uncheckable through the UI
.filter( form => !['serviceGroupNoHealthChecks', 'serviceGroupRemoveServices']
.includes(form)),
using(ALL_FORMS.map( form => form ),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you trying to achieve with this no-op map call?
I suspect the filter(identity) pattern might be more appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automate-ui documentation Anything related to the Automate docs. eas ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants