The world’s fair of software: Join us at GitHub Universe 2024
It’s the 10th anniversary of our global developer event! Celebrate with us by picking up in-person tickets today. It’s bound to be our best one yet.
Category Forms allow maintainers to create templates for their GitHub Discussions, which means that users can start new discussions with all the necessary information already included.
Maintainers of GitHub repositories can now use Category Forms to create templates for their discussions, which means that users can start new discussions with all the necessary information already included. Now, maintainers can triage discussions more easily and reduce their workload.
That’s not all! The new feature also makes it easier for users to create content. When creating new discussions, users will always remember to include relevant information, with no worry about forgetting something important. With Category Forms, users just need to fill in the required fields and hit “submit,” and their discussion will be ready to go.
Similar to Issue Forms, maintainers can create a discussion template, which will live in .github/DISCUSSION_TEMPLATE/. Each template will map 1:1 with the available Discussion Categories slugs. For example, the template for the “Announcements” category will be .github/DISCUSSION_TEMPLATE/announcements.yml
Users of GitHub Discussions won’t need to do anything differently to use Category Forms. To see the feature in action from the perspective of a user, check out how GitHub is leveraging them in our community here. Click “New Discussion” to see how we categorize and templatize posts from our community.
We envision the feature being used in a number of ways, for example:
The possibilities are endless, and we encourage all maintainers to try out the new feature and see how it can improve their discussions. Get started by reading the docs right here!