zooniverse / Panoptes-Front-End

Front end for zooniverse/Panoptes
https://www.zooniverse.org
Apache License 2.0
64 stars 75 forks source link

Pages Editor: add "Choose Starting Page" dropdown #7088

Closed shaunanoordin closed 1 month ago

shaunanoordin commented 2 months ago

PR Overview

Part of: Pages Editor MVP project and FEM Lab super-project Follows #7079 Staging branch URL: https://pr-7088.pfe-preview.zooniverse.org/lab/1982/workflows/editor/3711?env=staging

This PR adds the ability for project owners to set the starting page/step of a workflow, by selecting the appropriate page/step in a dropdown.

NOTE: in this PR, the term "first page/step" means the "first item in the workflow.steps data array". The term "starting page/step" means the initial page/step a volunteer sees on the FEM Classifier for this workflow. Functionally, these are the same.

New changes in this PR:

Screenshot: "preview link" moved to the top of the page. The "choose starting page" dropdown (seen as "Starting Page: T0") is visible next to the "Add New Task" button.

image

Dev Notes

❗⚠️ Due to how the FEM Classifier defines the "starting page/step/task", "choosing the starting page" may not work the way you expect, if you came from PFE.

Testing

Other conditions:

Status

Ready for review. 👌

Requires 7079 to be merged first before this can be merged.

shaunanoordin commented 2 months ago

PR Update

image
coveralls commented 1 month ago

Coverage Status

coverage: 56.98%. remained the same when pulling 16b0df06b883782de5feaecb96b1fd6d89c69aae on pages-editor-pt21 into 229aeab50b1ac9b74fd065f4b12e54582ada78e9 on master.

shaunanoordin commented 1 month ago

Thanks again, Delilah!