-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪟 🔧 Move the
serviceType
prop out from Formik form (<ServiceForm/> …
…refactoring part 2) (#18168) * add ConnectorFormValues type * update useTestConnector * update testConnector * update serviceFormContext * useTestConnector - fix import * remove serviceType from ServiceForm * handle setting the default connector name in ConnectorCard * move doc panel handling to ConnectorCard * refactored ConnectorCard * update the usage of ConnectorCard * update the ServiceForm tests * get rid of the term "service" from ConnectorCard and ConnectorServiceTypeControl * rename ConnectorServiceTypeControl to ConnectorDefinitionTypeControl remove selectedService var from ConnectorDefinitionTypeControl (since we calculated it ConnectorCard) and pass as a prop * Rename "ServiceForm" to "ConnectorForm" * Rename "ServiceForm" to "ConnectorForm" tests * add issue link * rename "ConnectorFormValues" to "ConnectorCardValues" * rename folder "ServiceForm" to "ConnectorForm" * rename "serviceFormContext" and it's usages to "connectorFormContext" * rename type "ServiceFormValues" to "ConnectorFormValues" * update connectorFormContext: rename "selectedConnector" to "selectedConnectorDefinitionSpecification" * rename "selectedConnector" and "selectedService" to "selectedConnectorDefinition" * leave comments to distinguish blocks of code * reorder props * remove serviceType from useBuildForm startValues * fixed broken import after merge
- Loading branch information
Showing
80 changed files
with
280 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.