Repository navigation
Conversation
四件事,都是「看着明明能打,推荐位却是低质作业 / 详情说不清缺什么」的延伸。
1) 推荐排序:可直接抄不再无条件压过借人作业(copilot.READY_MIN_RATING = 9)
mode 原本是第一顺位,于是 3 分、一个人都不用借的作业占住最优推荐,旁边
10 分只差一个助战的反而排后面。改成先按 mode_band 分档:
0 可直接抄且评分 >= 9;1 其余能打的(可直接抄但分不够 / 差一人可借,
档内按评分拼);2 需补练度;3 打不了
三种算法(少人 / 单核 / 好评量)共用这套分档;rating 档内同分时可直接抄
仍排在借人前(键里加 MODES.index)。
2) 详情弹窗标缺谁:detail_opers() 顺手给出 owned/ok(口径与 match_operation
一致),/api/op 加 compared(没选账号 / 账号没练度时为 false,前端一个字
都不标,否则整份作业会被算成缺卡)。弹窗里紫条「需要借 1 人:X」只在
「差一人可借」这一档出现——助战位只够补一个;橙条分开列「练度不够」与
「还缺」,干员名同色并跟「借 / 没有 / 练度不足」小标签。
3) 账号栏渠道配色:B 站服粉 #ff9dd1、官服亮白 #f6f9ff(原先是统一灰),
其它渠道不动。
4) 结果区头部吸顶 + 倒三角放大:.result-head 改 position: sticky,滚到哪都能
直接点「全部加入」;.results 的上内边距挪进头部,避免先滑 12px 才吸顶;
底边 12px 渐变虚化滚上来的卡片。倒三角 11px → 13.5px。批量加入(addRows)
跳过 mode=blocked 的行并报「跳过 N 关打不了的」,逐行的「加入」保持可用。
冒烟 B28 覆盖分档边界(9/8)、三种算法分档一致、detail_opers 的 owned/ok
与「没传账号时不标注」;docs/backend.md、docs/frontend.md、docs/tools-smoketest.md 同步。
Co-authored-by: HuiParu <171644868+HuiParu@users.noreply.github.com>
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.
发版 v2.5.5,包含:
CI 会按 PR 标题打 tag、冒烟、打包 zip 并发布 Release。