Skip to content

chore(release): v0.7.22 - #160

Merged
argszero merged 1 commit into
mainfrom
release/v0.7.22
Sep 11, 2026
Merged

argszero merged 1 commit into
mainfrom
release/v0.7.22

Conversation

@argszero

Copy link
Copy Markdown
Owner

Summary

Release v0.7.22. Bumps the version and records the changelog for the one PR merged since v0.7.21.

Contents under releasemain has merged 1 PR since v0.7.21 (a535f40):

PR commit title
#159 f46882c fix(ui): add the global reset layer and align form/button geometry with the prototype

That change is driven by host rant 2026-09-11T22:01:43"UI 重设计遗漏:全站缺「全局 reset 层」,导致 26 个裸表单控件裸露浏览器默认样式(登录页/共享管理/设置最明显)".

What ships

  • The whole global reset layer from the prototype (docs/prototype/aitokenpool-console.html lines 53–72), which had been dropped entirely during the site-wide UI migration. This is the single root cause of the login / sharing / settings views looking detached from the prototype: every form control without a class was rendering with the browser's native styling (#login-email measured h 19px, radius 0, 2px inset rgb(118,118,118) border; the unselected auth tab showed a native 2px outset 3D border).
  • The component classes that depended on it: .num, .row (the markup already used class="row" in 6 button rows and the class had no rule at all), .divider, standalone .avatar.
  • Geometry parity with the prototype for .btn (40px / 0 16px / 13.5px), .btn-sm (32px / 0 11px), .input (10px 12px / 13.5px) and .auth-tabs button (explicit border: 0 + background: none).
  • class="input" on the 12 login / register / verify / forgot inputs.
  • cache-bust ?v=20260911-4?v=20260911-5.

Measured with headless computed-style probes at 1912×836 over 9 views: browser-default-styled controls 108 → 0, native 3D borders 0, .row button rows 18/18 aligned. An identity-keyed A/B over 310 elements × 10 computed fields confirmed the reset's img,svg{display:block} resized no visible icon and changed no border-radius; the 39 geometry changes are all the intended prototype-parity moves.

Pure front-end change (ui/) — backend contract and deployment structure unchanged (database stays on the NAS, WAL still disabled).

Related Issue

No issue — host-authorized release, driven by rant 2026-09-11T22:42:45 (project aitokenpool): "发布 v0.7.22(宿主授权:2026-09-11 22:42 "发布新版本")".

Changes

  • Cargo.toml + Cargo.lock: 0.7.210.7.22
  • ui/index.html: cache-bust ?v=20260911-4?v=20260911-5 (5 refs)
  • CHANGELOG.md: v0.7.22 entry
  • 涉及配置/数据结构的改动已同步示例文件 — not applicable: version bump only, no config or data-structure change

Tests

  • cargo test 全部通过 — 148 passed; 0 failed
  • cargo fmt --check 通过
  • cargo clippy --all-targets — no warnings
  • node --check ui/js/{app,i18n,api,data}.js — all 4 OK
  • i18n parity — ZH 762 keys == EN 762 keys, 0 unresolved
  • 新增/更新了单元测试(如适用)— not applicable: release bump, no code change

Checklist

  • 分支命名符合约定 — release/v0.7.22 (matches the release/vX.Y.Z convention used for v0.7.6 … v0.7.21)
  • Commit message 使用 Conventional Commits 格式 — chore(release): v0.7.22
  • 单一职责,改动最小化 — version bump + changelog only
  • PR 目标分支 main

Post-merge release steps (per the v0.7.6–v0.7.21 process)

  1. Squash-merge to main, record the real squash commit.
  2. Tag v0.7.22 on the main tipgit checkout main && git pull --rebase, verify git rev-parse v0.7.22^{} == git rev-parse main before pushing the tag.
  3. Docker Publish (GHCR v0.7.22 + latest) → wait for success.
  4. Deploy repo (gitlab.xinluex.com/shaoaq/aitokenpool, master): ci/docker-compose.yml image v0.7.21v0.7.22, commit + push → GitLab pipeline → dev auto-deploy.
  5. Verify dev: healthz reports 0.7.22, and the host checks on atp-dev.shenbiai.net whether the login-page input/button geometry now matches the prototype (the core acceptance point of this fix).

Release the global reset layer fix (PR #159, rant 2026-09-11T22:01:43).

- Cargo.toml + Cargo.lock: 0.7.21 -> 0.7.22
- ui/index.html: cache-bust 20260911-4 -> 20260911-5 (5 refs)
- CHANGELOG.md: v0.7.22 entry

Gates: cargo test 148/148, cargo fmt --check, cargo clippy,
node --check x4, i18n ZH 762 == EN 762.
@argszero
argszero merged commit 4e77580 into main Sep 11, 2026
1 check 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