Faq: Supervisor Rubrik

未关闭
#484 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@b-yildiz1 已经在做这个了。

开始于 2026年11月25日。

  • #490 来自 @b-yildiz1 —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
django, python
领域
api, backend

调研方向

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 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ClockGU/clock-backend 的其他 Issue

查看 ClockGU/clock-backend 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。