front-end-monorepo
front-end-monorepo copied to clipboard
Task order not reflecting Lab choice + freezing workflow
FEM
Choose from the list:
- [ ] app-content-pages
- [ ] app-project
- [x] lib-classifier
- [ ] lib-panoptes-js
- [ ] lib-react-components
- [ ] unknown
Describe the bug
3/13/24 update: This is a known PFE bug. It has a bandaid fix in PFE's classifier component, so the bug won't be an issue on PFE projects. FEM projects do not have this bandaid fix yet. For most projects, we will catch any instances of this bug at the building stage or at least during internal review/beta. Projects at risk of launching live workflows with this bug are: 1) already on FEM; and 2) have already launched and are adding new workflows without as much testing (e.g. copying a workflow).
-- A branching workflow in FEM (project ID: 21696) is at times displaying the 'Next' button when a specific task should lead to 'Submit classification and load next subject'. The 'Next' button doesn't lead anywhere and leaves the user stuck.
The project has multiple branching workflows (with identical structure), and this bug is appearing in some of them. The project owner can sometimes fix the issue by changing the 'next task' to a different task, and then changing it back to 'Submit classification and load next subject'.
From the original report (via Freshdesk ticket https://zooniverse.freshdesk.com/a/tickets/18560):
often, while testing the workflows, I pushed a button that resulted in “Submit classification and load next subject” and it didn’t work as expected: instead, the workflow would loop back to the same box, this time empty – without submitting the classification. I managed to make it work by changing the destination to some other step, and then switch back to the one but that it did not work consistently.
To Reproduce
Steps to reproduce the behavior:
- Go to https://frontend.preview.zooniverse.org/projects/johandmi/arctic-archives-unraveling-greenlands-weather-history/classify/workflow/25700
- Click on the 9pm workflow
- Choose the 'monthly' data format
- See error at step 'Aar/annee': 'Next button' doesn't lead anywhere, and is incorrectly presented (should be 'Submit classification and load next subject').
Screenshots
https://github.com/zooniverse/front-end-monorepo/assets/23665803/4004ee5a-7f9a-4597-b0a9-77b8c633c050
Expected behavior
The lab behavior is set to 'Submit classification and load next subject' for this step, which is what would be expected, not the 'Next' button
Device information
Desktop (please complete the following information):
- OS: Mac OS Ventura
- Browser: Chrome
- Version: 120
Additional context
The project owner has ID'd a workaround for this, albeit it isn't always reliable:
a workaround that (sometimes) works: changing the Next task to some other task than “Submit classification and load next subject”, then exit the workflow, reenter, and change back to “Submit classification and load next subject”. Somehow, this fixed the issue in one of the other workflows, but it is not so practical.