dify/web/app/components/rag-pipeline/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-available-nodes-meta-data.ts feat(web): unify node selector availability rules 2026-02-13 12:17:04 +08:00
use-configs-map.ts chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
use-DSL.ts refactor: spilt context for better hmr (#33033) 2026-03-05 15:54:56 +08:00
use-get-run-and-trace-url.ts fix web style 2026-01-18 13:40:12 +08:00
use-input-field-panel.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-input-fields.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-inspect-vars-crud.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +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-pipeline-config.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-pipeline-init.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-pipeline-refresh-draft.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
use-pipeline-run.ts feat(workflow): enhance workflow run history management and UI updates (#32230) 2026-02-11 14:09:33 +08:00
use-pipeline-start-run.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-pipeline-template.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
use-pipeline.tsx chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
use-rag-pipeline-search.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-update-dsl-modal.ts refactor: spilt context for better hmr (#33033) 2026-03-05 15:54:56 +08:00