feat: modernize admin components and add channel remarks - #645
Merged
zijiren233 merged 14 commits intoSep 6, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
统一管理端各页面的组件视觉和交互,改善数据密集页面的可读性、移动端使用和首屏加载,并补齐渠道元数据及更新语义。
backup_only筛选:省略返回全部,true 仅备用,false 仅常规渠道;关键词不解释备用布尔状态。增加(backup_only, deleted_at, id)复合索引,保留用于备注精确筛选的索引;remark=可筛选空备注及旧记录的 NULL 备注。验证
go test -timeout 60s -count=1 ./...和golangci-lint run ./...通过。SQLite 和 PostgreSQL 实际测试覆盖备注搜索、独立备用筛选、组合条件、分页、软删除、索引顺序、可选字段及旧快照更新。重试候选测试按无序集合断言,避免依赖 map 遍历顺序,连续运行 100 次通过。浏览器联调使用本地模拟上游产生真实代理请求和统计数据;未对外部模型供应商及所有第三方 MCP 集成逐一发起请求。图表已做实际截图及尺寸检查,未执行画布像素级断言。