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: rebuild "Next Page" logic. Add placeholder answers. #7055

Closed shaunanoordin closed 3 months ago

shaunanoordin commented 3 months ago

PR Overview

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

This PR rebuilds the "Next Page" logic. Plus, it adds placeholder answers (fake text input & fake buttons for tasks). All this has been done mostly for UI examining purposes.

Next Page Logic:

Placeholder Answers:

Misc:

Screenshot: an example workflow created by the new Quick Setup. Has 2 pages with 3 tasks. The first page has two SQTasks, but only the first has branching controls. The 2nd and 3rd tasks have fake text input/buttons to visually demonstrate how the task would looks like in the classifier. The 2nd page has simple "next page" control, currently pointing to "Submit"

image

Testing

Status

Mon 11 Mar: WIP

Mon 18 Mar: Ready for Review

This PR is currently targeting pages-editor-pt16 for review purposes. Do not merge until 7052 is ready and this branch's merge is re-targeted to master.

shaunanoordin commented 3 months ago

PR Update

New behaviour:

Following our discussion on Mon 11 March 2024, a new plan for future behaviour has been noted:

Status

I think there are a few design bits that need to be cleaned up, but this PR is now generally ready for review.

shaunanoordin commented 3 months ago

My apologies for putting up updates on Sunday night, but the past week has had a few debug/fixing curveballs thrown my way that borked my planned Pages Editor schedule. Please ignore any Github emails from this PR until it's your actual office hours; I'm only playing catchup this weekend because of something I promised myself.

shaunanoordin commented 3 months ago

Thanks Travis! 👍

coveralls commented 3 months ago

Coverage Status

coverage: 56.955% (-0.03%) from 56.98% when pulling 76ea93587cbc5626fac476862c442469d4e89c92 on pages-editor-pt17 into a2a2ad4212f3d3bdb93a6baf72eefa653f530b89 on master.