Skip to content

feat(Select): Support multi select#2603

Open
Lisa18289 wants to merge 7 commits into
mainfrom
2601-improve-and-document-multi-select-in-select-component
Open

feat(Select): Support multi select#2603
Lisa18289 wants to merge 7 commits into
mainfrom
2601-improve-and-document-multi-select-in-select-component

Conversation

@Lisa18289

Copy link
Copy Markdown
Member

No description provided.

@Lisa18289 Lisa18289 self-assigned this Jul 6, 2026
@Lisa18289 Lisa18289 linked an issue Jul 6, 2026 that may be closed by this pull request
@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for ./packages/components/

Status Category Percentage Covered / Total
🔵 Lines 80.59% 324 / 402
🔵 Statements 80.53% 331 / 411
🔵 Functions 85.22% 75 / 88
🔵 Branches 67.26% 150 / 223
File CoverageNo changed files found.
Generated in workflow #5667 for commit 7050e54 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Preview environments are ready:

Type URL
docs pr-2603.docs.review.flow-components.de
storybook pr-2603.storybook.review.flow-components.de

Images:

  • docs: ghcr.io/mittwald/flow/docs:pr-2603
  • storybook: ghcr.io/mittwald/flow/storybook:pr-2603

@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Preview environments are ready:

Type URL
docs pr-2603.docs.review.flow-components.de
storybook pr-2603.storybook.review.flow-components.de

Images:

  • docs: ghcr.io/mittwald/flow/docs:pr-2603
  • storybook: ghcr.io/mittwald/flow/storybook:pr-2603

@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Preview environments are ready:

Type URL
docs pr-2603.docs.review.flow-components.de
storybook pr-2603.storybook.review.flow-components.de

Images:

  • docs: ghcr.io/mittwald/flow/docs:pr-2603
  • storybook: ghcr.io/mittwald/flow/storybook:pr-2603

1 similar comment
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Preview environments are ready:

Type URL
docs pr-2603.docs.review.flow-components.de
storybook pr-2603.storybook.review.flow-components.de

Images:

  • docs: ghcr.io/mittwald/flow/docs:pr-2603
  • storybook: ghcr.io/mittwald/flow/storybook:pr-2603

@Lisa18289
Lisa18289 enabled auto-merge (squash) July 7, 2026 09:22
@maaaathis
maaaathis requested a review from Copilot July 15, 2026 05:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Select form control to support multi-selection, updates option rendering/styling to show selection state, and adjusts docs + visual regression coverage to reflect the new behavior.

Changes:

  • Add selectionMode support (single/multiple) to Select and update its value rendering behavior.
  • Render a selection check icon in Option and update menu-item styling to show it only for selected/current items.
  • Update Storybook, docs, and visual tests to cover multi-select and FieldDescription/placeholder-related styling.

Reviewed changes

Copilot reviewed 21 out of 102 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pnpm-lock.yaml Bumps @codemirror/language patch version in lockfile.
packages/remote-react-components/src/tests/visual/TimeField.browser.test.tsx Adds FieldDescription to disabled TimeField visual coverage.
packages/remote-react-components/src/tests/visual/TextField.browser.test.tsx Adds FieldDescription to disabled TextField visual coverage.
packages/remote-react-components/src/tests/visual/TextArea.browser.test.tsx Adds FieldDescription to disabled TextArea visual coverage.
packages/remote-react-components/src/tests/visual/Select.browser.test.tsx Updates Select interaction coverage and adds a new multi-select visual test.
packages/remote-react-components/src/tests/visual/FileField.browser.test.tsx Adds FieldDescription to disabled FileField visual coverage.
packages/remote-react-components/src/tests/visual/DateRangePicker.browser.test.tsx Adds FieldDescription to disabled DateRangePicker visual coverage.
packages/remote-react-components/src/tests/visual/DatePicker.browser.test.tsx Adds FieldDescription to disabled DatePicker coverage; tweaks interaction sequence.
packages/components/src/styles/mixins/menuItem.scss Adds .checkMark visibility behavior for selected/current items; fixes icon transition property.
packages/components/src/styles/mixins/formControl.scss Attempts to style placeholder via [data-placeholder="true"] in interaction states.
packages/components/src/components/Select/stories/Default.stories.tsx Adds selectionMode control; updates examples to include rich option content and new default API usage.
packages/components/src/components/Select/Select.tsx Updates Select props typing for selection modes; customizes SelectValue rendering; updates change handlers.
packages/components/src/components/Select/Select.module.scss Hides option checkmark inside the Select toggle; removes local placeholder styling.
packages/components/src/components/Option/Option.tsx Adds check icon + wraps option content for richer layouts and selection affordance.
packages/components/src/components/Option/Option.module.scss Lays out option content vs check icon (space-between) and aligns rich content.
packages/components/src/components/FormField/FormField.module.scss Ensures disabled styles also apply to .fieldDescription.
packages/components/src/components/FileField/components/FileInput.tsx Adds styling hook for FieldDescription in FileInput composition.
packages/components/src/components/FileField/components/FileInput.module.scss Adds disabled color styling for a sibling .fieldDescription.
packages/components/src/components/DateRangePicker/components/DateRangeInput/DateRangeInput.module.scss Adds placeholder/disabled sibling styling for date range input segments.
packages/components/src/components/DatePicker/components/DateInput/DateInput.module.scss Adds placeholder/disabled sibling styling for date input segments.
apps/docs/src/content/04-components/form-controls/select/overview.mdx Documents selectionMode="multiple" and embeds a live example.
apps/docs/src/content/04-components/form-controls/select/examples/multiple.tsx Adds docs example snippet demonstrating multiple selection.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

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

Comment thread packages/components/src/styles/mixins/formControl.scss
Comment thread packages/components/src/styles/mixins/formControl.scss
Comment thread packages/components/src/components/Option/Option.tsx
@Lisa18289
Lisa18289 marked this pull request as draft July 17, 2026 06:21
auto-merge was automatically disabled July 17, 2026 06:21

Pull request was converted to draft

Add single/multiple selectionMode support to the Select component,
including option check marks and multi-value handling, along with the
documentation, stories and visual regression tests.
@Lisa18289
Lisa18289 force-pushed the 2601-improve-and-document-multi-select-in-select-component branch from cda8eef to 3c4b63f Compare July 17, 2026 06:44
@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 17, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 17, 2026
github-actions Bot and others added 3 commits July 17, 2026 08:23
Co-authored-by: Lisa18289 <84317589+Lisa18289@users.noreply.github.com>
…ment-multi-select-in-select-component

# Conflicts:
#	packages/remote-react-components/src/tests/visual/__screenshots__/Select.browser.test.tsx/Select-states-firefox-linux.png
#	packages/remote-react-components/src/tests/visual/__screenshots__/Select.browser.test.tsx/Select-states-webkit-linux.png
…select-in-select-component' into 2601-improve-and-document-multi-select-in-select-component
@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 17, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Jul 17, 2026
Co-authored-by: Lisa18289 <84317589+Lisa18289@users.noreply.github.com>
@Lisa18289
Lisa18289 marked this pull request as ready for review July 20, 2026 05:09
…select-in-select-component' into 2601-improve-and-document-multi-select-in-select-component
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.

Improve and document multi-select in Select Component

2 participants