Skip to content

fix: LEAP-1363: View all is loading even when value is empty for RichText #6190

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

Merged
merged 11 commits into from
Aug 20, 2024

Conversation

juliosgarbi
Copy link
Contributor

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

(check all that apply)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Describe the reason for change

When user is using a config with text, and uploading the data with no value for the text, the RichText tag is not loading and the prop isReady is not set to true, so when user clicks on View all Annotations view, it's not loading the task

What does this fix?

Just changes the validation from !this_value for !this._value === null so even if the value is empty but the data is correct and value exists, it's loading the tag and setting isReady to true when it's ready.

@github-actions github-actions bot added the fix label Aug 12, 2024
Copy link

netlify bot commented Aug 12, 2024

Deploy Preview for label-studio-docs-new-theme ready!

Name Link
🔨 Latest commit 3ef9ff9
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/66c4829913a9410008065bfa
😎 Deploy Preview https://deploy-preview-6190--label-studio-docs-new-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Aug 12, 2024

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit 3ef9ff9
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/66c4829960224b000756cbc9
😎 Deploy Preview https://deploy-preview-6190--heartex-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@juliosgarbi
Copy link
Contributor Author

juliosgarbi commented Aug 14, 2024

/git merge develop

Workflow run
Successfully merged: delete mode 100644 web/libs/editor/src/common/Userpic/Userpic.styl

@juliosgarbi
Copy link
Contributor Author

juliosgarbi commented Aug 14, 2024

/git merge develop

Workflow run
Successfully merged: 1 file changed, 4 insertions(+), 4 deletions(-)

@hlomzik
Copy link
Collaborator

hlomzik commented Aug 16, 2024

/git merge develop

Workflow run
Successfully merged: delete mode 100644 web/libs/editor/src/tags/object/Video/Video.styl

@Gondragos
Copy link
Collaborator

Gondragos commented Aug 20, 2024

/git merge develop

Workflow run
Successfully merged: create mode 100644 label_studio/ml_models/migrations/0010_modelinterface_skill_name.py

@hlomzik hlomzik enabled auto-merge (squash) August 20, 2024 19:12
@hlomzik hlomzik merged commit 4f2ee16 into develop Aug 20, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants