Skip to content

LIG-10246 Add sample-tag comparison selector#1694

Draft
ikondrat wants to merge 1 commit into
kondrat-lig-10245-frontend-grouped-sample-tag-counts-query-hookfrom
kondrat-lig-10246-frontend-sample-tag-comparison-multi-select-control
Draft

LIG-10246 Add sample-tag comparison selector#1694
ikondrat wants to merge 1 commit into
kondrat-lig-10245-frontend-grouped-sample-tag-counts-query-hookfrom
kondrat-lig-10246-frontend-sample-tag-comparison-multi-select-control

Conversation

@ikondrat

Copy link
Copy Markdown
Contributor

Summary

  • add a searchable multi-select control for sample-tag comparison
  • expose controlled comparison-selection props on the distribution panel
  • show the selector only for the annotation-classes source when sample tags are available
  • keep the panel backward compatible when comparison props are omitted

Stack

This split keeps the UI-control change below the requested 150-line threshold.

Testing instructions

  1. Check out this branch on top of [LIG-10245] Add grouped sample-tag counts query hook #1693.
  2. Run:
    cd lightly_studio_view
    make static-checks
  3. In a component host, pass comparisonTagItems, selectedComparisonTagIds, and onComparisonTagIdsChange to DatasetDistributionPanel.
  4. Open the Annotation classes source and verify:
    • the trigger reports the selected tag count;
    • search filters the available sample tags;
    • multiple tags can be toggled;
    • omitting the new props leaves the existing panel unchanged.

Validation

  • make static-checks (Node 24.13.1): 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: 9de4c34d-198e-4c56-839a-95841881a3c0

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-10246-frontend-sample-tag-comparison-multi-select-control

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