Repository navigation
加上求收录 - #139
Merged
Merged
加上求收录#139
Conversation
想看的学院还没收录,成员可以提求收录,别人提过的点同求,管理员按人数接入(总体设计 §10.1)。 - inclusion_requests、inclusion_votes 表(迁移 0008),归 sources 模块:选清单里的学院,或者写学院的名字(学校选清单里的或者也写名字),每个学院只有一条,再提算同求 - 顶栏加「求收录」页:分排队中、接入中、已收录、暂时抓不了几栏,排队中的按同求人数排;同求和撤回,排队中的没人同求了就去掉;禁言的不能提、不能同求 - 院校清单搜不到时、还没在抓的学院页上,都能直接求收录 - 管理员改进度(暂时抓不了写原因)、对上清单里的学院或学校、把重复的并进另一条,都记进操作日志 - 学院有了在抓的来源就自动算已收录;变成已收录或暂时抓不了时,提的和同求的人收到新的一类消息「求收录有结果」
Open
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.
关联
路线图 #2 二期的「求收录」。
改了什么
想看的学院还没收录,成员可以提求收录,别人提过的点同求,管理员按人数接入(总体设计 §10.1)。
怎么验证的
pnpm check:类型检查、lint、格式和 139 个测试通过;新增的测试覆盖重提算同求、三种填法、排序、每人一票、撤回后去掉、禁言和冻结、改进度和消息、接入来源自动收录、对上和合并影响
GET、POST /inclusion-requests,PUT、DELETE /inclusion-requests/{id}/vote,PATCH /admin/inclusion-requests/{id},POST /admin/inclusion-requests/{id}/merge;MCP 工具和抓取节点无影响