-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
feat: action redesign, UQI upgrade S3 plugin config to dual zone format & sorting field responsiveness #36090
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b373402
chore: move to section_v2 & zones
alex-golovanov 81cf549
perf: add responsiveness
alex-golovanov 35aa3c8
chore: fix labels & wrap command in zone
alex-golovanov 8dbae9a
Merge branch 'release' into perf/35484-uqi-amazon-s3-2
alex-golovanov c66dce6
chore: combined fields into single column zone
alex-golovanov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
{ | ||
"identifier": "UPLOAD_FILE_FROM_BODY", | ||
"controlType": "SECTION", | ||
"controlType": "SECTION_V2", | ||
"conditionals": { | ||
"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_FILE_FROM_BODY'}}" | ||
}, | ||
"children": [ | ||
{ | ||
"controlType": "SECTION", | ||
"label": "Select bucket to query", | ||
"controlType": "DOUBLE_COLUMN_ZONE", | ||
"children": [ | ||
{ | ||
"label": "Bucket name", | ||
|
@@ -16,12 +15,17 @@ | |
"evaluationSubstitutionType": "TEMPLATE", | ||
"isRequired": true, | ||
"initialValue": "" | ||
}, | ||
{ | ||
"label": "Expiry duration of signed URL (minutes)", | ||
"configProperty": "actionConfiguration.formData.create.expiry.data", | ||
"controlType": "QUERY_DYNAMIC_INPUT_TEXT", | ||
"initialValue": "5" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
] | ||
}, | ||
{ | ||
"controlType": "SECTION", | ||
"label": "Query", | ||
"controlType": "DOUBLE_COLUMN_ZONE", | ||
"description": "Optional", | ||
"children": [ | ||
{ | ||
|
@@ -45,13 +49,13 @@ | |
"value": "NO" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Expiry duration of signed URL (minutes)", | ||
"configProperty": "actionConfiguration.formData.create.expiry.data", | ||
"controlType": "QUERY_DYNAMIC_INPUT_TEXT", | ||
"initialValue": "5" | ||
}, | ||
} | ||
] | ||
}, | ||
{ | ||
"controlType": "SINGLE_COLUMN_ZONE", | ||
"description": "Optional", | ||
"children": [ | ||
{ | ||
"label": "Content", | ||
"configProperty": "actionConfiguration.formData.body.data", | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A change in this file can impact all those plugin forms which are not yet migrated to the new UI changes we are implementing. Have you cross checked no other plugin form using this component reflects any change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good question. The old component does not render very well in
SECTION
orSECTION_V2
. Additionally it has issues with typings, dead code and composition that makes little sense. That's why I've decided that it could use some help. Now it renders well, does not break on smaller widths, regardless of type of container, though it still has numerous issues with caching and typings, which are beyond the scope of this task.Screenshots of both versions in regular
SECTION
:Refactored component:
Original component: