dify/web/app/components/develop
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
..
secret-key refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
template docs: clarify how to obtain workflow_id for version execution (#28007) 2025-11-09 21:38:06 +08:00
ApiServer.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
code.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
doc.tsx refactor(i18n): about locales (#30336) 2025-12-30 14:38:23 +08:00
index.tsx refactor: migrate appDetail from Zustand to TanStack Query 2026-01-18 23:07:33 +08:00
md.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tag.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00