Commit Graph

54 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
4fe206cb10 feat(agents, validation): enhance agent profile and player management with input validation
Added input validation for admin login and player creation forms, ensuring usernames and passwords meet specified criteria. Introduced new components for numeric input handling in agent profile fields, improving user experience. Updated agent line detail and provision wizard to reflect these changes, enhancing overall data integrity and user interaction.
2026-06-14 21:13:21 +08:00
6ea0a6feec feat(agents, config, dashboard, i18n): add agent line provision wizard, site deletion, and site dashboard with multi-language support
Added agent line provision wizard page with permission gating, replacing redirect placeholder. Introduced site deletion API and UI with confirmation dialog in integration sites management. Added new site-scoped dashboard panel showing bet metrics, P/L trends, active players, and quick links. Enhanced chart tooltip to support custom formatters and fix indicator color
2026-06-12 20:47:53 +08:00
24fd7c10bd feat(settlement, admin): introduce new types and functions for downline share and settlement period hints
Added new types for downline share breakdown and settlement period open hints to enhance the agent settlement API. Updated the admin console components to support these new features, improving the user experience with better data presentation and interaction. Additionally, refined the date range field to accommodate new calendar markers and hints, ensuring a more intuitive interface for managing settlement periods.
2026-06-12 16:01:42 +08:00
1eb6702c51 refactor: update agent API schemas, standardize UI text styling, and enhance settlement credit ledger components 2026-06-11 18:02:02 +08:00
1c80a3ae75 refactor(reports): 优化报表导出和数据处理逻辑
- 异步动态引入 XLSX 库以优化加载性能
- 抽取导出表格为工作簿的异步函数,提高代码复用性
- 使用构建函数封装报表数据行和汇总的生成逻辑
- 替换硬编码数据聚合为调用构建函数,简化代码结构
- 在导出功能中支持异步操作,增强用户体验
- 统一格式化和统计报表数据,提升代码可维护性
2026-06-10 11:06:44 +08:00
b7278e68a4 feat(admin, settlement, dashboard): strengthen permission gating and billing workflows 2026-06-09 13:44:19 +08:00
7e65c53732 feat(admin, i18n): enhance reports, draws, config, and player workflows 2026-06-08 17:41:55 +08:00
af982bb9f7 feat(api, agents, i18n): enhance settlement features and multi-language support
Added new types and API functions for settlement period summaries and credit ledgers, improving the management of agent settlements. Updated the admin console to reflect these changes, enhancing user experience with better navigation and data presentation. Additionally, expanded multi-language support by incorporating new translations in English, Nepali, and Chinese for settlement-related terms, ensuring consistency across the platform.
2026-06-05 18:00:59 +08:00
65eaeecf8c feat(agents, i18n): enhance agent management and settlement features with new translations and UI updates
Added new translations for agent management and settlement features in English, Nepali, and Chinese, improving multi-language support. Updated the agents console to reflect changes in funding modes and player details, enhancing user experience. Refactored the admin permission gate to include new logic for handling bound line agents, ensuring better permission management. Additionally, streamlined the UI for agent-related pages and improved navigation to the settlement center, consolidating related functionalities for better accessibility.
2026-06-04 18:01:05 +08:00
cbc499e5b2 feat(api, agents): add agent node profile retrieval and update functionality
Implemented new API functions to fetch and update agent node profiles, enhancing the management capabilities for agent data. This addition improves the overall functionality of the admin agents console, allowing for better user interaction with agent profiles. Updated related types for improved type safety and clarity in the codebase.
2026-06-04 09:17:55 +08:00
bbb6f28459 feat(admin, i18n): implement user deletion functionality and enhance permission management translations
Added a new API function to delete admin users, improving user management capabilities. Updated the admin permission package selector to include new permission levels for nodes, roles, and users. Enhanced multi-language support by adding translations for these new permission levels in English, Nepali, and Chinese. Additionally, improved the agents console to handle deletion confirmations and display relevant block reasons, ensuring a smoother user experience.
2026-06-03 10:56:44 +08:00
ce27a3ec8a feat(admin, i18n): enhance admin dashboard and user management with new features and translations
Added the ability to filter admin dashboard data by site code and agent node ID, improving data retrieval capabilities. Introduced new functions for fetching dashboard data based on these parameters. Updated the admin users and roles management components to reflect these changes. Enhanced multi-language support by adding new translations for agent management and permission levels in English, Nepali, and Chinese, ensuring a consistent user experience across the admin interface.
2026-06-03 10:07:51 +08:00
b15e377187 feat(api, i18n): add agent_node_id to various admin queries and enhance multi-language support
Introduced the agent_node_id field in AdminDrawListQuery, AdminPlayerListQuery, AdminSettlementBatchListQuery, TicketItemsListQuery, and TransferOrderListQuery to improve filtering capabilities. Updated the admin-breadcrumb and admin-sidebar components to include new translations for agent-related terms in English, Nepali, and Chinese, enhancing the overall user experience and multi-language support across the admin interface.
2026-06-02 14:37:08 +08:00
a4e7a2d228 feat(dashboard, i18n): 增强玩家身份信息展示并完善多语言支持
更新仪表盘相关组件,采用新的玩家身份信息字段(Player Identity Columns),提升数据展示的清晰度与可读性。
优化奖池记录(Jackpot Records)中的玩家信息展示方式,便于快速识别玩家身份。
改进结算明细(Settlement Details)页面的玩家身份展示,提升数据追踪与核对效率。
更新玩家注单(Player Tickets)与钱包交易(Wallet Transactions)相关界面,统一使用新的玩家身份信息展示逻辑。
在英文、尼泊尔语与中文语言包中新增玩家相关术语翻译,增强多语言支持。
提升系统整体用户体验,确保各模块中的玩家信息展示更加一致、直观。
2026-06-01 17:25:22 +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
b76ade9608 feat(config): 更新环境配置与 API 处理逻辑
修改 .env.example,补充环境切换说明并新增生产环境 API 地址配置。
更新 next.config.ts:使用 API_BASE_URL 进行 API 重写配置,确保 API 路由一致性。
重构 login-form.tsx:移除 API 配置检查逻辑,简化登录流程。
调整 admin-http.ts:通过 Next.js 代理转发 API 请求,提升后端通信稳定性。
2026-05-28 10:12:05 +08:00
788c7998eb feat(integration): 为集成站点与开奖管理新增 AdminPermissionGate 权限控制
使用 AdminPermissionGate 包裹集成站点与开奖相关组件,根据权限进行访问控制。
新增集成管理与开奖管理相关权限常量。
更新相关 UI 组件以适配权限校验逻辑,提升系统安全性与用户体验。
增强国际化支持,在英文、尼泊尔语与中文语言包中新增集成相关文案。
2026-05-27 16:51:48 +08:00
0bd9d8d3d8 feat(dashboard, i18n): 增强仪表盘视觉效果与多语言支持
在英文、尼泊尔语和中文语言包中新增 “Other statuses” 翻译,提升仪表盘指标展示的清晰度。
在仪表盘中集成新的 StatCard 组件,用于更直观地展示关键指标数据。
更新仪表盘趋势图表,采用 recharts 实现更丰富的数据可视化效果。
重构现有组件与布局,优化整体交互与用户体验,使界面更加直观易用。
2026-05-26 16:32:11 +08:00
4080f0b601 feat(ui): enhance table and admin components with improved layout and status display
- Updated global CSS to center-align table headers and cells, ensuring a consistent layout.
- Modified admin table components to replace switches with status badges for better clarity.
- Enhanced internationalization support by adding new strings for version actions and validation messages in multiple locales.
- Refactored configuration document screens to include version selection and improved user feedback on status changes.
2026-05-26 11:13:16 +08:00
05fa0cbeec feat(i18n): add batch group switch text to English, Nepali, and Chinese locales
- Updated the English, Nepali, and Chinese locale files to include a new translation for "Toggle batch switch for {{group}}".
- Enhanced internationalization support for the admin interface by adding relevant strings for improved user experience.
2026-05-26 10:33:03 +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
f080e6ba8e feat(admin): add draw management features including create, update, delete, and batch delete functionalities
- Implemented API functions for creating, updating, and deleting draws.
- Enhanced the admin draws console with UI components for managing draws.
- Added internationalization support for new draw management actions and messages.
2026-05-25 18:00:43 +08:00
84bf924378 feat(i18n): 增强管理端多语言支持,优化语言初始化与恢复逻辑 2026-05-25 14:53:15 +08:00
ddedef824e refactor: 合并多语言支持的显示名称字段,优化奖池手动爆发功能的返回数据结构,增强管理端权限控制 2026-05-25 14:31:24 +08:00
51891548a5 feat: 新增账号设置页面并优化报表与管理端交互样式 2026-05-22 14:34:04 +08:00
b2b934e25e feat(admin): 上线报表中心页面并接入九类报表查询导出
新增报表控制台、汇总 API 客户端与中英尼文案,九类报表均可筛选预览并导出 CSV/Excel。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 10:08:43 +08:00
e8a5507411 refactor: 更新管理端页面元数据,统一国际化支持,移除冗余代码 2026-05-21 17:27:52 +08:00
26feed3c4f refactor: 重构奖池配置页面,移除冗余组件,优化加载体验与国际化支持 2026-05-21 16:46:48 +08:00
055c613a6d feat: 添加货币管理功能,更新国际化支持,移除报表相关代码 2026-05-21 16:24:56 +08:00
6ecbaf5fb4 refactor: 优化管理端配置页紧凑布局与时间展示 2026-05-20 16:57:47 +08:00
08a11a1589 feat: 统一管理端多语言、配置与票据/结算页面重构 2026-05-20 16:27:06 +08:00
37b13278ef feat: 重构管理端列表与风控/结算导航,新增表格导出和结算审核确认 2026-05-19 17:06:56 +08:00
a1fb163f1b feat: 增加角色管理与奖池配置迁移,优化管理端权限与样式 2026-05-19 14:40:04 +08:00
d625c59393 feat: 统一管理端导航为后端下发菜单,移除本地权限过滤 2026-05-19 09:34:52 +08:00
1b1dfc92ab feat: 增加管理端多语言与多模块界面国际化支持 2026-05-19 09:11:55 +08:00
49a4caf01e feat: 增加管理端多语言与风控/报表/奖池操作能力 2026-05-18 15:08:34 +08:00
fae8c1ae01 feat: 扩展开奖与结算管理,支持手动操作、导出和版本展示 2026-05-16 18:00:57 +08:00
1578c7e214 feat(config): 重构配置中心导航与版本展示,支持全量版本加载 2026-05-16 10:28:00 +08:00
8bd7cc3d73 feat(config): 重构配置模块导航与版本切换,新增版本删除能力 2026-05-15 15:30:52 +08:00
000295ae2b feat: 重构开奖模块导航与面包屑,优化期号详情与列表展示 2026-05-14 13:43:45 +08:00
96b966cf62 feat: 更新管理员导航,重定向菜单权限至根路径,添加角色同步API,移除菜单权限模块 2026-05-13 10:40:12 +08:00
188c6a04cf feat: 移除服务台模块,更新管理员导航以重定向至菜单权限页面 2026-05-13 09:52:36 +08:00
76e318be8f refactor: 移除冗余注释和描述,优化管理员模块的代码结构 2026-05-11 17:21:12 +08:00
d0f75fcec8 feat: 更新仪表盘标题和描述,添加异常状态查询字段,优化管理员导航和API导出 2026-05-11 16:57:01 +08:00
b539bf0660 feat: 添加财务摘要接口,更新管理员抽奖模块和导航,优化权限管理逻辑 2026-05-11 16:21:22 +08:00
f083b28fc6 feat: 更新管理员导航,添加结算和奖池模块,并优化活动匹配逻辑 2026-05-11 15:35:41 +08:00
ac3f28459b feat: 添加日期处理库和日历选择器,更新管理员抽奖模块 2026-05-09 17:40:35 +08:00
4ace3151e6 feat: 添加管理员钱包相关API和更新模块结构 2026-05-09 15:22:27 +08:00