Closed eatyourgreens closed 2 years ago
The annotation missing for T1
error is #2891, which is fixed on staging.
https://frontend.preview.zooniverse.org/projects/nora-dot-eisner/planet-hunters-tess/classify/workflow/11235
The classifier is detecting that I'm not logged in, and correctly opening a tutorial in that case. It doesn't know that there's also a login form open, since the login form is controlled by the containing page, so the tutorial opens on top of the existing form.
You can also reproduce this on In The Spotlight. Choose a workflow and the tutorial will appear before you can choose a subject set, because tutorials listen to changes in workflows.active
.
https://frontend.preview.zooniverse.org/projects/bldigital/in-the-spotlight
I think this bug also affects workflow selection: https://frontend.preview.zooniverse.org/projects/bldigital/in-the-spotlight/classify
See also the comments here. https://github.com/zooniverse/front-end-monorepo/pull/1976#issuecomment-761023499
The active tutorial appears when workflows.active
changes in the classifier.
This is a bit of a hack, but the Classify page could pass a showTutorial
boolean prop into the classifier, which tells the classifier whether or not it's safe to show the ModalTutorial
component.
We could also extract ModalTutorial
from the classifier, and make the Classify page responsible for managing all the popups, so that we don't get two open at the same time.
There's a related bug when both the popup workflow menu and the login form are open at the same time. Try it here: https://www.zooniverse.org/projects/humphrydavy/davy-notebooks-project/classify?login=true
Based on @goplayoutside3's comments on #2904, the Transformers project on staging might be a good place to test these bugs eg. https://frontend.preview.zooniverse.org/projects/darkeshard/test-project-2022/classify/workflow/3581?env=staging
Tutorial appearing above the workflow menu.
Tutorial appearing in front of the sign-in form.
Package
app-project lib-classifier
Describe the bug
After signing out then signing back in again, the workflow tutorial appears on top of the sign-in popup.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tutorial shouldn't be shown until after login is resolved.
Additional context
The browser console showsThe missing task annotation in the screenshot is a red herring. It's bug #2891, which is fixed on staging but still open in production.annotation missing for T1
and the classifier is empty (no subject or task) so it seems like the store is getting itself into an unexpected state.