Skip to content

LIG-10252 Show groups for a single distribution source#1701

Draft
ikondrat wants to merge 1 commit into
kondrat-lig-10250-coverage-grouped-barchart-optionsfrom
kondrat-lig-10252-frontend-show-distribution-group-selector-for-a-single
Draft

LIG-10252 Show groups for a single distribution source#1701
ikondrat wants to merge 1 commit into
kondrat-lig-10250-coverage-grouped-barchart-optionsfrom
kondrat-lig-10252-frontend-show-distribution-group-selector-for-a-single

Conversation

@ikondrat

Copy link
Copy Markdown
Contributor

Summary

  • render the contextual distribution-group selector even when only one top-level source exists
  • keep the top-level source selector hidden for a single source
  • add a regression test for a single Annotation classes source with multiple annotation-type groups

Stack

This edge case was found while exercising LIG-10249: without numeric metadata, the existing wrapper hid the annotation-type selector together with the source selector.

Testing instructions

cd lightly_studio_view
make static-checks
npm run test:unit -- --run \
  src/lib/components/DatasetDistributionPanel/DatasetDistributionPanel.test.ts

Then open a dataset without numeric metadata and verify Annotation type is selectable while the Distribution source selector remains hidden.

Validation

  • focused DatasetDistributionPanel suite: 29 tests passed

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f1fb25a6-678e-4767-adf3-f9cd74046486

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch kondrat-lig-10252-frontend-show-distribution-group-selector-for-a-single

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant