WeKnora/frontend
wizardchen 69670dbc24 feat: add shared utilities for chat message handling and mermaid rendering
- Introduced new utility functions in `chatMessageShared.ts` for handling incomplete image placeholders, formatting titles, building markdown, and copying text to clipboard.
- Added `mermaidShared.ts` to manage Mermaid initialization and rendering, including functions for creating code renderers and binding fullscreen events.
- Updated `AgentStreamDisplay.vue` and `botmsg.vue` components to utilize the new utilities, improving code organization and reusability.
- Removed redundant Mermaid initialization and image handling logic from components, streamlining the codebase.

These changes enhance the functionality and maintainability of chat message rendering and Mermaid diagram integration.
2026-03-03 22:23:23 +08:00
..
packages chore: Update Dockerfile and package-lock.json for xlsx package management 2025-11-17 13:15:10 +08:00
public feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
src feat: add shared utilities for chat message handling and mermaid rendering 2026-03-03 22:23:23 +08:00
.dockerignore fix: ignore non-utf8 words when saving to db 2025-08-21 19:53:54 +08:00
.gitignore init commit 2025-08-05 15:08:07 +08:00
Dockerfile feat: standardize storage configuration and enhance backward compatibility 2026-03-02 21:21:49 +08:00
docker-entrypoint.sh feat: support remote backend and HTTPS proxy 2026-02-09 17:58:35 +08:00
env.d.ts init commit 2025-08-05 15:08:07 +08:00
index.html feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
nginx.conf refactor: improve Nginx configuration for file handling 2026-03-03 22:23:23 +08:00
package-lock.json chore: update package dependencies and remove unused modules 2026-03-02 21:21:49 +08:00
package.json chore: update package dependencies and remove unused modules 2026-03-02 21:21:49 +08:00
tsconfig.app.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.node.json init commit 2025-08-05 15:08:07 +08:00
vite.config.ts feat: enhance Vite configuration for dynamic module resolution 2026-03-02 21:21:49 +08:00