fix: Render predictions in "Label All Tasks" (#9708)#9728
Open
Snehadas2005 wants to merge 1 commit intoHumanSignal:developfrom
Open
fix: Render predictions in "Label All Tasks" (#9708)#9728Snehadas2005 wants to merge 1 commit intoHumanSignal:developfrom
Snehadas2005 wants to merge 1 commit intoHumanSignal:developfrom
Conversation
👷 Deploy request for heartex-docs pending review.Visit the deploys page to approve it
|
👷 Deploy request for label-studio-docs-new-theme pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
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 inlsf-sdk.js.This PR resolves the issue by explicitly injecting
"predictions:tabs"into the LSFinterfacesconfiguration, 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
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 theinterfacesarray under thethis.labelStreamcondition and default interfaces setup. The rest of the commit contains some minor code formatting/Prettier adjustments.General notes
N/A