Skip to content

v0.11.2

Choose a tag to compare

@github-actions github-actions released this 21 May 06:44
· 5 commits to main since this release
  • Perf Global locale split per language (src/locale/{en-US,zh-CN}.ts); only the active language ships in the entry chunk. Switching languages dynamic-imports the other bundle and adds it to i18next on the fly. New initI18n() from src/i18n/index.ts is awaited in main.tsx before React mounts.
  • Feat MutationCache.onSuccess now reads a typed meta.successMessage and fires the global Arco toast — same pattern the error toast already used. Added AppMeta type + declare module '@tanstack/react-query' block so the field is autocompleted at call sites. useSubmitGroupFormMutation accepts the meta as a parameter; the form page passes its localised success string in once at construction instead of re-implementing the toast inline.
  • UX pages/dashboard/monitor/chat-panel.tsx swapped <Spin> for <Skeleton> shaped like a chat row (avatar + 3 text lines), matching the Skeleton pattern used by the workplace overview cards. Chart loaders still use Spin — Skeleton doesn't match a chart's visual footprint.