HumanSignal / HumanSignal/label-studio
Task/queue count denominator is wrong during labeling (shows "n of n" instead of "n of m")
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.