Commit Graph

9 Commits

Author SHA1 Message Date
17335cb47a feat(docs, integration): update integration documentation and redirect legacy paths
Introduced a new public documentation site for client integration at `/docs` and `/docs/integration`, removing the need for admin login. Updated the integration guide to redirect from the old admin path to the new documentation site. Added localization support for the integration documentation in English, Nepali, and Chinese. Enhanced the layout structure and improved the handling of currency display in settlement bills.
2026-06-15 11:08:19 +08:00
a550c418e5 refactor(layout, i18n, admin): 优化布局结构与多语言支持
调整 AdminShell 组件的子组件顺序,提升代码可读性。更新 admin-breadcrumb 组件,简化导航标签翻译逻辑,确保多语言支持的一致性。重构 admin-language-switcher 组件,优化语言切换的用户体验,增强界面交互性。更新多语言配置,新增登录界面的副标题,提升用户体验。
2026-05-30 17:46:27 +08:00
27727f6371 feat(env, config, i18n): 增强环境配置与多语言支持
更新 .env.example,提供更清晰的 API 配置说明与本地开发环境配置指引。
修改 next.config.ts:支持动态解析允许的开发环境来源(origins),提升配置灵活性。
重构 admin-language-switcher:优化语言切换同步机制,确保语言变更能够及时生效。
优化英文、尼泊尔语与中文语言包中的错误提示文案,进一步明确 API 配置要求。
精简 admin-http.ts:将 API Base URL 校验逻辑抽离至独立模块并统一导出,提升代码可维护性。
2026-05-29 09:17:37 +08:00
fbe385666a feat(admin): enhance login form with language switcher and update script handling
- Added AdminLanguageSwitcher to the login form for improved language selection.
- Replaced inline script with next/script component for better performance and safety in layout.tsx.
- Updated language initialization logic to ensure consistent SSR and client rendering.
2026-05-26 09:57:05 +08:00
84bf924378 feat(i18n): 增强管理端多语言支持,优化语言初始化与恢复逻辑 2026-05-25 14:53:15 +08:00
e8a5507411 refactor: 更新管理端页面元数据,统一国际化支持,移除冗余代码 2026-05-21 17:27:52 +08:00
08a11a1589 feat: 统一管理端多语言、配置与票据/结算页面重构 2026-05-20 16:27:06 +08:00
56951c0383 feat:初始化业务目录 2026-05-09 10:36:20 +08:00
881506655d Initial commit from Create Next App 2026-05-08 10:06:11 +08:00