-
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.
Split setup in advanced and regular for data sources and destinations (…
…#4160) * DynamicForm support for advanced options * Randomly select a few options to be advanced * Merge conditions with the same logic * Address some comments * Update styling for the button * Some style adjustments (#4162) * Don't set default value to additional settings * Rename advanced -> extra * Show extra fields by default when they are filled * Update hasFilledExtraField logic * Add example field from destination as extra
- Loading branch information
1 parent
569c325
commit 8ea285d
Showing
8 changed files
with
77 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@import '~@/assets/less/ant'; | ||
|
||
.dynamic-form{ | ||
.extra-options { | ||
margin: 25px 0 10px; | ||
} | ||
|
||
.extra-options-button { | ||
&, &:focus, &:hover { | ||
height: 40px; | ||
font-weight: 500; | ||
background-color: @btn-danger-bg; | ||
border-color: @btn-danger-border; | ||
color: @btn-default-color; | ||
} | ||
|
||
&:focus, &:hover { | ||
background-color: fade(@btn-danger-bg, 15%); | ||
} | ||
} | ||
|
||
.extra-options-content { | ||
margin-top: 15px; | ||
|
||
.ant-form-item:last-of-type { | ||
margin-bottom: 0 !important; | ||
} | ||
} | ||
} |
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