Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Dropping a folder shows Add but does not attach it

Aperta
#1,380 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 35m
PR unite (30g)
752

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.