WeKnora/frontend/src/components
Claude f140c12518 feat(frontend): unify font rendering and add font picker in settings
The UI used hardcoded "PingFang SC" in 50+ components, while the global
font stack in App.vue used a different fallback chain. Outside of mainland
China this caused visibly different fonts in the sidebar, breadcrumbs,
search and agent views compared to settings and document panes.

- Introduce --app-font-family / --app-font-family-mono CSS variables in
  theme.css and route TDesign's --td-font-family through them
- Add a useFont composable that persists the user's choice in localStorage
  and applies it via document.documentElement.style before mount
- Replace hardcoded font-family declarations across the app with the new
  variables (TencentSans logo and the SVG attribute list are preserved)
- Add UI font and monospace font selectors in General Settings with
  i18n strings for en-US, zh-CN, ko-KR and ru-RU

https://claude.ai/code/session_01S1FVPf4jRfWXkTSnpMmMp7
2026-05-05 00:48:40 +08:00
..
css feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
settings refactor(frontend): unify Model/WebSearch/MCP settings pages with shared card + drawer 2026-04-29 22:34:39 +08:00
AgentAvatar.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
AgentSelector.vue fix: standardize border styles across components 2026-03-05 18:14:14 +08:00
AgentShareSettings.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
AttachmentUpload.vue fix(frontend): route chat drag-and-drop uploads correctly 2026-04-30 10:43:03 +08:00
FAQTagTooltip.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
IMChannelPanel.vue feat(ui): refactor IM channels list layout and form\n\n- Change IM channel form from dialog to drawer for better UX\n- Convert channel list from vertical layout to responsive grid cards\n- Move edit/delete actions into a dropdown menu for cleaner card design\n- Replace platform radio group with a select dropdown in the add channel form 2026-04-29 17:34:20 +08:00
IMChannelsOverviewPanel.vue feat(im): tenant-wide IM channels overview under the user menu 2026-04-30 15:29:14 +08:00
Input-field.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
KnowledgeBaseSelector.vue fix: standardize border styles across components 2026-03-05 18:14:14 +08:00
ListSpaceSidebar.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
MentionSelector.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
ModelEditorDialog.vue refactor(frontend): unify Model/WebSearch/MCP settings pages with shared card + drawer 2026-04-29 22:34:39 +08:00
ModelSelector.vue feat(asr): integrate Automatic Speech Recognition (ASR) support 2026-04-02 21:27:27 +08:00
PromptTemplateSelector.vue feat: enhance localization and configuration support 2026-03-17 22:23:24 +08:00
ShareKnowledgeBaseDialog.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
SpaceAvatar.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
TenantSelector.vue fix: standardize border styles across components 2026-03-05 18:14:14 +08:00
UserMenu.vue feat(im): tenant-wide IM channels overview under the user menu 2026-04-30 15:29:14 +08:00
doc-content.vue fix(frontend): 修复公式输出展示问题并引入 KaTeX 支持 (#912) 2026-04-22 16:38:24 +08:00
document-preview.vue fix(frontend): 修复公式输出展示问题并引入 KaTeX 支持 (#912) 2026-04-22 16:38:24 +08:00
empty-knowledge.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
manual-knowledge-editor.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
menu.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
picture-preview.vue feat: Enhance image preview functionality in WikiBrowser component 2026-04-22 21:17:28 +08:00
upload-mask.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00