Faq: Supervisor Rubrik

Aberta
#484 0 comentários 0 reações 0 responsáveis Ver no GitHub

@b-yildiz1 já está trabalhando nisso.

Desde 25/11/2026.

  • #490 de @b-yildiz1 — aberto

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
django, python
Domínio
api, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
0
Forks
4
Merge médio
2d 16h
PRs com merge (30d)
5

Preparar o ambiente

  • Inclui um Dockerfile ou arquivo Docker Compose
  • Sem modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ClockGU/clock-backend

Todas as issues de ClockGU/clock-backend

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.