A-Dawn
15d436b3a1
refactor: 将 A_Memorix 重构为主线长期记忆子系统并重建管理界面
...
- 将 A_Memorix 从旧 submodule / 插件形态迁入主线源码,主体落到 src/A_memorix
- 调整主程序接入方式,使 A_Memorix 作为源码内长期记忆子系统运行
- 回收父项目插件体系中针对 A_Memorix 的特判,减少对 plugin 通用层的侵入
- 将长期记忆配置、运行时、自检、导入、调优等能力收口到 memory 路由与主线服务层
- 重做长期记忆控制台与图谱页面,按 MaiBot 现有 dashboard 风格接入
- 补充实体关系图与证据视图双视图能力,支持查看节点、关系、段落及其证据链路
- 新增长期记忆配置编辑器与 memory-api,支持主线内配置管理
- 补齐删除管理能力:删除预览、混合删除、来源批量删除、删除操作恢复
- 优化删除预览与删除操作详情的前端展示,支持分页、检索,并以实体名/关系内容/段落摘要替代单纯 hash 展示
- 修复图谱与控制台相关前端问题,包括证据视图切换、查询触发时机、删除弹层空值保护等
- 新增或更新 A_Memorix 相关测试、WebUI 路由测试、前端 vitest 测试与辅助验证脚本
- 移除旧 plugins/A_memorix、.gitmodules 及相关历史维护文档
2026-04-03 08:08:24 +08:00
晴猫
a9969ad361
refactor: enhance setup page with translation support and default configurations
...
- Added translation support for various text elements using `useTranslation`.
- Created default personality and emoji configurations to streamline setup.
- Updated step titles and descriptions to use translated strings.
- Improved validation messages to be translatable.
- Refactored loading and success/error messages for better user feedback.
- Enhanced UI structure for better readability and maintainability.
2026-03-15 11:14:56 +09:00
晴猫
9c577840cc
fix: update package dependencies and improve language handling in the header component
2026-03-15 10:06:44 +09:00
DrSmoothl
58d16c6702
fix: 更新 Electron 配置,优化输入输出设置;精简多语言文件中的 ESLint 描述
2026-03-14 18:15:30 +08:00
DrSmoothl
2e4be9bd77
为 WebUI 首页支持 i18n
2026-03-07 21:32:09 +08:00
DrSmoothl
8f41e25696
fix(dashboard): resolve TS build errors in a11y changes
...
- Fix duplicate className attr in EmojiDialogs.tsx
- Replace animated.div with animated('div') in expression-reviewer and zoomable-chart to fix React 19 children type error
- Fix malformed i18n JSON (a11y namespace was outside root object)
2026-03-05 22:10:32 +08:00
DrSmoothl
c12d1ca42a
feat(a11y): add a11y infrastructure — skip-nav, announcer, touch CSS, eslint-jsx-a11y
2026-03-05 21:57:27 +08:00
DrSmoothl
a65a40f85f
feat(dashboard): add i18n support with zh/en/ja/ko locales
...
- Add react-i18next + i18next + i18next-browser-languagedetector
- Create i18n config (singleton import) with zh/en/ja/ko JSON locale files
- Add language switcher Globe dropdown in Header topbar
- Replace all hardcoded Chinese strings in:
- Layout (Header, Sidebar, NavItem, Layout, constants)
- Settings (index, AppearanceTab, SecurityTab, OtherTab, AboutTab)
- Auth page (auth.tsx)
- Search dialog (searchItems via useMemo + t())
- Restart overlay (getStatusConfig accepts t param)
- Error boundary (ErrorFallback, ErrorDetails function components)
- HTTP warning banner
- localStorage key: maibot-locale
- Compatible with Electron
2026-03-03 20:50:06 +08:00