Skip to content

Feature/design system v1#17

Merged
xuewill merged 2 commits into
mainfrom
feature/design-system-v1
Jun 8, 2026
Merged

Feature/design system v1#17
xuewill merged 2 commits into
mainfrom
feature/design-system-v1

Conversation

@xuewill

@xuewill xuewill commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • What changed?
  • Why was this change needed?

Scope

  • Frontend
  • Worker / Backend
  • Shared package
  • Docs
  • Tooling / CI

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm lint
  • pnpm build

Checklist

  • Updated README/docs if structure or behavior changed
  • Kept changes inside the correct layer boundaries
  • Added or updated tests where needed
  • No generated artifacts committed by mistake

Risks / Follow-ups

  • Remaining risks:
  • Follow-up work:

xuewill added 2 commits June 4, 2026 21:41
…egram, users, and webhook modules with routes and OpenAPI specifications

- Implemented announcements routes for listing and creating announcements.
- Added API keys management routes for listing, creating, and revoking API keys.
- Created authentication routes for user registration, login, logout, and session retrieval.
- Developed dashboard route to provide an overview of user accounts, API keys, and announcements.
- Established mail routes for managing messages, outbound sending, and mail settings.
- Introduced system routes for health checks and feature toggles management.
- Implemented Telegram subscription management routes.
- Added user management routes for handling user accounts, invites, and quotas.
- Created webhook routes for managing webhook endpoints and delivery logs.
- Defined OpenAPI specifications for all new modules to enhance API documentation.
添加用户档案和状态管理功能,完善表单和分页组件:

主要功能:
- 新增用户 name、status、updated_at 字段及数据库迁移
- 实现完整的用户列表页面,支持搜索、筛选、排序、批量操作
- 新增用户全局设置页面,支持批量启用/禁用用户
- 增强管理员面板功能(邀请、配额、邮箱监督)

设计系统改进:
- 重构 FormPrimitives,新增自定义 Select 组件(支持浮层定位)
- 新增 FormField、FormLabel、FormCheckbox、FormRadio、FormMultiSelect 组件
- 完善 FormInput、FormTextarea、SearchInput 样式和交互
- 改进 Pagination 组件样式和响应式布局
- 统一表单和分页的设计语言

后端改动:
- 扩展 auth 和 admin 相关 API,支持用户状态管理
- 新增批量操作端点(批量启用/禁用用户)
- 更新 OpenAPI 规范文档
- 完善类型定义和数据验证 schema

测试覆盖:
- 新增用户列表页面集成测试
- 新增用户全局设置页面测试
- 更新表单和分页组件单元测试
- 更新管理员功能集成测试

Why: 为管理员提供完整的用户管理界面,建立统一的设计系统基础
@xuewill xuewill merged commit 2cab0c1 into main Jun 8, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant