[Feature Request] 注册前答题
你的功能需求和某个bug有关吗?
否
你想要什么样的功能? 为了帮助用户快速熟悉树洞,用户注册前,要求其完成一些从在线题库中选择的题目(也可以硬编码在 App 中)。
@Zhuo19 等维护者将负责编写题库。
Upstream: https://github.com/OpenTreeHole/treehole_next/issues/100.
由于在答题权限设计上存在分歧,我不再负责此项中 API 对接和检测埋点的部分。可转交其他维护者实现。
根据最近一次 Meeting 的决议,该功能由于开发进度缓慢,暂时延缓启用。可放入下个版本中。
我近期无意完成此项。
感觉可以暑假再做,24级新生入学前完成。这个还需要放在1.4.3吗?
可以暑假再做,24 级新生入学前完成
目前后端测试服已开启此功能,应当认为有必要做。
这版还有必要继续加功能吗,还是全力写重构版
这版还有必要继续加功能吗,还是全力写重构版
重构所花的时间非常多,所以我们还需要现有的版本继续运转。
What if the user didn't answer a question correctly? Do we show the correct answer and require to select again or just show the answer and allow the user to advance to the next question?
这版还有必要继续加功能吗,还是全力写重构版
两者平行进行,不冲突。
What if the user didn't answer a question correctly? Do we show the correct answer and require to select again or just show the answer and allow the user to advance to the next question?
I think the behavior should be kept consistent with the Swift version.
cc @fsy2001 Can you please have a look?
目前Swift版的设计是:用户需要回答全部问题并提交。如果有回答错误的问题,会标红显示,要求用户重新回答。用户需要反复提交表单直到全部回答正确为止。
明白。但是按照这种设计,似乎是用不到 /register/questions/_answer 这个 api,纯客户端判断就够了。
明白。但是按照这种设计,似乎是用不到
/register/questions/_answer这个 api,纯客户端判断就够了。
需要的,客户端会使用返回的 wrong_question_ids 信息来标红展示回答错误的题目。如果回答正确,还需要更新 Token 来获取发帖权限。