Dropping a folder shows Add but does not attach it

未關閉
#1,380 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
68/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
go
領域
frontend

研究方向

Start at the folder drop target and trace the handler used after the UI enters the Add state, then compare it with the working slash-folder flow. Add regression coverage for both paths and verify that supported drops produce the same attached-folder state while unsupported items do not show Add.

由索引模型根據 Issue 內容生成。

描述

area:chat bug sev:serious

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

主要語言
Go
星號
115
分支
14
平均合併
10 小時 23 分鐘
30 天內合併 PR
389

環境準備

我們還沒有檢查這個專案的環境設定檔。先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Agent-Field/CodeAF 的其他 Issue

查看 Agent-Field/CodeAF 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。