Skip to content

v0.4.0:稳定性与精简优化、悬浮球不置顶并加大加亮、大屏界面对齐 - #8

Merged
Alumos merged 1 commit into
mainfrom
refactor/review-fixes
Nov 13, 2026
Merged

Alumos merged 1 commit into
mainfrom
refactor/review-fixes

Conversation

@Alumos

@Alumos Alumos commented Nov 13, 2026

Copy link
Copy Markdown
Owner

概要

v0.4.0 重大更新,详见 docs/releases/v0.4.0.md 与 CHANGELOG。

  • 悬浮球:改为普通窗口层级(不再 TOPMOST,PPT 放映/最大化窗口可覆盖),尺寸 112×92、橙色+白色粗体大字、确认面板与按钮放大。
  • 大屏界面:页眉/内容/页脚统一页宽对齐;补齐「呼叫老师」卡片样式;字号整体加大;修复装饰图压字与 Tailwind overline 类名冲突。
  • 网络稳定性:教师 WS 心跳携带令牌续期(不再每 15 分钟断开),重连后全量刷新;大屏连接 10 秒超时重试、online 事件立即重连。
  • 服务端修复:Argon2 移出全局锁并限并发、未知账号恒定耗时;消息分页「时间+ID」游标;撤回保留 failed/expired;解绑使全部未完成投递失败;教师建班校验年级;冷却提示用实际秒数;设备连接保存失败不再踢掉旧连接。
  • 数据与性能:学生呼叫 90 天、审计 180 天、失效邀请清理;按行编码保存、失败从上次提交还原(每次写少一次整库序列化)。
  • 清理:移除 0.1.3 前共享刷新 Cookie 与 AdminVerified 字段。

不兼容

  • 不再读取旧 classding_refresh Cookie;消息分页游标为不透明字符串。

验证

  • 本地:server go test -race 全过;screen Go 测试 + GOOS=windows vet / test 编译;前端单测 46/46;typecheck、build、Prettier、契约再生成一致。
  • E2E 由 CI 运行;悬浮球与界面需 Windows 真机验收。

🤖 Generated with Claude Code

- Floating call button lives in the normal window layer (no longer
  topmost), larger, vivid orange with bold centred text; bigger panel.
- Screen dashboard: shared page width, styled call card, larger type,
  decoration and Tailwind overline clash fixed.
- Teacher socket renews its access token over ping; screen retries a
  stalled connect after 10s and reconnects when the network returns.
- Argon2 runs outside App.mu with bounded concurrency and constant time
  for unknown accounts; message paging uses created_at+id cursors;
  recall keeps failed/expired outcomes; unbind fails all pending
  deliveries; class grade validated; cooldown text uses config.
- Retention for student calls (90d), audit (180d) and spent invites;
  row-level encoding and store-based rollback remove a full-state
  marshal per write.
- Drop the pre-0.1.3 shared refresh cookie and AdminVerified field.

BREAKING CHANGE: the legacy classding_refresh cookie is no longer read;
message cursors are opaque.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Alumos
Alumos merged commit 91eb8ec into main Nov 13, 2026
4 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