dify/web/app/components/workflow/utils
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
agent-context.ts feat: Add @agent icon and implement agent alias variables in workflow 2026-01-27 02:42:37 +08:00
common.ts Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
data-source.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
debug.ts Fix type error (#27250) 2025-10-22 13:06:15 +08:00
edge.ts Chore/slice workflow utils (#17730) 2025-04-10 10:03:19 +08:00
elk-layout.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
gen-node-meta-data.ts fix: trigger doc link (#31754) 2026-01-30 17:30:24 +08:00
index.ts refactor: Extract nested node ID parsing into shared utility 2026-01-30 22:24:30 +08:00
nested-node-id.ts refactor: Extract nested node ID parsing into shared utility 2026-01-30 22:24:30 +08:00
node-navigation.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
plugin-install-check.ts feat: enhance model plugin workflow checks and model provider management UX (#33289) 2026-03-18 10:16:15 +08:00
plugin.ts feat: enhance model plugin workflow checks and model provider management UX (#33289) 2026-03-18 10:16:15 +08:00
tool-token.ts chore: remove useless toolid 2026-01-26 18:09:46 +08:00
tool.ts feat: enhance model plugin workflow checks and model provider management UX (#33289) 2026-03-18 10:16:15 +08:00
trigger.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
variable.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-entry.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-init.ts chore: remove block code 2026-03-23 16:32:48 +08:00
workflow.ts Merge commit '9c339239' into sandboxed-agent-rebase 2026-03-23 09:00:45 +08:00