Files
dify/web/service
yyh 063f6562cb refactor(web): remove React Query state sync anti-pattern from ExploreContext
Eliminate useEffect-based synchronization of React Query server state
into React Context, which caused extra renders, state drift, and
incorrect loading/empty states on the /explore/apps page.

- Remove installedApps, isFetchingInstalledApps, and
  controlUpdateInstalledApps from ExploreContext (dead code + anti-pattern)
- Sidebar and InstalledApp now consume useGetInstalledApps() directly
- Use isLoading (not isPending) for conditionally-enabled queries to
  avoid permanent loading state when query is disabled
- Derive hasEditPermission during render instead of via useEffect
- Replace FC type annotations with const arrow functions
- Add return type to fetchInstalledAppList
- Update all related unit and integration tests
2026-02-14 13:02:10 +08:00
..
2026-01-28 11:09:34 +08:00
2026-02-09 14:57:23 +08:00
2026-02-04 12:09:22 +08:00
2026-01-14 17:20:49 +08:00
2026-02-09 14:57:23 +08:00
2025-12-23 16:58:55 +08:00
2025-02-17 17:05:13 +08:00
2025-12-23 16:58:55 +08:00
2026-02-09 14:57:23 +08:00
2026-02-09 14:57:23 +08:00
2026-02-09 14:57:23 +08:00
2025-09-18 12:49:10 +08:00
2026-02-09 14:57:23 +08:00