Skip to content

Conversation

@naps62
Copy link
Member

@naps62 naps62 commented Oct 21, 2025

No description provided.

@naps62 naps62 requested review from Copilot and joaocosta9 and removed request for Copilot October 21, 2025 15:05
@vercel
Copy link

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ethui-ui Ready Ready Preview Comment Oct 22, 2025 10:10am

onChange(value.filter((i) => i !== item));
}}
>
<XIcon className="w-3" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Hitting X, places the item on the input. Is this supposed to be the default behaviour?

Copy link
Member Author

Choose a reason for hiding this comment

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

no I changed this one myself. thought it could be useful if want to edit an existing value instead of deleting

value,
onChange,
...props
}: MultiTagInputProps) {
Copy link
Contributor

@joaocosta9 joaocosta9 Oct 21, 2025

Choose a reason for hiding this comment

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

Maybe this is nitpicking, but this could have a maxItems so the user doesn’t add an infinite number of items.

Copy link
Member Author

Choose a reason for hiding this comment

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

seems like that would be a job for the zod schema, not for here, because it's very dependant on the use case

Copilot AI review requested due to automatic review settings October 22, 2025 09:58
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

This PR introduces a new MultiTagInput component with form integration while cleaning up build configuration and dependencies. The changes improve TypeScript configuration to properly include story files, remove unnecessary lint suppression comments, and update various dependencies including Biome and Storybook.

Key Changes:

  • Added new MultiTagInput component with standalone and form-integrated variants
  • Updated biome configuration to support React classic JSX runtime, eliminating the need for React import suppressions
  • Updated multiple dependencies including TypeScript, Biome, and Storybook packages

Reviewed Changes

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

Show a summary per file
File Description
tsconfig.base.json Updated include paths to properly include source and Storybook files
biome.json Added jsxRuntime configuration for React classic mode
package.json Updated Biome, Storybook, and TypeScript dependency versions
components/MultiTagInput.tsx New standalone MultiTagInput component implementation
components/form/index.tsx Added MultiTagInput form wrapper component
stories/forms/MultiTagInput.stories.tsx Added stories showcasing MultiTagInput usage
stories/*.stories.tsx Removed biome-ignore comments for React imports
stories/forms/*.stories.tsx Standardized React imports and fixed useEffect dependencies
lib/utils.tsx Added radix parameter to parseInt
components/infinite-scroll.tsx Updated ts-ignore to ts-expect-error
.storybook/preview.tsx Removed unused React import

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

@naps62 naps62 merged commit 9f65fa9 into main Oct 22, 2025
4 checks passed
@naps62 naps62 deleted the multi-select branch October 22, 2025 10:10
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.

3 participants