Task/queue count denominator is wrong during labeling (shows "n of n" instead of "n of m")
Describe the bug
During labeling, it always shows "n of n" as the count of tasks, where it should show "n of m", where n is number of annotations so far, and m is total number of tasks.
To Reproduce
Create a project, add tasks, start labeling.
Expected behavior
It should show e.g. "1 of 100" when you start, instead of "1 of 1".
Screenshots
Environment (please complete the following information):
- OS: Chrome on Linux
- Label Studio Version: 1.17.0
Additional context
Community version
Relevant code is here: https://github.com/HumanSignal/label-studio/blob/3f22d551cf30c54a91692d8d2a651d131eb0d788/web/libs/editor/src/components/TopBar/CurrentTask.jsx#L66-L78 I noticed the feature flag has to do with projects with over 100 tasks, but this bug happens for me on projects with 4 tasks and projects with 200 tasks.
Hello,
Thank you for contacting Label Studio, Can you please try this workaround instead and let me know if it has achieved the desired result
- Go to Data Manager in the top navigation.
- Select Tasks in the sidebar.
- Click Label All Tasks at the top right. This opens the Label Stream interface with all your tasks queued, and you’ll get the correct “n of m” count. Best Regards!
Comment by Oussama Assili Workflow Run
Hello, I don't see Data Manager in the top navigation nor any sidebar with Tasks - I know the homepage changed in version v1.17.0 (which I'm on) so maybe that no longer exists. The only way I can get to a Data Manager page is from a project, and that's where I ran into the bug.
Hello,
Thank you for reporting the usecase,
we were able to reproduce it from our end as well. I am filling a request to our engineering team to fix this issue and it shall be introduced in the upcoming releases!
Once again, we appreciate your feedback!
Comment by Oussama Assili Workflow Run