Multi-task workflows, mini-courses, and project loading performance#838
Open
coryzoon wants to merge 5 commits into
Open
Multi-task workflows, mini-courses, and project loading performance#838coryzoon wants to merge 5 commits into
coryzoon wants to merge 5 commits into
Conversation
mcbouslog
approved these changes
Jun 15, 2026
mcbouslog
left a comment
Contributor
There was a problem hiding this comment.
Cursory code review looks good. Great /projects performance improvements, I think they'll make a notable difference!
Please let me know if I'm mistaken with the following, but per the constants in src/actions/projects.js we're limiting the initial multi task project to 32778 and the mini course project to 20616 (with further workflow limitations as defined). That sounds good to me, and code looks good, just confirming my understanding.
Great job with the multi-task and mini-course implementation!! Considerations noted in the PR description are excellent and accurate, and related code looks good.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three related improvements to the mobile app:
classification.
project is selected.
Multi-task workflows and mini-courses already exist in the web app, and the Panoptes API has supported them for
some time. This PR brings mobile closer to feature parity while substantially changing how projects are loaded.
What Changed
Multi-task: Classifier Refactor
The four legacy classifier screens each handled their own data loading, layout, and submission. They have been
replaced with a shared
ClassifierScreenthat renders one of four workflow components:SingleChoiceMultiSelectDrawingSwipeAdditional changes include:
normal navigation.
Multi-task: Chain Engine
Mini-course
tutorials?workflow_id=X&kind=mini-course.app.
Project Loading Performance
Previously, opening the home screen loaded the complete mobile project catalog along with workflows, images,
roles, and translations. This produced many API requests, delayed startup on slower connections, and could
temporarily show incomplete category results.
The new loading strategy:
Notes for Review
src/actions/projects.jscontains temporary handling that allows HAVI project32778and its supported workflows through the mobile project pipeline despite their current API configuration.This should be removed when the backend marks the project as mobile-friendly and standard workflow validation
supports its multi-task chains.
separately.