dify/web/app/components/workflow/hooks
Novice 499d237b7e
fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports
Frontend:
- Migrate deprecated imports: modal→dialog, toast→ui/toast, tooltip→tooltip-plus,
  portal-to-follow-elem→portal-to-follow-elem-plus, select→ui/select, confirm→alert-dialog
- Replace next/* with @/next/* wrapper modules
- Convert TypeScript enums to const objects (erasable-syntax-only)
- Replace all `any` types with `unknown` or specific types in workflow types
- Fix unused vars, react-hooks-extra, react-refresh/only-export-components
- Extract InteractionMode to separate module, tool-block commands to commands.ts

Backend:
- Fix pyrefly errors: type narrowing, null guards, getattr patterns
- Remove unused TYPE_CHECKING imports in LLM node
- Add ignore_imports entries to .importlinter for dify_graph boundary violations

Made-with: Cursor
2026-03-24 10:54:58 +08:00
..
__tests__ fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-run-event fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
index.ts feat: Add subgraph output validation for single-run debugging 2026-01-28 18:24:04 +08:00
inspect-vars-agent-alias.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-auto-generate-webhook-url.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-available-blocks.ts Revert "feat(workflow): refine variable validation and scoping for workflow nodes, remove redundant End block checks" 2026-02-10 20:00:11 +08:00
use-checklist.ts Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
use-collaborative-workflow.ts fix(workflow): memoize useCollaborativeWorkflow return value 2026-01-30 01:31:25 +08:00
use-config-vision.ts fix: fix when vision is disabled delete the configs (#30420) 2026-01-01 00:40:21 +08:00
use-DSL.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
use-dynamic-test-run-options.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
use-edges-interactions-without-sync.ts fix(workflow): disable view switch during preview run instead of mounted guard 2026-01-27 01:31:22 +08:00
use-edges-interactions.ts refactor: update model attribute references from 'model' to 'model_name' across multiple files and introduce new fetch_model_config function in llm_utils.py 2026-03-23 21:17:43 +08:00
use-fetch-workflow-inspect-vars.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-helpline.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-inspect-vars-crud-common.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-inspect-vars-crud.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-leader-restore.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-node-data-update.ts fix web style 2026-01-18 13:40:12 +08:00
use-node-plugin-installation.ts feat: enhance model plugin workflow checks and model provider management UX (#33289) 2026-03-18 10:16:15 +08:00
use-nodes-available-var-list.ts fix: Fix variable availability resolution for child nodes in workflow 2026-02-05 16:57:19 +08:00
use-nodes-interactions-without-sync.ts fix(workflow): disable view switch during preview run instead of mounted guard 2026-01-27 01:31:22 +08:00
use-nodes-interactions.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-nodes-layout.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
use-nodes-meta-data.ts chore: remove block code 2026-03-23 16:32:48 +08:00
use-nodes-sync-draft.ts Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
use-panel-interactions.ts feat(workflow): add edge context menu with delete support (#33391) 2026-03-13 15:11:24 +08:00
use-selection-interactions.ts feat(workflow): add edge context menu with delete support (#33391) 2026-03-13 15:11:24 +08:00
use-serial-async-callback.ts fix: can not save when switch to skill 2026-01-21 13:56:18 +08:00
use-set-workflow-vars-with-value.ts Chore/workflow last run (#21823) 2025-07-02 17:48:07 +08:00
use-shortcuts.ts chore: remove block code 2026-03-23 16:32:48 +08:00
use-sub-graph-by-parent.ts feat: Add subgraph output validation for single-run debugging 2026-01-28 18:24:04 +08:00
use-tool-icon.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-comment.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-history.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
use-workflow-interactions.ts Revert "refactor!: replace Zustand global store with TanStack Query for systemFeatures" 2026-02-01 19:06:45 +08:00
use-workflow-mode.ts feat: workflow remove preview mode (#3941) 2024-04-28 17:09:56 +08:00
use-workflow-refresh-draft.ts chore: slice workflow refresh draft hook (#19292) 2025-05-06 18:24:10 +08:00
use-workflow-run.ts Chore/slice workflow (#18351) 2025-04-18 13:59:12 +08:00
use-workflow-search.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-start-run.tsx feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-workflow-variables.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
use-workflow.ts chore: remove block code 2026-03-23 16:32:48 +08:00