dify/web/service
yyh 0bdd21bc17
refactor(web): replace query option tunneling with queryOptions factories
Extract sandboxFilesTreeOptions and buildTreeFromFlatList from
useSandboxFilesTree so callers that need custom TanStack Query behavior
(e.g. refetchInterval) can compose at the call site instead of tunneling
options through the hook. Remove the thin useGetSandboxProviderList
wrapper in favor of inline oRPC queryOptions in the component.

Also remove redundant .input(type<unknown>()) from three no-input GET
contracts—oc already defaults TInputSchema to Schema<unknown, unknown>.
2026-02-27 11:58:16 +08:00
..
knowledge fix: return invalidate promises and parallelize invalidations 2026-02-05 11:42:59 +08:00
_tools_util.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
_tools_util.ts fix: properly escape collectionName in query string parameters (#14476) 2025-02-27 18:59:07 +08:00
access-control.ts Revert "refactor!: replace Zustand global store with TanStack Query for systemFeatures" 2026-02-01 19:06:45 +08:00
annotation.ts refactor(web): drop swr and migrate share/chat hooks to tanstack query (#30232) 2025-12-29 14:04:01 +08:00
apps.ts feat: add Creators Platform helper for DSL upload and OAuth redirect (Vibe Kanban) (#32232) 2026-02-11 21:10:48 +08:00
base.signin-redirect.spec.ts feat(logout): implement logout mutation and reset login cache on success 2026-02-10 17:55:22 +08:00
base.spec.ts fix(web): add null check for SSE stream bufferObj to prevent TypeError (#30131) 2026-01-13 15:40:43 +08:00
base.ts feat(logout): implement logout mutation and reset login cache on success 2026-02-10 17:55:22 +08:00
billing.ts refactor: init orpc contract (#30885) 2026-01-13 23:38:28 +09:00
client.spec.ts refactor: type safe env, update to zod v4 (#32035) 2026-02-10 17:55:11 +08:00
client.ts fix: base url in client (#31902) 2026-02-04 12:09:22 +08:00
common.ts use contract for api request 2026-01-21 18:20:38 +08:00
datasets.ts feat: Download the uploaded files (#31068) 2026-01-19 16:48:13 +08:00
debug.ts refactor: Improve type safety in context generate modal hooks 2026-01-30 21:41:04 +08:00
explore.ts feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
fetch.ts fix: replace sendBeacon with fetch keepalive for autosave on page close (#32088) 2026-02-10 16:59:02 +08:00
log.ts refactor(web): migrate log service to TanStack Query (#30065) 2025-12-24 15:25:28 +08:00
plugins.ts refactor(web): drop swr and migrate share/chat hooks to tanstack query (#30232) 2025-12-29 14:04:01 +08:00
refresh-token.spec.ts fix(web): preserve current URL on 401 redirect and harden token refresh lock 2026-02-10 14:57:26 +08:00
refresh-token.ts fix(web): preserve current URL on 401 redirect and harden token refresh lock 2026-02-10 14:57:26 +08:00
share.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
sso.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
strategy.ts Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
tag.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tools.ts refactor(tool-selector): remove unused components and consolidate import (#31018) 2026-01-26 14:24:00 +08:00
try-app.ts feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
upload-to-presigned-url.ts refactor(app-asset): migrate file upload to presigned URL and batch upload 2026-01-23 15:11:04 +08:00
use-app-asset.ts refactor(web): destructure mutation result to narrow useCallback dependencies 2026-02-25 21:04:20 +08:00
use-apps.ts fix: fix enhance app mode check (#30758) 2026-01-09 14:07:40 +08:00
use-base.ts fix: return invalidate promises and parallelize invalidations 2026-02-05 11:42:59 +08:00
use-billing.ts refactor(contract): restructure console contracts with nested billing module (#30999) 2026-01-15 10:41:18 +08:00
use-common.spec.tsx feat(logout): implement logout mutation and reset login cache on success 2026-02-10 17:55:22 +08:00
use-common.ts feat(logout): implement logout mutation and reset login cache on success 2026-02-10 17:55:22 +08:00
use-dataset-card.ts refactor: restructure DatasetCard component for improved readability and maintainability (#30617) 2026-01-06 21:57:21 +08:00
use-datasource.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-education.ts fix: correct useEducationStatus query cache configuration (#30416) 2025-12-31 13:51:05 +08:00
use-endpoints.ts fix: return invalidate promises and parallelize invalidations 2026-02-05 11:42:59 +08:00
use-explore.ts fix: include locale in appList query key for localization support inuseExploreAppList (#31921) 2026-02-04 18:12:30 +08:00
use-flow.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
use-log.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
use-models.ts chore: integrate @tanstack/eslint-plugin-query and fix service layer lint errors (#30444) 2026-01-04 11:20:06 +08:00
use-oauth.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-pipeline.ts chore: integrate @tanstack/eslint-plugin-query and fix service layer lint errors (#30444) 2026-01-04 11:20:06 +08:00
use-plugins-auth.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-plugins.ts refactor: init orpc contract (#30885) 2026-01-13 23:38:28 +09:00
use-sandbox-file.spec.tsx fix(workflow): prevent redundant sandbox download refetch after reset 2026-02-07 22:43:13 +08:00
use-sandbox-file.ts refactor(web): replace query option tunneling with queryOptions factories 2026-02-27 11:58:16 +08:00
use-sandbox-provider.ts refactor(web): replace query option tunneling with queryOptions factories 2026-02-27 11:58:16 +08:00
use-share.spec.tsx feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
use-share.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
use-strategy.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-tools.ts perf(workflow): skip unnecessary query subscriptions for non-plugin nodes 2026-01-30 01:46:50 +08:00
use-triggers.ts fix: remove staleTime/gcTime overrides from trigger query hooks and use orpc contract (#31863) 2026-02-04 19:33:32 +08:00
use-try-app.ts feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
use-workflow.ts feat(workflow): enhance workflow run history management and UI updates (#32230) 2026-02-11 14:09:33 +08:00
use-workspace.ts feat: ee workspace permission control (#30841) 2026-01-19 11:06:04 +08:00
utils.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
utils.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
webapp-auth.ts fix(api): add session_id validation for webapp JWT authentication (#28297) 2025-11-21 11:23:52 +08:00
workflow-comment.ts use contract for api request 2026-01-21 18:20:38 +08:00
workflow-payload.ts feat: enhance start node object value check (#30732) 2026-01-09 16:13:17 +08:00
workflow.ts fix: fix trigger output schema miss (#32116) 2026-02-09 15:46:59 +08:00