dify/web/app/components/base/markdown-blocks
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__ fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
audio-block.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
button.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
code-block.stories.tsx chore: update to story book nextjs-vite (#31536) 2026-01-26 17:07:20 +08:00
code-block.tsx refactor: route low-cost next modules through compat re-exports (#33622) 2026-03-18 10:37:29 +08:00
form.tsx refactor: replace react markdown with streamdown (#32971) 2026-03-10 17:02:37 +08:00
img.tsx refactor: replace react markdown with streamdown (#32971) 2026-03-10 17:02:37 +08:00
index.ts refactor: replace react markdown with streamdown (#32971) 2026-03-10 17:02:37 +08:00
link.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
music.tsx fix: styles and missing imports (#18396) 2025-04-19 14:46:10 +08:00
paragraph.tsx fix: prevent hydration warning from div nesting inside p for inline markdown images (#32419) 2026-03-10 14:07:55 +08:00
plugin-img.tsx refactor: replace react markdown with streamdown (#32971) 2026-03-10 17:02:37 +08:00
plugin-paragraph.tsx refactor: replace react markdown with streamdown (#32971) 2026-03-10 17:02:37 +08:00
think-block.stories.tsx refactor: spilt context for better hmr (#33033) 2026-03-05 15:54:56 +08:00
think-block.tsx fix: stop think block timer in historical conversations (#33083) 2026-03-20 11:03:35 +08:00
utils.ts fix: prevent hydration warning from div nesting inside p for inline markdown images (#32419) 2026-03-10 14:07:55 +08:00
video-block.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00