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

Wrap ExecutionEnv Lookup in SettingGroup component. #11107

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

kialam
Copy link
Member

@kialam kialam commented Sep 22, 2021

SUMMARY

Related #10785

This PR adds a Revert Button to the Execution Environment lookup in the Misc. Settings page.

ee_revert

ISSUE TYPE
  • Feature Pull Request
  • Bugfix Pull Request
COMPONENT NAME
  • UI
AWX VERSION
19.3.0

@kialam kialam requested a review from keithjgrant September 22, 2021 01:55
Copy link
Member

@AlexSCorey AlexSCorey left a comment

Choose a reason for hiding this comment

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

Re: Validating the ExecutionEnvironmentLookup
I don't think we need to validate that look up because it isn't required anywhere in the project from what I can tell. However, if you do want to have validation on it I have made some suggestions below that seem to work and allow us to remove the setTimeout inside the <Lookup> component.

awx/ui/src/screens/Setting/shared/SharedFields.js Outdated Show resolved Hide resolved
@akus062381 akus062381 self-assigned this Sep 22, 2021
Copy link
Member

@akus062381 akus062381 left a comment

Choose a reason for hiding this comment

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

QE approval!

@kialam kialam force-pushed the fix-10785-ee-revert-button branch from 6dd8f64 to a114685 Compare September 22, 2021 20:04
Copy link
Member

@AlexSCorey AlexSCorey left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@kialam kialam force-pushed the fix-10785-ee-revert-button branch from a114685 to f072839 Compare September 23, 2021 16:38
@kialam kialam force-pushed the fix-10785-ee-revert-button branch from f072839 to d7f1f0c Compare September 23, 2021 17:24
@kialam kialam merged commit f96ed11 into ansible:devel Sep 23, 2021
@kialam kialam deleted the fix-10785-ee-revert-button branch September 23, 2021 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants