deerflow2/frontend/src/core/threads
Huixin615 9a53f9dfbb
fix(frontend): preserve chronological order of thread history after context compression (#3354)
* fix(frontend): preserve chronological order of thread history after context compression

Iterate runs from newest to match backend `list_by_thread` (newest-first) and the prepend semantics of the history loader, so refreshed history renders in A→B→C→D→E→F order.

Fixes #3352

* fix(frontend): auto-continue loading runs with no visible messages after context compression
2026-06-03 21:51:48 +08:00
..
api.ts fix: use backend thread token usage for header total (#2800) 2026-05-09 19:40:32 +08:00
export.ts fix(stability): resolve P0 blockers from v2.0-m1-rc1 stability audit (#3107) (#3131) 2026-05-21 21:18:10 +08:00
hooks.ts fix(frontend): preserve chronological order of thread history after context compression (#3354) 2026-06-03 21:51:48 +08:00
index.ts refactor: refine folder structure and rename 2026-01-16 09:13:02 +08:00
static-demo.ts feat(frontend): support static website demo mode (#3170) 2026-05-23 00:10:56 +08:00
token-usage.ts fix: use backend thread token usage for header total (#2800) 2026-05-09 19:40:32 +08:00
types.ts fix: load paginated run history messages (#3305) 2026-06-01 15:50:39 +08:00
utils.ts fix(frontend): replace invalid "context" select field with "metadata" in threads.search (#2053) 2026-04-10 08:35:07 +08:00