-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classifier: Enable subject selection by subject ID in the subjects store #1876
Comments
here is a linked issue that describes a part of your use case, the subject context before / after. zooniverse/panoptes#2043 and this was a start on the feature, zooniverse/panoptes#3156 I could see that end point supporting query params, say the above could support the surrounding subjects, 'context', feature as well as this use case of show me here onwards. thoughts? |
I think that would work. The subjects endpoint would have to be abstracted out of the classifier store in front-end-monorepo/packages/lib-classifier/src/store/SubjectStore.js Lines 160 to 173 in c4f819c
EDIT: Maybe const strategy = workflow.subjectStrategy
const subjects = strategy.getSubjects(params) |
We may also have the subjects cached already, since the project home page is going to show volunteers a paged, ordered list of subjects, from a single subject set. They then pick a single subject to start classifying from but we could initialise the classifier with 10 subjects from that list. |
Another option would be to request subjects from |
Package
lib-classifier
Is your feature request related to a problem? Please describe.
When a subject ID is passed into the classifier as a prop, that subject should be loaded into the store and shown as the first classification subject.
When a workflow has prioritised (sequential) selection enabled, subsequent subjects in the queue should follow on from the selected subject eg. if I select page 15 from a volume, I'd expect pages 16, 17 etc. to follow in the queue.
Describe the solution you'd like
I'll open an issue on Panoptes for the server-side component for this, but we could pass the subject ID when making a request to
/api/subjects/queued
.Alternatively, we could wait until the specified subject has been classified before requesting the rest of the queue. I think that should work, since prioritised selection ought to send back subjects based on the last subject that you classified.
The text was updated successfully, but these errors were encountered: