Faq: Supervisor Rubrik
评估
调研方向
Start by locating the FaqHeading model in the Django app and its migration history, then follow where the FAQ endpoint is built (serializer plus view or viewset) to see how existing filters are declared. Add show_supervisor = BooleanField(default=False) with a migration, expose a show_supervisor query parameter, and mirror an existing model/filter test in the test suite for the two new checks. Done when the migration applies, filtering by the parameter works as expected, and the new tests pass; the footer link in clock-supervisor-frontend is bonus and can be skipped.
由索引模型根据 Issue 内容生成。
描述
Um Vorgesetzten in ClockSupervisor besseren support zu kommen zu lassen und eine Übersicht über oft gestellte Fragen zu bieten soll
das Faq, welches hier in Clock bereitgestellt wird, erweitert werden.
- Füge ein Feld "show_supervisor" zu FaqHeading als
BooleanField(default=False)hinzu - Füge eine Möglichkeit zum Faq endpoint hinzu um nach "show_supervisor" filtern zu können
- Implementiere einen Test für das Feld "show_supervisor" hinzu
- Implementiere einen Test für die Filtermöglichkeit nach "show_supervisor" hinzu
Bonus:
Füge im Footer von clock-supervisor-frontend einen Link hinzu der auf eine Faq Seite (ähnlich dem Clock Frontend) führt, welchee nur
Faqs mit Headings die show_supervisor=True anzeigt.
- 主要语言
- Python
- 星标
- 0
- 派生
- 4
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ClockGU/clock-backend 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
ClockGU/clock-backend#487 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ClockGU/clock-backend#486 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
ClockGU/clock-backend#467 ·
-
Contract: Verlängerung nach dem Ablauf可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 65/100
ClockGU/clock-backend#485 ·
-
enhancement medium priority
难度 4/5 3-5 天 新手友好度 48/100
ClockGU/clock-backend#480 ·
查看 ClockGU/clock-backend 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
bug (unverified)
难度 2/5 1-3 小时 新手友好度 62/100
scikit-hep/awkward#4581 · 1 条评论 ·
维护者通常 1 天内回复
-
ci-cd priority: low
难度 2/5 1-3 小时 新手友好度 75/100
LearningCircuit/local-deep-research#9163 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
supersonic-lumina/ENM156#50 ·
维护者通常 2 天内回复