You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{alt='GitHub repository navigation tabs with "Settings" circled. Located on the right-hand side of nav bar.'}
40
40
41
41
It will load to the "General settings" page, under which there is a "Feature"
42
42
section. Here you will see "Issues" (already checkmarked) with a button to
43
43
"Set up templates."
44
44
45
-
{alt='GitHub settings features section, set up templates button'}
45
+
{alt='GitHub settings features section, under Issues, set up templates button is highlighted'}
46
46
47
47
This will take you to a mostly blank screen on which there is an "Add template"
48
48
dropdown with several options.
@@ -53,19 +53,19 @@ From this list, select "Bug report." You will now see that the "Bug report"
53
53
template shows up in the list of templates. Click "Preview and edit" to view
54
54
the new template.
55
55
56
-
{alt='Preview of default bug report template'}
56
+
{alt='Preview of default bug report template that includes sections for "Describe the bug", "To Reproduce", "Expected Behavior", and more'}
57
57
58
58
For now, we will leave this template as-is. To apply the new template to your
59
59
repository, click the "Propose changes" button at the top of the page. This
60
60
will load a commit message dialog box. Put whatever you desire in the
61
61
commit message dialog box and commit the changes to your main branch.
{alt='Propose changes commit message dialog box appears with the sections "Commit changes", "Commit message", "Extended commit message", and a radio button to commit to "main" or create a new branch'}
64
64
65
65
If we navigate to the Issues page now and click "New issue", the template
66
66
is now available in our options.
67
67
68
-
{alt='New issue page with a template created'}
68
+
{alt='New issue page with a template created - there is now a "Bug report" template option'}
69
69
70
70
::::::::::::::::::::::::::::::::::::::: challenge
71
71
@@ -89,7 +89,7 @@ When we created our first template, GitHub did the setup for us. If you
89
89
navigate back to your main page, you will see a new
90
90
directory has been created.
91
91
92
-
{alt='New .github directory in main repository'}
92
+
{alt='New `.github` directory on main repository page is shown - autocreated from the steps above'}
93
93
94
94
This new directory is where all the issue templates are located. The directory
95
95
currently has two files: `bug_report.md` and `feature_request.md`. We are going
@@ -149,7 +149,7 @@ Then commit the changes directly to your main branch.
149
149
150
150
We now have three issue templates available for use.
151
151
152
-
{alt='New issue page with three templates available'}
152
+
{alt='New issue page with three templates available - Bug report, Design discussion, and Feature request'}
153
153
154
154
## Incorporate External Links
155
155
@@ -192,14 +192,14 @@ Then commit the changes directly to your main branch.
192
192
193
193
Our template chooser now has our three templates and a link to Google.
194
194
195
-
{alt='Template chooser with custom external link'}
195
+
{alt='New issue page with three templates available - Bug report, Design discussion, and Feature request - plus an additional button with custom external link to "Ask Google"'}
196
196
197
197
And that's all, folks! You now know much more about GitHub Issues.
0 commit comments