-
Notifications
You must be signed in to change notification settings - Fork 900
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
fix(pipeline): triggers were not reverting in the ui #7485
fix(pipeline): triggers were not reverting in the ui #7485
Conversation
@Jammy-Louie I flailed around in the UI for a while trying to figure out what you meant before asking this probably dumb question but...how do you revert a trigger? And just to clarify my formik understanding, I'm assuming we should set |
Yes, exactly. If something outside of formik is managing the form state then this flag will allow those changes to flow in via |
When reverting edits to a pipeline with the Revert button on the bottom left |
@spinnakerbot cherry-pick 1.16 |
Cherry pick successful: #7490 |
Thanks @christopherthielen, you learn something new about Spinnaker every day! |
a5f192e feat(core/presentation): Add helper functions for generating categorized validation messages (spinnaker#7488) 7d91de6 fix(pipeline): triggers were not reverting in the ui (spinnaker#7485) 5c3fcc7 refactor(core/help): Migrate HelpContext to react hooks style (spinnaker#7487) 3c08b38 feat(core/presentation): Migrate ValidationMessage to new CSS styles (spinnaker#7481) 523c6bb fix(triggers): fix a few minor issues with manual execution triggers (spinnaker#7484) 0d0caa9 fix(monitored deploy): properly initialize defaults (spinnaker#7473) dc2a74b feat(core/presentation): Put margin between StandardFieldLayout's input and validation (spinnaker#7476) 6cd7e9d refactor(pipeline): Reactify the copy stage modal (spinnaker#7453) 5867de1 feat(precondition): add custom message to precondition (spinnaker#7448) f121b71 fix(artifacts/bitbucket): Update the help key to the correct reference to bitbucket (spinnaker#7475) ee18eb0 fix(core/serverGroup): Correct 'simple scaling' heuristic (spinnaker#7385) 30c7f2c fix(core/utils): Support traversing keys which contain dots in them using array notation (spinnaker#7471) f2790a7 feat(core/presentation): Begin adding support for error categories in validation API (spinnaker#7467)
a5f192e feat(core/presentation): Add helper functions for generating categorized validation messages (#7488) 7d91de6 fix(pipeline): triggers were not reverting in the ui (#7485) 5c3fcc7 refactor(core/help): Migrate HelpContext to react hooks style (#7487) 3c08b38 feat(core/presentation): Migrate ValidationMessage to new CSS styles (#7481) 523c6bb fix(triggers): fix a few minor issues with manual execution triggers (#7484) 0d0caa9 fix(monitored deploy): properly initialize defaults (#7473) dc2a74b feat(core/presentation): Put margin between StandardFieldLayout's input and validation (#7476) 6cd7e9d refactor(pipeline): Reactify the copy stage modal (#7453) 5867de1 feat(precondition): add custom message to precondition (#7448) f121b71 fix(artifacts/bitbucket): Update the help key to the correct reference to bitbucket (#7475) ee18eb0 fix(core/serverGroup): Correct 'simple scaling' heuristic (#7385) 30c7f2c fix(core/utils): Support traversing keys which contain dots in them using array notation (#7471) f2790a7 feat(core/presentation): Begin adding support for error categories in validation API (#7467)
@christopherthielen I'll revisit this again and hopefully come up with something that satisfies everything |
a5f192e feat(core/presentation): Add helper functions for generating categorized validation messages (spinnaker#7488) 7d91de6 fix(pipeline): triggers were not reverting in the ui (spinnaker#7485) 5c3fcc7 refactor(core/help): Migrate HelpContext to react hooks style (spinnaker#7487) 3c08b38 feat(core/presentation): Migrate ValidationMessage to new CSS styles (spinnaker#7481) 523c6bb fix(triggers): fix a few minor issues with manual execution triggers (spinnaker#7484) 0d0caa9 fix(monitored deploy): properly initialize defaults (spinnaker#7473) dc2a74b feat(core/presentation): Put margin between StandardFieldLayout's input and validation (spinnaker#7476) 6cd7e9d refactor(pipeline): Reactify the copy stage modal (spinnaker#7453) 5867de1 feat(precondition): add custom message to precondition (spinnaker#7448) f121b71 fix(artifacts/bitbucket): Update the help key to the correct reference to bitbucket (spinnaker#7475) ee18eb0 fix(core/serverGroup): Correct 'simple scaling' heuristic (spinnaker#7385) 30c7f2c fix(core/utils): Support traversing keys which contain dots in them using array notation (spinnaker#7471) f2790a7 feat(core/presentation): Begin adding support for error categories in validation API (spinnaker#7467)
Triggers were not being reverted when revert was being triggered.
https://jaredpalmer.com/formik/docs/api/formik#enablereinitialize-boolean
set
enableReinitialize
to true in formik to resolve the problem