Skip to content

feat: add administrator judgement history hiding - #93

Merged
quanac-lcx merged 6 commits into
laikit-dev:masterfrom
quanac-lcx:judgement-history-hiding
Sep 24, 2026
Merged

quanac-lcx merged 6 commits into
laikit-dev:masterfrom
quanac-lcx:judgement-history-hiding

Conversation

@quanac-lcx

Copy link
Copy Markdown
Collaborator

概要

  • 取消用户自行申请隐藏陶片放逐记录的入口与接口。
  • 新增 MANAGE_CONTENT 权限保护的后台批量隐藏操作,支持用英文逗号或换行输入多个洛谷 UID。
  • 对每个 UID 写入隐藏时间截点:此前记录隐藏,之后的新记录保持可见。
  • 隐藏记录保留 UID、头像、用户名与时间;权限变更显示为横杠,原因显示占位文本。
  • 合并原仓库最新 master。

验证

  • npm run build -w @luogu-saver/backend
  • npx vue-tsc --noEmit -p packages/frontend/tsconfig.app.json
  • npm test -w @luogu-saver/backend
  • npm test -w @luogu-saver/frontend

@quanac-lcx
quanac-lcx marked this pull request as ready for review September 24, 2026 12:36
@quanac-lcx

Copy link
Copy Markdown
Collaborator Author

之前原本写了支持用户自助隐藏自己的陶片记录的代码,不想删了改成支持管理员在后台隐藏

@quanac-lcx
quanac-lcx merged commit d62dfa6 into laikit-dev:master Sep 24, 2026
6 checks passed
@quanac-lcx
quanac-lcx deleted the judgement-history-hiding branch September 24, 2026 12:38
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