Skip to content

Toggle task compensation and loop markers#1280

Merged
vehikl-jacare merged 38 commits into
developfrom
1271-add-loop-characteristic-toggles
Dec 9, 2020
Merged

Toggle task compensation and loop markers#1280
vehikl-jacare merged 38 commits into
developfrom
1271-add-loop-characteristic-toggles

Conversation

@vehikl-jacare

Copy link
Copy Markdown
Contributor

Fixes #1271

This PR adds radio buttons for Task Loop Characteristics in the advanced inspector:
Screen Shot 2020-12-01 at 10 43 40 AM

This produces the following bpmn:

<bpmn:task id="node_1" name="Form Task" pm:assignment="requester">
      <bpmn:standardLoopCharacteristics />
</bpmn:task>

It also adds a "For Compensation" checkbox to set the isForCompensation property on the task:
Screen Shot 2020-12-01 at 10 42 50 AM

This produces the following bpmn:

<bpmn:task id="node_1" name="Form Task" isForCompensation="true" pm:assignment="requester" />

vehikl-jacare and others added 16 commits November 27, 2020 11:36
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Comment thread src/components/nodes/task/index.js Outdated
Comment thread src/components/nodes/task/index.js Outdated
Comment thread src/components/nodes/task/index.js
vehikl-jacare and others added 3 commits December 1, 2020 11:17
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
@caleeli

caleeli commented Dec 2, 2020

Copy link
Copy Markdown
Contributor

I've do quick test. I found an issue when setting the task properties after changing the loop characteristics.

InspectorTask mp4

@caleeli

caleeli commented Dec 2, 2020

Copy link
Copy Markdown
Contributor

Review inspector handler after loading:
ReviewInspectorAfterLoading mp4

vehikl-jacare and others added 3 commits December 2, 2020 14:54
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
@vehikl-jacare vehikl-jacare added the WIP Work in progress; do not merge yet. label Dec 2, 2020
vehikl-jacare and others added 4 commits December 3, 2020 10:45
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
vehikl-jacare and others added 10 commits December 3, 2020 11:49
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>

@vehikl-jacare vehikl-jacare left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@caleeli We've addressed the loss of reactivity that you found, thanks for testing it

@vehikl-jacare vehikl-jacare removed the WIP Work in progress; do not merge yet. label Dec 4, 2020
@caleeli

caleeli commented Dec 4, 2020

Copy link
Copy Markdown
Contributor

@vehikl-jacare there is something more to check, it fails after you change focus.
RenameTask mp4

@caleeli

caleeli commented Dec 8, 2020

Copy link
Copy Markdown
Contributor
processmaker/id-required
    Element is missing ID

ID validation is triggered when a Loop characteristic is added to the task. ID is not required for LoopCharacteristics nodes.

IdValidationLoop mp4

@vehikl-jacare

Copy link
Copy Markdown
Contributor Author

@caleeli The ID validation will need to be updated in the bpmnlint-plugin package. We've created a ticket for it in that repo: ProcessMaker/bpmnlint-plugin#7.

If there are no other issues this can be merged independent of that validation.

@caleeli
caleeli self-requested a review December 9, 2020 12:46
@vehikl-jacare
vehikl-jacare merged commit e36cde4 into develop Dec 9, 2020
@vehikl-jacare
vehikl-jacare deleted the 1271-add-loop-characteristic-toggles branch December 9, 2020 18:57
vehikl-jacare added a commit that referenced this pull request Dec 9, 2020
vehikl-jacare added a commit that referenced this pull request Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add radio toggles for task markers in admin accordion

2 participants