Skip to content

Conversation

hlomzik
Copy link
Collaborator

@hlomzik hlomzik commented Jun 30, 2025

There are two issues in Taxonomy in Preview:

1. Dropdown is not visible

taxonomy-preview-1-dropdown.mov

When you create project and use Taxonomy in a config, it has no dropdown, making preview for taxonomy useless in this dialog.
It's good in Labeling Settings thought.
The reason for this is z-index for Create Project dialog is 2000 while z-index for antd dropdown is 1050. Making z-index for Taxonomy dropdown above 2000 solves the problem.

2. "No more annotations"

taxonomy-preview-2-no-more.mov

If you add Taxonomy to your config in Preview or edit config with Taxonomy in it, most likely you'll see "No more annotations" info block instead of preview.
This is happening because of wrong usage of lazy reference in SharedChoiceMixin in afterCreate() - it should attach store to a tag when reference is missing, but it fails upon access. Using recommended tryReference() makes it safe and fixes the original issue.

What's left

  • Tests for Preview
  • Documentation about shared stores

hlomzik added 2 commits June 30, 2025 16:34
When you create project and use Taxonomy in a config, it has no dropdown,
making preview for taxonomy useless in this dialog.
It's good in Labeling Settings thought.
The reason for this is z-index for Create Project dialog which is 2000.
Making `z-index` bigger for Taxonomy dropdown solves the problem.
If you add Taxonomy to your config in Preview or edit config with Taxonomy in it,
most likely you'll see "No more annotations" info block instead of preview.
This is happening because of wrong usage of lazy reference in SharedChoiceMixin in
`afterCreate()` - it should attach store to a tag when reference is missing, but
it fails upon access. Using recommended `tryReference()` makes it safe and fixes
the original issue.
Copy link

netlify bot commented Jun 30, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 149df15
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/68908e02fc25da0008590e62

Copy link

netlify bot commented Jun 30, 2025

Deploy Preview for label-studio-storybook canceled.

Name Link
🔨 Latest commit 149df15
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/68908e020c6998000883c5fd

@github-actions github-actions bot added the fix label Jun 30, 2025
Copy link

netlify bot commented Jun 30, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 149df15
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/68908e02471f27000813fad0

Copy link

netlify bot commented Jun 30, 2025

Deploy Preview for label-studio-playground canceled.

Name Link
🔨 Latest commit 149df15
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/68908e029d90ae00088fe45f

@hlomzik
Copy link
Collaborator Author

hlomzik commented Jul 7, 2025

/git merge

Workflow run
Successfully merged: delete mode 100644 web/libs/ui/src/typography/sub.tsx

Copy link

codecov bot commented Jul 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.16%. Comparing base (4e5e32a) to head (149df15).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7881      +/-   ##
===========================================
- Coverage    70.49%   66.16%   -4.34%     
===========================================
  Files          719      505     -214     
  Lines        51356    33834   -17522     
  Branches      8729     8729              
===========================================
- Hits         36205    22387   -13818     
+ Misses       15148    11444    -3704     
  Partials         3        3              
Flag Coverage Δ
lsf-e2e 59.76% <100.00%> (+0.01%) ⬆️
lsf-integration 55.41% <100.00%> (+0.04%) ⬆️
lsf-unit 9.52% <0.00%> (-0.01%) ⬇️
pytests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hlomzik
Copy link
Collaborator Author

hlomzik commented Jul 7, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 docs/source/tags/bitmasklabels.md

@hlomzik
Copy link
Collaborator Author

hlomzik commented Jul 8, 2025

/git merge

Workflow run
Successfully merged: delete mode 100644 docs/source/tags/bitmask.md

@hlomzik
Copy link
Collaborator Author

hlomzik commented Jul 8, 2025

/git merge

Workflow run
Successfully merged: 3 files changed, 148 insertions(+), 120 deletions(-)

@hlomzik
Copy link
Collaborator Author

hlomzik commented Jul 21, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 web/libs/ui/src/lib/skeleton/skeleton.tsx

@hlomzik
Copy link
Collaborator Author

hlomzik commented Aug 4, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 web/libs/ui/src/assets/icons/cloud-provider-s3.svg

@robot-ci-heartex robot-ci-heartex merged commit 3cd75ac into develop Aug 4, 2025
45 of 46 checks passed
@robot-ci-heartex robot-ci-heartex deleted the fb-bros-78/taxonomy-preview branch August 4, 2025 11:36
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.

4 participants