dify/web/app/components/workflow/hooks/__tests__
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
..
use-auto-generate-webhook-url.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
use-available-blocks.spec.ts Merge commit '92bde350' into sandboxed-agent-rebase 2026-03-23 09:39:49 +08:00
use-checklist.spec.ts feat: enhance model plugin workflow checks and model provider management UX (#33289) 2026-03-18 10:16:15 +08:00
use-edges-interactions.spec.ts Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
use-helpline.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-hooksstore-wrappers.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-node-data-update.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-node-plugin-installation.spec.ts feat: enhance model plugin workflow checks and model provider management UX (#33289) 2026-03-18 10:16:15 +08:00
use-nodes-sync-draft.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-panel-interactions.spec.ts feat(workflow): add edge context menu with delete support (#33391) 2026-03-13 15:11:24 +08:00
use-selection-interactions.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
use-serial-async-callback.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-tool-icon.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-without-sync-hooks.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
use-workflow-mode.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-workflow-run-event-store-only.spec.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-run-event-with-store.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
use-workflow-run-event-with-viewport.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
use-workflow-variables.spec.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
use-workflow.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00