BM: Baca dalam Bahasa Melayu
World 5: Teamwork
Issue templates, sub-issues and types
You will learn: how templates, sub-issues and issue types keep issues clear.
The problem
Sam’s new issue just says “it doesn’t work”. Which page? Which phone? Ask Sam one kind question.
- Labels
- None yet
- Ssam
it doesnt work
Hint
End your comment with a question mark, like: Which page is it on?Watch
An issue template: A ready-made form with blanks, so every new issue gives the details you need. is a form with blanks. It lives in .github/ISSUE_TEMPLATE/. Every new bug report starts with these questions.
Try it
Help Sam. Fill in the template for the bug: the sign-up button does nothing.
Fill all three blanks.
Preview
What happened?
Steps to see it
Phone or computer?
0 of 3 goals done
Hint
Short answers are fine: “Nothing happens when I tap Sign up.”Predict
The events page is a big job. Aina splits it into 4 sub-issue: A small issue inside a bigger one. The big issue shows how many are done.. 2 are closed. What does the big issue show?
Pick one answer.
Try it
Organizations can give each issue a issue type: The kind of work an issue is, like Bug, Feature or Task. Organizations set these up.. The starting types are Bug, Feature and Task. Sort these issues.
Drag a card into a box. Or tap the card, then tap the box.
Check
Good way to organise issues, or needs work? Swipe each one.
Swipe right for good, left for needs work. Or use the buttons.
Split "Build the events page" into small sub-issues
You did it!
You can now keep issues clear with templates, sub-issues and types.
Go deeper (optional)
Templates can also be issue forms: .yml files with real form fields. A config.yml in the same folder sets up the template chooser. A pull request template (pull_request_template.md) fills new PR descriptions. Sub-issues can have their own sub-issues. Issue types are set up in an organization’s settings.
Bahasa Melayu
Issue baru Sam cuma tulis “tak jalan”. Halaman mana? Telefon apa? Tanya Sam satu soalan yang sopan.
Templat issue ialah borang dengan ruang kosong. Ia tinggal dalam .github/ISSUE_TEMPLATE/. Setiap laporan pepijat baru bermula dengan soalan-soalan ini.
Bantu Sam. Isi templat untuk pepijat ini: butang daftar tak berfungsi.
Halaman acara ialah kerja besar. Aina pecahkan jadi 4 sub-issue (issue kecil). 2 dah ditutup. Issue besar itu tunjuk apa?
Organisasi boleh beri setiap issue satu jenis. Jenis permulaan ialah Bug, Feature dan Task. Susun issue ini.
Cara susun issue yang bagus, atau perlu baiki? Leret setiap satu.
Kini anda boleh pastikan issue jelas dengan templat, sub-issue dan jenis.
You finished this before. Practice is always welcome!
Official docs: About issue and pull request templates · Adding sub-issues · Managing issue types in an organization
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?