Skip to content

fix(ui): 修复桌面端账号池信息显示问题#392

Merged
qxcnm merged 2 commits into
qxcnm:mainfrom
agermel:feature/frontend
Jul 27, 2026
Merged

fix(ui): 修复桌面端账号池信息显示问题#392
qxcnm merged 2 commits into
qxcnm:mainfrom
agermel:feature/frontend

Conversation

@agermel

@agermel agermel commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

fix:修复桌面端账号池信息显示问题

如图
image

变更摘要

  • 移除右侧工作区的全局 90% 缩放层,恢复 Header 与 main 直接位于主列下的普通布局。
  • 将账号表 sticky 操作列背景改为实色,避免横向滚动内容从操作列下方透出。

改动范围

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

主要文件

  • apps/src/components/layout/app-frame.tsx
  • apps/src/app/accounts/accounts-page-view.tsx
  • apps/src/app/globals.css
  • apps/tests/app-frame-scale.test.mjs
  • apps/tests/accounts-wide-action-column.spec.ts

验证

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

已执行的实际验证:

pnpm -C apps run test:runtime
pnpm -C apps run lint
pnpm -C apps run build:desktop
pnpm -C apps exec playwright test tests/accounts-wide-action-column.spec.ts
git diff --check

验证结果:

test:runtime: 189 passed
lint: passed
build:desktop: passed
accounts-wide-action-column.spec.ts: 1 passed
git diff --check: passed

未执行的验证与原因:

cargo test --workspace 未执行。本次改动只涉及 apps 前端布局、CSS 和前端测试,没有修改 Rust service、Tauri 命令或网关协议代码。
完整 pnpm -C apps run test:ui 未执行。已运行覆盖本问题的 Playwright 回归 tests/accounts-wide-action-column.spec.ts。

风险与影响面

  • 宽屏桌面主内容区恢复为 100% 普通布局,之前依赖整块 90% 缩放的视觉密度会回到局部 CSS 控制。
  • sticky 操作列改为实色背景后,现代外观下该列的玻璃透明感降低,换来内容遮挡稳定性。
  • 账号表设置最小宽度后,小宽度窗口通过表格容器横向滚动访问完整列。

备注

  • 问题引入点是 3fa3572f feat(ui): restore shell features and dashboard wiring 中新增的 app-main-scale
  • 当前修复保留作者想要的宽屏可用性目标,把实现方式从整块缩放收敛到局部表格与操作列布局。
  • 提交前请确认未包含敏感 token、cookie、API key。

@qxcnm
qxcnm merged commit 35cb448 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