dify/web/app/components/workflow-app/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__ Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-auto-onboarding.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-available-nodes-meta-data.spec.ts fix(workflow): lock chatflow start node from type change 2026-02-13 12:56:49 +08:00
use-available-nodes-meta-data.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-configs-map.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-DSL.ts Merge commit '92bde350' into sandboxed-agent-rebase 2026-03-23 09:39:49 +08:00
use-get-run-and-trace-url.ts fix web style 2026-01-18 13:40:12 +08:00
use-inspect-vars-crud.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
use-is-chat-mode.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-nodes-sync-draft.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-init.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-refresh-draft.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-run.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-workflow-start-run.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-template.ts feat: Unify sandbox detection and apply Agent icon override 2026-02-08 02:59:58 +08:00