deerflow2/web/src
Qiyuan Jiao 2aa07f93c2 fix: Optimize the performance of stream data processing and add anti-… (#642)
* fix: Optimize the performance of stream data processing and add anti-shake and batch update mechanisms

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* 修复消息批量更新重复问题

- 将 pendingUpdates 从数组改为 Map,使用 message.id 作为键
- 避免在16ms窗口内多次更新同一消息导致的重复处理
- 优化了批量更新性能,减少冗余的映射操作

* fix lint error

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2025-10-22 23:08:18 +08:00
..
app fix: handle non-string tool results to fix #631 (#633) 2025-10-20 23:10:58 +08:00
components fix: Optimize the performance of stream data processing and add anti-… (#642) 2025-10-22 23:08:18 +08:00
core fix: Optimize the performance of stream data processing and add anti-… (#642) 2025-10-22 23:08:18 +08:00
hooks feat(visualization): add workflow run animation logic 2025-04-29 16:46:50 +08:00
lib chore: add license header for web 2025-04-17 14:26:41 +08:00
styles FIX/Adapt message box to handle long text in frontend (#466) 2025-08-21 10:31:54 +08:00
typings chore: support raw-loader 2025-04-22 13:52:56 +08:00
env.js feat: show repo star on site-header (#27) 2025-05-12 14:36:50 +08:00
i18n.ts feat: add i18n support and add Chinese (#372) 2025-07-12 15:18:28 +08:00