Skip to content

Fix multiselect dropdown and few other improvements#17

Merged
eugenebelov merged 6 commits into
masterfrom
bugfix/multyselect-dropdown-export
Sep 24, 2025
Merged

Fix multiselect dropdown and few other improvements#17
eugenebelov merged 6 commits into
masterfrom
bugfix/multyselect-dropdown-export

Conversation

@eugenebelov

@eugenebelov eugenebelov commented Sep 22, 2025

Copy link
Copy Markdown
Member

fix dropdown import; add new weight for mono font; fix icons and adjust story

Summary

  • multyselect dropdown has duplicate component and library exposing wrong item;
  • add new weight 700 for Jetbrains Mono font
  • adjust story for Paginated Table - added error controller
  • fix paths for icons

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Component enhancement
  • 📚 Documentation update
  • 🎨 Style/UI changes
  • ⚙️ Misc

Component(s) Affected

  • New component: ComponentName
  • Modified component: Dropdown, HeaderText, Input, Theme Config
  • Removed component: ComponentName

Changes Made

Testing

  • Unit tests added/updated
  • Storybook stories added/updated
  • Manual testing completed
  • Accessibility testing performed
  • Cross-browser testing (if applicable)
  • Responsive design testing (if applicable)

Storybook

  • New stories created for new components
  • Existing stories updated to reflect changes
  • All component variants documented
  • Props table is accurate and complete
  • Examples demonstrate proper usage

Breaking Changes

Screenshots/Videos

TODO

  • ...

Checklist

  • Code is properly formatted (Prettier/ESLint)
  • All commits are signed
  • TypeScript types are properly defined
  • Components follow design system guidelines
  • Accessibility requirements met (WCAG compliance)
  • Bundle size impact considered
  • Tests included/updated or not needed
  • Storybook stories included/updated or not needed
  • Documentation updated or not required
  • No console errors or warnings
  • Backward compatibility maintained (or breaking changes documented)

@eugenebelov eugenebelov self-assigned this Sep 22, 2025
@eugenebelov eugenebelov added the bug Something isn't working label Sep 22, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fixes several issues with the multiselect dropdown component and makes other improvements including font weight additions, icon path corrections, and story adjustments.

  • Removes duplicate MultiSelectDropdown component from the main dropdown file
  • Adds new 700 weight for JetBrains Mono font and updates header text font weight logic
  • Replaces hardcoded icon paths with proper icon imports across multiple components

Reviewed Changes

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

Show a summary per file
File Description
src/lib/theme-config.ts Adds documentation comments for existing font weights
src/lib/components/paginated-table/table-error.tsx Replaces hardcoded icon path with SearchIcon import
src/lib/components/paginated-table/paginated-table.stories.tsx Adds error control to story argTypes
src/lib/components/navigation/navigation-banner/navigation-banner.stories.tsx Replaces hardcoded icon paths with proper icon imports
src/lib/components/input/input.tsx Replaces hardcoded error icon path with ErrorIcon import
src/lib/components/header-text/header-text.tsx Updates monotype font weight logic and fixes trailing commas
src/lib/components/dropdown/dropdown.tsx Removes entire MultiSelectDropdown component and related code
src/04-Typography.mdx Adds new Typeset example for bold mono font
package.json Bumps version from 2.0.3 to 2.0.4

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/lib/theme-config.ts Outdated
Comment thread src/lib/theme-config.ts Outdated
Comment thread src/lib/theme-config.ts Outdated
Comment thread src/lib/theme-config.ts Outdated
isFixedDropdown?: boolean;
}

export function MultiSelectDropdown(props: MultiSelectDropdownProps) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please dont remove it, it is used on other projects

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

hm.. that is not good :( ok i will put it back

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks @victoriari for noticing that. I found a few silly issues in our library with that dropdowns

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 8 out of 9 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…st story

Signed-off-by: Evgeniy Bilov <eugenebelov@users.noreply.github.com>
Signed-off-by: Evgeniy Bilov <eugenebelov@users.noreply.github.com>
@eugenebelov eugenebelov force-pushed the bugfix/multyselect-dropdown-export branch from 7d0a9cd to db28936 Compare September 24, 2025 09:22
@eugenebelov eugenebelov merged commit b2a6ad8 into master Sep 24, 2025
5 checks passed
@eugenebelov eugenebelov deleted the bugfix/multyselect-dropdown-export branch September 24, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants