sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
66 stars 43 forks source link

Signal button positions change when clicked several times #1675

Open dinithihj opened 4 months ago

dinithihj commented 4 months ago

When multiple signal buttons are added to a task (user/manual task), clicking them several times changes their positions.

This issue was initially noticed with PP3 - https://dev.app.spiff.status.im/process-models/manage-talents:talent-acquisition-from-job-requisition-to-hiring:job-requisition:request-new-role

In this case, there are two signal buttons added to a user task: Edit and Cancel. Initially, the Edit button was third in the button row. After clicking it several times, the Edit button moved to the fourth position in the row.

This issue can be recreated with the sample model - https://dev.app.spiff.status.im/process-models/misc:qa:test-button-positions

Video Link (PP3) - https://drive.google.com/file/d/1jg-Z-D_lebTFSyOx9Ea_xY2Q5E7vvtA2/view?usp=sharing Video Link (Sample model) - https://drive.google.com/file/d/1W28UqNKh2Oyj24vFt1dQC7RIGvCGbV8q/view?usp=sharing

jasquat commented 4 months ago

We could sort these at either https://github.com/sartography/spiff-arena/blob/main/spiffworkflow-backend/src/spiffworkflow_backend/services/task_service.py#L715 or https://github.com/sartography/spiff-arena/blob/main/spiffworkflow-frontend/src/routes/TaskShow.tsx#L381.