dify/web/app/components/base/agent-log-modal
yyh 91856b09ca
refactor: migrate appDetail from Zustand to TanStack Query
- Remove appDetail and setAppDetail from Zustand store
- Use useAppDetail hook for server state management
- Child components now call useAppDetail(appId) directly via useParams()
- Replace setAppDetail calls with useInvalidateAppDetail for cache invalidation
- Keep only client UI state in Zustand (sidebar, modals)
- Split sidebar initialization useEffect for clearer separation of concerns
- Update test mocks to use TanStack Query pattern
- Fix missing dependencies in use-checklist.ts useMemo/useCallback hooks
2026-01-18 23:07:33 +08:00
..
detail.tsx refactor: migrate appDetail from Zustand to TanStack Query 2026-01-18 23:07:33 +08:00
index.stories.tsx refactor: migrate appDetail from Zustand to TanStack Query 2026-01-18 23:07:33 +08:00
index.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
iteration.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
result.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
tool-call.tsx refactor(i18n): about locales (#30336) 2025-12-30 14:38:23 +08:00
tracing.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00