dify/web/app/components/workflow/nodes/trigger-webhook
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
..
components refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
utils chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
default.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
node.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
panel.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
types.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-config.ts refactor: migrate appDetail from Zustand to TanStack Query 2026-01-18 23:07:33 +08:00