Skip to content

fix: Render predictions in "Label All Tasks" (#9708)#9728

Open
Snehadas2005 wants to merge 1 commit intoHumanSignal:developfrom
Snehadas2005:label-all-task
Open

fix: Render predictions in "Label All Tasks" (#9708)#9728
Snehadas2005 wants to merge 1 commit intoHumanSignal:developfrom
Snehadas2005:label-all-task

Conversation

@Snehadas2005
Copy link
Copy Markdown

Reason for change:

Fixes #9708.
Previously, when a user entered the labeling interface via the "Label All Tasks" button (Label Stream), the prediction tabs failed to render. This was because the "predictions:tabs" identifier was missing from the interface configuration array in lsf-sdk.js.

This PR resolves the issue by explicitly injecting "predictions:tabs" into the LSF interfaces configuration, ensuring that prediction tabs are visible regardless of how the annotation interface is launched.

Screenshots
N/A - Cannot provide a screenshot as my local development environment is currently experiencing CSS/styling issues, but the functional logic has been verified.

Rollout strategy
Standard release. No feature flags or environment variables are required.

Testing

  • Verified locally that clicking the "Label All Tasks" button now correctly displays the predictions interface.
  • Confirmed that prediction tabs continue to render correctly when clicking on an individual sample.

Risks
Low risk. This is a frontend UI configuration change that simply exposes an existing interface component (predictions) inside the Label Stream mode. No backend logic or data structures were altered.

Reviewer notes
The core fix is located in web/libs/datamanager/src/sdk/lsf-sdk.js, where "predictions:tabs" was added to the interfaces array under the this.labelStream condition and default interfaces setup. The rest of the commit contains some minor code formatting/Prettier adjustments.

General notes
N/A

@Snehadas2005 Snehadas2005 requested a review from a team as a code owner May 5, 2026 12:39
@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

👷 Deploy request for heartex-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0875e48

@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

👷 Deploy request for label-studio-docs-new-theme pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0875e48

@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit 0875e48
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/69f9e4e9dcdc2e0008cac8ed
😎 Deploy Preview https://deploy-preview-9728--label-studio-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 0875e48
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/69f9e4e985ccb0000869a924
😎 Deploy Preview https://deploy-preview-9728--label-studio-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Snehadas2005 Snehadas2005 changed the title Fix: render predictions in "Label All Tasks" (#9708) Fixed render predictions in "Label All Tasks" (#9708) May 5, 2026
@Snehadas2005 Snehadas2005 changed the title Fixed render predictions in "Label All Tasks" (#9708) fix: Render predictions in "Label All Tasks" (#9708) May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Label All Tasks" doesn't render predictions.

1 participant