Skip to content

Dropping a folder shows Add but does not attach it #1380

Description

@santoshkumarradha

What happens

Dragging a folder into chat reaches the visual Add state, but dropping it does not add the folder to the conversation. The interface therefore confirms a valid drop target without carrying out the action.

Expected

Dropping a folder should add it using the same setup and attachment path as adding that folder through the slash-folder flow, which works.

Reproduction

  1. Open a chat.
  2. Drag a folder over the folder drop target.
  3. Observe that the UI shows Add.
  4. Drop the folder.
  5. Observe that the folder is not added.
  6. Add the same folder through the slash-folder flow; it is added successfully.

Acceptance

  • A folder dropped while the UI shows Add is attached to the conversation.
  • The resulting folder setup is the same as the working slash-folder path.
  • Dragging an unsupported item does not show the Add state.
  • The drag-and-drop and slash-folder paths have regression coverage proving they produce the same attached-folder state.

Drafted with CodeAF · reviewed and owned by the author

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

    area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:seriousWrong or missing behaviour a person meets in ordinary use

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions