-
Notifications
You must be signed in to change notification settings - Fork 7
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
PLU-309: [TILES-ATOMIC-INCREMENT-3] enhance multirow-multicol UI with custom styles and operators #819
base: develop-v2
Are you sure you want to change the base?
PLU-309: [TILES-ATOMIC-INCREMENT-3] enhance multirow-multicol UI with custom styles and operators #819
Changes from 2 commits
8c961fa
b973dac
9f9c11f
4e96d7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ const action: IRawAction = { | |
{ | ||
label: 'Row data', | ||
key: 'rowData', | ||
type: 'multirow' as const, | ||
type: 'multirow-multicol' as const, | ||
description: | ||
'Enter the data to update the row with. Columns not specified will not be updated.', | ||
required: true, | ||
|
@@ -79,13 +79,34 @@ const action: IRawAction = { | |
}, | ||
], | ||
}, | ||
customStyle: { flex: 2 }, | ||
}, | ||
{ | ||
key: 'operator' as const, | ||
type: 'dropdown' as const, | ||
isSearchable: false, | ||
required: true, | ||
variables: false, | ||
showOptionValue: false, | ||
value: 'set', | ||
options: [ | ||
{ label: '=', value: 'set', description: 'Set as' }, | ||
{ label: '+', value: 'add', description: 'Add by (numbers only)' }, | ||
{ | ||
label: '-', | ||
value: 'subtract', | ||
description: 'Subtract by (numbers only)', | ||
}, | ||
], | ||
customStyle: { flexBasis: '71px' }, | ||
}, | ||
{ | ||
placeholder: 'Value', | ||
key: 'cellValue', | ||
type: 'string' as const, | ||
required: false, | ||
variables: true, | ||
customStyle: { flex: 3 }, | ||
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. same thing for this |
||
}, | ||
], | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,8 +183,10 @@ type ActionSubstepArgument { | |
variables: Boolean | ||
variableTypes: [String] | ||
allowArbitrary: Boolean | ||
isSearchable: Boolean | ||
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. can i check is this just for the pointer icon to be displayed if it is false? for sanity purposes, should we also include this in the 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. I feel like we just add in if necessary |
||
placeholder: String | ||
showOptionValue: Boolean | ||
customStyle: JSONObject | ||
options: [ArgumentOption] | ||
value: JSONObject | ||
source: ActionSubstepArgumentSource | ||
|
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.
i think need to add

minWidth: 0
or else this happens