dify/web/app/components/base/image-uploader
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__ refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
audio-preview.tsx test: add tests for base > image-uploader (#32416) 2026-02-24 21:29:28 +08:00
chat-image-uploader.tsx test: add tests for base > image-uploader (#32416) 2026-02-24 21:29:28 +08:00
hooks.ts refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
image-link-input.tsx test: improve coverage parameters for some files in base (#33207) 2026-03-12 14:57:31 +08:00
image-list.stories.tsx chore: update to story book nextjs-vite (#31536) 2026-01-26 17:07:20 +08:00
image-list.tsx fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
image-preview.tsx fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
text-generation-image-uploader.tsx test: add tests for base > image-uploader (#32416) 2026-02-24 21:29:28 +08:00
uploader.tsx test: add tests for base > image-uploader (#32416) 2026-02-24 21:29:28 +08:00
utils.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
video-preview.tsx test: add tests for base > image-uploader (#32416) 2026-02-24 21:29:28 +08:00