WeKnora/frontend/src/utils
wizardchen 4344765cf9 feat(i18n): enhance notification templates with raw message handling
Updated the notification system to utilize the `tm` function for template resolution, ensuring that placeholders like `{name}` and `{role}` remain intact for proper rendering. This change improves the display of workspace and role information in login and tenant switch notifications, allowing for better localization and visual consistency across the application. Adjustments were made in `App.vue`, `Login.vue`, and related utility functions to accommodate the new template handling.
2026-05-18 20:37:57 +08:00
..
api-base.ts feat(frontend): respect BASE_URL so the SPA works behind a path-prefix reverse proxy 2026-05-05 00:58:19 +08:00
caret.ts feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
chatMessageShared.ts feat(i18n): replace hardcoded Chinese strings with i18n calls across frontend 2026-03-06 10:34:08 +08:00
cronHumanize.ts feat(datasource): implement data source management functionality 2026-03-30 20:46:07 +08:00
files.ts fix(frontend): knowledge document list layout, batch bar, and selection 2026-04-29 15:20:41 +08:00
finalAnswer.ts fix(agent): hide trailing thinking event when it duplicates final answer 2026-05-07 17:33:03 +08:00
index.ts feat(video): remove video upload support and update related terminology 2026-04-14 22:59:14 +08:00
loginNotify.ts feat(i18n): enhance notification templates with raw message handling 2026-05-18 20:37:57 +08:00
mermaidShared.ts fix(frontend): prevent duplicate click binding 2026-03-30 10:46:50 +08:00
mermaidViewer.ts feat(i18n): replace hardcoded Chinese strings with i18n calls across frontend 2026-03-06 10:34:08 +08:00
request.ts fix(rbac): role-aware UI gates leaked write affordances after tenant switch 2026-05-18 17:28:58 +08:00
security.ts feat(obs): 支持华为云obs存储 2026-05-18 19:38:23 +08:00
tdesign-icon-offline.ts fix(frontend): bundle tdesign-icons sprite locally for offline deploys 2026-04-23 18:21:49 +08:00
tenantSwitch.ts feat(ui): render workspace-context notifications with styled chips 2026-05-18 20:37:57 +08:00
tool-capabilities.ts fix(agent): exclude wiki-only KBs from quick-answer (RAG) mode 2026-05-12 16:27:28 +08:00
tool-icons.ts feat: friendly display for MCP tool names in frontend (#715) 2026-03-21 10:22:05 +08:00
workspaceNotifyContent.ts feat(i18n): enhance notification templates with raw message handling 2026-05-18 20:37:57 +08:00