Skip to content

Align Benchmark "select all" font and checkbox style with the rest of the checkboxes#2032

Open
cezudas wants to merge 3 commits intomainfrom
cezudas/OPS-3809
Open

Align Benchmark "select all" font and checkbox style with the rest of the checkboxes#2032
cezudas wants to merge 3 commits intomainfrom
cezudas/OPS-3809

Conversation

@cezudas
Copy link
Contributor

@cezudas cezudas commented Feb 27, 2026

Fixes OPS-3809.

Screenshots
Before:
Screenshot 2026-02-27 at 19 25 50

After:

Screenshot 2026-02-27 at 19 26 07

Copilot AI review requested due to automatic review settings February 27, 2026 17:28
@linear
Copy link

linear bot commented Feb 27, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates SelectAllCheckbox styling defaults and usage to make the Benchmark “Select all” checkbox match the visual treatment of other checkboxes (OPS-3809).

Changes:

  • Adjusted SelectAllCheckbox CVA variants (including changing the default variant).
  • Updated Benchmark and Storybook usages to explicitly set variant="primary" and normalize label font weight where needed.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
packages/ui-components/src/ui/select-all-checkbox/select-all-checkbox.tsx Tweaks variant styling and changes the component’s default variant.
packages/ui-components/src/stories/wizard/wizard.stories.tsx Sets explicit variant="primary" and labelClassName="font-normal" on wizard “select all” examples.
packages/ui-components/src/stories/select-all-checkbox.stories.tsx Sets explicit variant="primary" in the interactive story.
packages/react-ui/src/app/features/benchmark/components/dynamic-benchmark-step/multi-select-body.tsx Sets explicit variant="primary" and label font normalization for Benchmark “select all”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

},
defaultVariants: {
variant: 'primary',
variant: 'default',
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

Changing defaultVariants.variant from primary to default is a behavior/API change: any existing SelectAllCheckbox call sites that relied on the implicit primary styling will now render differently. There is at least one usage in the repo that does not pass variant (e.g. packages/react-ui/src/app/features/builder/block-properties/multi-select-block-property.tsx), so this PR will likely cause an unintended visual regression there unless that usage is updated or the default is kept as primary.

Suggested change
variant: 'default',
variant: 'primary',

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

@cezudas cezudas Feb 27, 2026

Choose a reason for hiding this comment

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

This makes packages/react-ui/src/app/features/builder/block-properties/multi-select-block-property.tsx use default variant, this is ok, so it aligns with the styles before #1945.

@sonarqubecloud
Copy link

@openops-cloud openops-cloud deleted a comment from Copilot AI Feb 27, 2026
@cezudas cezudas marked this pull request as ready for review February 27, 2026 17:57
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.

2 participants