deerflow2/frontend/src/app
JeffJiang db5ad86381 feat: enhance chat history loading with new hooks and UI components (#2338)
* Refactor API fetch calls to use a unified fetch function; enhance chat history loading with new hooks and UI components

- Replaced `fetchWithAuth` with a generic `fetch` function across various API modules for consistency.
- Updated `useThreadStream` and `useThreadHistory` hooks to manage chat history loading, including loading states and pagination.
- Introduced `LoadMoreHistoryIndicator` component for better user experience when loading more chat history.
- Enhanced message handling in `MessageList` to accommodate new loading states and history management.
- Added support for run messages in the thread context, improving the overall message handling logic.
- Updated translations for loading indicators in English and Chinese.

* Fix test assertions for run ordering in RunManager tests

- Updated assertions in `test_list_by_thread` to reflect correct ordering of runs.
- Modified `test_list_by_thread_is_stable_when_timestamps_tie` to ensure stable ordering when timestamps are tied.
2026-04-26 11:20:17 +08:00
..
(auth) refactor: Remove init_token handling from admin initialization logic and related tests 2026-04-26 11:09:56 +08:00
[lang]/docs feat: Add metadata and descriptions to various documentation pages in Chinese 2026-04-26 11:09:55 +08:00
api/memory feat(auth): release-validation pass for 2.0-rc — 12 blockers + simplify follow-ups (#2008) 2026-04-26 11:08:11 +08:00
blog feat(blog): implement blog structure with post listing, tagging, and layout enhancements (#1962) 2026-04-10 20:24:52 +08:00
mock/api ci: enforce code formatting checks for backend and frontend (#1536) 2026-03-29 15:34:38 +08:00
workspace feat: enhance chat history loading with new hooks and UI components (#2338) 2026-04-26 11:20:17 +08:00
layout.tsx fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
page.tsx feat: implement the first version of landing page 2026-01-23 13:24:03 +08:00