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

Sub-PR: expression fields base #1095

Merged
merged 11 commits into from
Mar 20, 2024
Merged

Sub-PR: expression fields base #1095

merged 11 commits into from
Mar 20, 2024

Conversation

Skaiir
Copy link
Contributor

@Skaiir Skaiir commented Mar 18, 2024

@Skaiir Skaiir requested a review from vsgoulart March 18, 2024 04:37
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Mar 18, 2024
@Skaiir Skaiir changed the title Hidden fields subpr - implementation Sub-PR: hidden fields base implementation Mar 18, 2024
@Skaiir Skaiir changed the title Sub-PR: hidden fields base implementation Sub-PR: hidden fields base Mar 18, 2024
@Skaiir Skaiir marked this pull request as draft March 18, 2024 04:53
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed needs review Review pending labels Mar 18, 2024
@Skaiir Skaiir changed the title Sub-PR: hidden fields base Sub-PR: expression fields base Mar 18, 2024
Comment on lines +7 to +27
const entries = [];

entries.push({
id: `${id}-expression`,
component: ExpressionFieldExpression,
isEdited: isFeelEntryEdited,
editField,
field,
isDefaultVisible: (field) => field.type === 'expression'
});

entries.push({
id: `${id}-computeOn`,
component: ExpressionFieldComputeOn,
isEdited: isSelectEntryEdited,
editField,
field,
isDefaultVisible: (field) => field.type === 'expression'
});

return entries;
Copy link
Contributor

Choose a reason for hiding this comment

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

[nitpick] This could be simplified to a list comprehension

return [
 {/* ... */},
 {/* ... */},
];

@Skaiir Skaiir marked this pull request as ready for review March 20, 2024 09:43
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Mar 20, 2024
@Skaiir Skaiir merged commit 601ec7c into develop Mar 20, 2024
2 checks passed
@Skaiir Skaiir deleted the 1073-hidden-fields-impl branch March 20, 2024 11:36
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Mar 20, 2024
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.

2 participants