Skip to content

feat(accounts): add move to top/bottom actions#391

Merged
qxcnm merged 1 commit into
qxcnm:mainfrom
agermel:main
Jul 27, 2026
Merged

feat(accounts): add move to top/bottom actions#391
qxcnm merged 1 commit into
qxcnm:mainfrom
agermel:main

Conversation

@agermel

@agermel agermel commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

变更摘要

  • 账号行更多菜单新增“移到顶部”和“移到底部”操作。
  • 新增 Playwright 测试用例。

改动范围

  • Frontend
  • Desktop / Tauri
  • Service
  • Gateway / Protocol Adapter
  • Docs / Governance
  • Workflow / Release

主要文件

  • apps/src/app/accounts/accounts-page-view.tsx
  • apps/src/app/accounts/page.tsx
  • apps/src/app/accounts/accounts-page-helpers.tsx
  • apps/src/lib/i18n/messages/en.ts
  • apps/src/lib/i18n/messages/ko.ts
  • apps/src/lib/i18n/messages/ru.ts
  • apps/tests/accounts-reorder.spec.ts

验证

  • pnpm -C apps run test
  • pnpm -C apps run build
  • pnpm -C apps run test:ui
  • cargo test --workspace
  • 其他本地验证已说明

已执行的实际验证:

git diff --check
pnpm -C apps run build:desktop
pnpm -C apps exec playwright test tests/accounts-reorder.spec.ts

未执行的验证与原因:

pnpm -C apps run test:本次改动集中在账号页排序交互,已用针对性 Playwright 用例覆盖关键路径。
pnpm -C apps run test:ui:已执行新增账号排序用例,完整 UI 套件耗时较长。
cargo test --workspace:本次没有修改 Rust、Service、Gateway 或协议适配代码。

风险与影响面

  • 影响账号池列表的排序交互。
  • “移到顶部 / 移到底部”作用于全量账号池顺序。
  • “上移一位 / 下移一位”继续作用于当前筛选结果。
  • 使用现有 account/updateSorts 保存排序,无新增后端接口。

备注

  • 提交前未包含敏感 token、cookie、API key。

@qxcnm
qxcnm merged commit d1ac957 into qxcnm:main Jul 27, 2026
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.

2 participants