Skip to content

Multiple bugs in attachments.tsx and prompt-input.tsx #446

Description

@oleics

Hi,

after a fresh install of shadcn (base) and a subsequent shadcn add ... of some ai-elements components, I've found some bugs:

attachments.tsx

  • the AttachmentHoverCard component is broken, openDelay and closeDelay are not defined, and closeDelay does not exist on AttachmentHoverCard

prompt-input.tsx

  • the PromptInputActionAddAttachments component is broken as DropdownMenuItem does not have a onSelect property
  • same is true for the PromptInputActionAddScreenshot, additionally onSelect has wrong typings
  • PromptInputHoverCard is broken in the same way as AttachmentHoverCard from attachments.tsx

conversation.tsx, model-selector.tsx and message.tsx seem to be fine, though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions