dify/web/__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
..
apps Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
billing refactor(web): update frontend toast call sites to use the new shortcut API (#33808) 2026-03-20 16:02:22 +08:00
datasets refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
develop refactor(web): extract custom hooks from complex components and add comprehensive tests (#32301) 2026-02-13 17:21:34 +08:00
explore refactor(web): update frontend toast call sites to use the new shortcut API (#33808) 2026-03-20 16:02:22 +08:00
goto-anything test: add unit and integration tests for share, develop, and goto-anything modules (#32246) 2026-02-12 10:05:43 +08:00
plugins refactor: move to std-semver (#33682) 2026-03-18 22:00:25 +08:00
rag-pipeline refactor: spilt context for better hmr (#33033) 2026-03-05 15:54:56 +08:00
share refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
tools refactor(web): migrate document list query state to nuqs (#32339) 2026-03-03 18:29:23 +08:00
check-i18n.test.ts refactor(web): replace String.match() with RegExp.exec() for non-global regex (#32386) 2026-02-18 17:46:38 +09:00
description-validation.test.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
document-detail-navigation-fix.test.tsx refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
document-list-sorting.test.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
embedded-user-id-auth.test.tsx refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
embedded-user-id-store.test.tsx refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
i18n-upload-features.test.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
navigation-utils.test.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
plugin-tool-workflow-error.test.tsx CI: add TS indentation check via esLint (#24810) 2025-09-01 15:31:59 +08:00
real-browser-flicker.test.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
unified-tags-logic.test.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-onboarding-integration.test.tsx fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
xss-prevention.test.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00