mateclaw/mateclaw-ui/src/composables
matevip 22894ac4b1 perf(channels): split Channels.vue, lazy-load modal, async locales, keep-alive route
- Extract create/edit modal into ChannelEditModal.vue (defineAsyncComponent),
  shrinking Channels.vue from 1438 to 370 lines and dropping ~30KB from the
  initial route chunk.
- Move side-effect logic into composables: useWeixinQrcodePoll (QR + 2s status
  poll, auto-cleanup) and useWecomBotAuth (lazy SDK script with module-level
  promise dedupe). Pure config-JSON helpers move to utils/channelConfigJson.ts.
- Switch i18n locales from static imports to dynamic import keyed by current
  locale; applyLocale becomes async to avoid first-render flicker.
- /channels route opts into keep-alive (meta.keepAlive=true). Channels.vue
  pauses status polling in onDeactivated and resumes in onActivated, with an
  isActive guard to prevent late-resolving timers from leaking after navigation.
- Initial load goes from serial 3-RTT to Promise.all + 4-card el-skeleton.
2026-04-28 11:08:36 +08:00
..
channels perf(channels): split Channels.vue, lazy-load modal, async locales, keep-alive route 2026-04-28 11:08:36 +08:00
chat fix(chat): surface SSE error in retry card and stop poll from wiping local-only failed turn 2026-04-28 00:16:14 +08:00
useAuthenticatedAttachment.ts feat(video): support video upload, preview, and multimodal analysis 2026-04-06 09:42:54 +08:00
useEChartsRenderer.ts feat(datasource): add auto ECharts visualization for SQL query results 2026-04-06 14:53:22 +08:00
useKatexRenderer.ts fix(wiki): smaller batch-create + resume button for partial generation 2026-04-26 18:42:27 +08:00
useMarkdownRenderer.ts fix(ui): code-block light-mode theme + cap header height at 38px 2026-04-26 19:09:10 +08:00
useMermaidRenderer.ts fix(wiki): smaller batch-create + resume button for partial generation 2026-04-26 18:42:27 +08:00
useSkillName.ts feat(skill): BuiltinSkillSeedService — close SQL/SKILL.md double-write 2026-04-24 06:55:18 +08:00
useToolLabel.ts feat(ui): localize tool call display via useToolLabel 2026-04-23 08:09:37 +08:00
useWikiJobPoller.ts chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00