Add the Do and Don't tutorial template (`tutorial-do-dont`)
Mantenedores costumam responder em até 1 dia
@Ravindar-Amogh-Gummadavelly já está trabalhando nisso.
Desde 31/10/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Part of #5. For tips posts that show the right way and the wrong way side by side.
Idea
The title at the top ("Writing commit messages"), then two columns: "Do" on the left with up to three items ("Use the imperative mood", "Keep the subject under 50 characters", "Explain why in the body") and "Don't" on the right with up to three items ("End the subject with a period", "Mix unrelated changes", "Write fixed stuff"). The "Do" heading is green and the "Don't" heading is red, each item sits on its own row, and the site name is at the bottom.
Template details
- File:
src/templates/tutorial/do-dont.ts, idtutorial-do-dont - Fields:
commonFields.title,do1todo3(text, optional, defaults above),dont1todont3(text, optional, defaults above),commonFields.siteName,commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/tutorial/before-after.ts(two columns side by side),src/templates/tutorial/prerequisites.ts(a short list where blank items are skipped)
Acceptance criteria
- Blank items (or only spaces) are skipped with no gap; a column with every item blank hides and the other one takes the full width; with both empty the area hides cleanly
- A long title shrinks with
autoFontSize()and then truncates, and a long item wraps to at most two lines and then truncates inside its column - The green and red headings and any accent text stay readable on a light background
- Re-exported in
src/templates/tutorial/index.tsand registered in the tutorial block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #NUM in the description.
- Linguagem predominante
- TypeScript
- Estrelas
- 8
- Forks
- 4
- Merge médio
- 8h 41min
- PRs com merge (30d)
- 158
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de codercops/ogcops
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
[Bug] “Copy Recommended Meta Tags” generates an unusable placeholder image URLTalvez já em andamento @CreatorguyS assumiu há 5 dias. Abertabug enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
codercops/ogcops#378 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
[Bug] Clipboard fallback reports success even when copying failsTalvez já em andamento @bhushan4work assumiu hoje. Abertabug
codercops/ogcops#384 · 8 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
codercops/ogcops#341 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de codercops/ogcops
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
shoelace-style/webawesome#2979 ·
Mantenedores costumam responder em até 1 dia
-
Chip source filter and denial markers miss Storage rows when a Storage activity source is pickedAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
omdsh-dev/DSH-better-sidebar#1141 ·
Mantenedores costumam responder em até 2 dias