deerflow2/frontend/src
Ryanba aa9697e940 fix(frontend): block duplicate sends during uploads (#1165)
* fix(frontend): block duplicate sends during uploads

Expose pre-submit upload work as a busy state so the chat input does not allow a second send while the first attachment is still uploading.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* docs(frontend): document upload and stream ownership

Record that thread hooks own upload-before-submit state while the chat page owns composer busy wiring, so future changes do not reintroduce duplicate socket or upload state handling.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(frontend): separate upload busy state from streaming

Keep uploads from reusing the streaming stop state so duplicate submits are blocked without turning the composer into a stop button during file uploads.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-18 15:10:27 +08:00
..
app fix(frontend): block duplicate sends during uploads (#1165) 2026-03-18 15:10:27 +08:00
components feat: add citation/reference support to deep research reports (#1143) 2026-03-17 09:51:08 +08:00
core fix(frontend): block duplicate sends during uploads (#1165) 2026-03-18 15:10:27 +08:00
hooks feat: implement basic web app 2026-01-15 23:40:21 +08:00
lib chore: 移除所有 Citations 相关逻辑,为后续重构做准备 2026-02-09 16:24:01 +08:00
server/better-auth style: format 2026-01-17 00:13:24 +08:00
styles feat: set golden color for ultra 2026-02-09 00:30:20 +08:00
typings feat: add 'about' page 2026-02-06 15:18:37 +08:00
env.js feat: implement the first section of landing page 2026-01-23 00:15:21 +08:00