Skip to content

New components for DataVis NITRO#144

Merged
tvenable-mie merged 9 commits intomainfrom
components-for-datavis-nitro
Mar 25, 2026
Merged

New components for DataVis NITRO#144
tvenable-mie merged 9 commits intomainfrom
components-for-datavis-nitro

Conversation

@tvenable-mie
Copy link
Copy Markdown
Contributor

@tvenable-mie tvenable-mie commented Mar 23, 2026

I'm adding some UI widgets that are needed to support the parts of DataVis NITRO that aren't yet using mieweb/ui components — such as searchable dropdowns.

CleanShot 20260323 at 162444

Copilot AI review requested due to automatic review settings March 23, 2026 15:24
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 23, 2026

Deploying ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 90e9d88
Status: ✅  Deploy successful!
Preview URL: https://006c504d.ui-6d0.pages.dev
Branch Preview URL: https://components-for-datavis-nitro.ui-6d0.pages.dev

View logs

Copy link
Copy Markdown

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

Adds new Dropdown capabilities to support DataVis NITRO UI needs (notably searchable and multi-select dropdown behaviors), along with supporting tests/stories and improved jsdom test environment setup.

Changes:

  • Extend Dropdown with searchable filtering UI and multi-select (checkbox + select-all) behavior.
  • Add Vitest coverage for searchable and multi-select dropdown behaviors.
  • Add a localStorage mock + per-test cleanup in jsdom test setup.

Reviewed changes

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

File Description
src/test/setup.ts Adds localStorage mocking logic and clears storage between tests.
src/components/Dropdown/Dropdown.tsx Implements searchable dropdown rendering/filtering and multi-select + select-all support.
src/components/Dropdown/Dropdown.test.tsx Adds unit tests covering search filtering, empty state, multi-select, and select-all behaviors.
src/components/Dropdown/Dropdown.stories.tsx Adds Storybook examples for searchable and multi-select dropdown variants.

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

Copilot AI review requested due to automatic review settings March 23, 2026 19:52
@tvenable-mie tvenable-mie force-pushed the components-for-datavis-nitro branch from 9f3aab1 to 18b4fc3 Compare March 23, 2026 19:52
@tvenable-mie tvenable-mie force-pushed the components-for-datavis-nitro branch from 18b4fc3 to 7f956f0 Compare March 23, 2026 19:55
Copy link
Copy Markdown

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

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


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

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

@tvenable-mie I've opened a new pull request, #148, to work on those changes. Once the pull request is ready, I'll request review from you.

tvenable-mie and others added 3 commits March 25, 2026 14:41
Fix ARIA violation: search input outside `role="menu"` in searchable Dropdown
Copilot AI review requested due to automatic review settings March 25, 2026 18:56
@tvenable-mie tvenable-mie force-pushed the components-for-datavis-nitro branch from 93e63da to ddd7359 Compare March 25, 2026 19:01
Copy link
Copy Markdown

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

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


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

Copy link
Copy Markdown
Contributor

@garrity-miepub garrity-miepub left a comment

Choose a reason for hiding this comment

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

I think this is an awesome enhancement to the dropdown!!

@tvenable-mie tvenable-mie merged commit 0b4f31b into main Mar 25, 2026
10 checks passed
@tvenable-mie tvenable-mie deleted the components-for-datavis-nitro branch March 25, 2026 19:15
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.

4 participants