deerflow2/frontend/tests/unit/core
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
..
agents fix(frontend): surface backend detail when agent name check fails (#3048) 2026-05-28 18:38:45 +08:00
api fix: ignore stale run reconnect conflicts (#3284) 2026-05-28 17:29:30 +08:00
artifacts Stabilize write artifact previews (#3172) 2026-05-23 16:56:14 +08:00
auth feat(frontend): support static website demo mode (#3170) 2026-05-23 00:10:56 +08:00
messages fix(frontend): strip unclosed <think> tags from streaming AI content (#3218) 2026-05-26 09:35:07 +08:00
settings enable token usage by default (#2841) 2026-05-10 22:00:57 +08:00
streamdown fix(frontend): fix Mermaid preview failure in historical messages (#3196) 2026-05-28 18:20:02 +08:00
tasks fix(stability): resolve P0 blockers from v2.0-m1-rc1 stability audit (#3107) (#3131) 2026-05-21 21:18:10 +08:00
threads fix(frontend): preserve chronological order of thread history after context compression (#3354) 2026-06-03 21:51:48 +08:00
uploads feat(frontend): set up Vitest frontend testing infrastructure with CI workflow (#2147) 2026-04-12 18:00:43 +08:00
clipboard.test.ts fix(frontend): guard message copy clipboard access (#3211) 2026-05-26 09:37:51 +08:00
reasoning-trigger.test.ts Fix invalid HTML nesting in reasoning trigger during complex task rendering (#2382) 2026-04-21 09:41:28 +08:00