5

GitHub Discussions just got better with Category Forms!

 1 year ago
source link: https://github.blog/2023-01-09-github-discussions-just-got-better-with-category-forms/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

GitHub Discussions just got better with Category Forms!

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.

GitHub Discussions just got better with Category Forms!
Author
January 9, 2023

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.

So, how does it work?

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.

Screenshot of the

Usecases

We envision the feature being used in a number of ways, for example:

  • The maintainer of a JavaScript library could create a template for bug reports, which includes fields for the user’s browser and operating system, a description of the bug, and reproduction steps.
  • A maintainer of a design repository could create a template for feedback on design changes, which includes fields for the specific design being discussed, the user’s feedback, and any suggestions for improvement.
  • A maintainer of an open source project could create a template for feature requests, which includes fields for the proposed feature, the use case for the feature, and the benefits it would provide.

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!

The GitHub Insider Newsletter

Get the best of GitHub. Once a month. Directly to your inbox.

Subscribe

More on GitHub Discussions

Screenshot of GitHub Discussions page

GitHub Discussions is now available on GitHub Enterprise Server

As part of GitHub Enterprise Server 3.6, enterprise customers will now be able to use GitHub Discussions.

Launching GitHub Community: Powered by GitHub Discussions

Today, we’re launching GitHub Community, which brings together GitHub Community Forum, GitHub Education Forum, and product feedback into a free, in-product, single space for all user-to-user interactions.

Here’s how academic research is shaping GitHub Discussions

We strive to understand how developers collaborate and work on GitHub, and we sometimes partner with academics to better understand how we can improve our products. Here's how we did that to build and evolve GitHub Discussions.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK