Skip to content

Conversation

@hlomzik
Copy link
Collaborator

@hlomzik hlomzik commented Nov 13, 2025

Aggregation/Distribution

It displays aggregations for choices, taxonomies, etc.:

  • For number and rating it shows average number
  • For labels and taxonomies it shows counts for every option
  • For choices it shows distribution of every choice, including annotations where this choice was skipped

Styles

A lot of styles were fixed in Task Summary: badges, table design, zebra rows, sticky column, usernames, etc.

Autoselect of Summary tab

When you switch between tasks you'll end up in the same pane you've been before — either annotation view, Summary tab or Compare tab. It makes it easier to review multiple tasks.

We already had a memory about a tab in View All, but now we also remember was it annotation view or View All. Technically it's tricky because we exit View All in a lot of places where we select annotation. And we select all annotations (or one with FF_SIMPLE_INIT on) on LSF init, so it always resets the view. So now we only exit View All if we are already in View All and do an interaction with UI.

Screenshot 2025-11-13 at 18 02 44

It displays aggregations for choices, taxonomies, etc.:
- For number and rating it shows average number
- For choices, labels and taxonomies it shows counts for every option

Also a lot of styles were fixed in Task Summary.
@hlomzik hlomzik requested review from niklub and removed request for nick-skriabin November 13, 2025 18:03
@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 4262684
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/691b3021c544ee000821e08f

@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit 4262684
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/691b302128b91600081c37b3
😎 Deploy Preview https://deploy-preview-8821--label-studio-playground.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 project configuration.

@github-actions github-actions bot added the feat label Nov 13, 2025
@netlify
Copy link

netlify bot commented Nov 13, 2025

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

Name Link
🔨 Latest commit 4262684
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/691b3021f0198a0008e33394

@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 4262684
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/691b3021ddf60d000827e61f
😎 Deploy Preview https://deploy-preview-8821--label-studio-storybook.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 project configuration.

@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

❌ Patch coverage is 72.38095% with 58 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.50%. Comparing base (c1b62ce) to head (4262684).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
.../editor/src/components/TaskSummary/Aggregation.tsx 61.25% 30 Missing and 1 partial ⚠️
...bs/editor/src/components/TaskSummary/labelings.tsx 16.66% 15 Missing ⚠️
...tor/src/components/TaskSummary/LabelingSummary.tsx 89.85% 7 Missing ⚠️
...eb/libs/editor/src/components/TaskSummary/utils.ts 68.75% 5 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (c1b62ce) and HEAD (4262684). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (c1b62ce) HEAD (4262684)
pytests 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8821      +/-   ##
===========================================
- Coverage    66.72%   58.50%   -8.22%     
===========================================
  Files          811      554     -257     
  Lines        63432    40207   -23225     
  Branches     10690    10761      +71     
===========================================
- Hits         42325    23524   -18801     
+ Misses       21104    16679    -4425     
- Partials         3        4       +1     
Flag Coverage Δ
lsf-e2e 52.65% <7.21%> (-0.20%) ⬇️
lsf-integration 49.11% <5.76%> (-0.26%) ⬇️
lsf-unit 8.39% <67.94%> (+0.29%) ⬆️
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 Nov 13, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 label_studio/fsm/urls.py

@hlomzik
Copy link
Collaborator Author

hlomzik commented Nov 13, 2025

/fmt

Workflow run
Workflow run

If there are no annotations don't fail trying to save the draft
@hlomzik hlomzik requested a review from a team as a code owner November 14, 2025 13:34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not have a similar Badge component in the UI lib which could be used here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Chip has its own display logic. We might use Badge as display component inside Chip, but styles are different, we work on this later with @ricardoantoniocm

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly it seems like we have many ways we handle color cycling for labels, it might be worthwhile consolidating the logic to a shared core util so everywhere we ever need this label cycling, it is the same.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea in general, but we have different logic for labels. Plus it uses outdated libraby we don't control, so it would be a nice effort to make all this controllable and consolidated, but definitely not in this PR.

- Move all code to one dedicated file
- Don't show horizontal scroll on small tables
- Don't show expand button for small aggregations
- Simplify code a little
We should only apply it to schema/tags.json
Also make `showEmpty` true by default
@hlomzik
Copy link
Collaborator Author

hlomzik commented Nov 17, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 web/libs/datamanager/src/components/Filters/types/TaskStateFilter.jsx

@robot-ci-heartex robot-ci-heartex merged commit 04876f2 into develop Nov 17, 2025
63 of 66 checks passed
@robot-ci-heartex robot-ci-heartex deleted the fb-bros-594/summary-distribution branch November 17, 2025 15:48
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.

5 participants