Skip to content

Conversation

@karmatosed
Copy link
Member

@karmatosed karmatosed commented Oct 19, 2025

Adds in some basic template files for issues and PR.
Also brings in support.md

Closes #44
Heavy inspiration from Gutenberg repo for these to get them shipped.
Drawn from: https://github.com/WordPress/gutenberg/tree/trunk/.github and https://github.com/WordPress/gutenberg/tree/trunk/.github/ISSUE_TEMPLATE

@jeffpaul this might also need to be linked in or connected to back end - I’ve never just uploaded templates this way.

@github-actions
Copy link

github-actions bot commented Oct 19, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: karmatosed <karmatosed@git.wordpress.org>
Co-authored-by: justlevine <justlevine@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>
Co-authored-by: johnbillion <johnbillion@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov
Copy link

codecov bot commented Oct 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.59%. Comparing base (9da857e) to head (5593101).

Additional details and impacted files
@@            Coverage Diff            @@
##              trunk     #124   +/-   ##
=========================================
  Coverage     90.59%   90.59%           
  Complexity      177      177           
=========================================
  Files            20       20           
  Lines          1489     1489           
  Branches        117      116    -1     
=========================================
  Hits           1349     1349           
  Misses          140      140           
Flag Coverage Δ
javascript 94.20% <ø> (ø)
unit 89.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@justlevine justlevine requested a review from Copilot October 19, 2025 11:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds repository support and workflow documentation assets (support guide, pull request template, and issue templates) adapted from the Gutenberg project.

  • Introduces SUPPORT.md with contributor guidance.
  • Adds standardized pull request template.
  • Adds issue templates for bug reports and feature requests.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
.github/SUPPORT.md Adds support and contribution guidance (currently Gutenberg-specific).
.github/PULL_REQUEST_TEMPLATE.md Adds structured PR template with sections for rationale, testing, and screenshots.
.github/ISSUE_TEMPLATE/Feature_request.md Adds feature request issue template with problem/solution prompts.
.github/ISSUE_TEMPLATE/Bug_report.yml Adds detailed bug report form with environment, reproduction, and confirmation checkboxes.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@justlevine
Copy link
Contributor

Thanks so much for this @karmatosed !

Only reviewed on mobile, but before you waste time on all those copilot nits and the general GB-> abilities API reworkings I'm wondering if it makes sense to use non-gutenberg prior art, as both consumption and "desired" level of friction seem different from what we want/need here?

@karmatosed
Copy link
Member Author

@justlevine I have iterated within here, it’s easier. The point was to get some rough templates as we likely can’t commit straight off and/or we need to add to the system (or at least I don’t know as usually it’s done through settings).

@justlevine
Copy link
Contributor

justlevine commented Oct 22, 2025

as we likely can’t commit straight off and/or we need to add to the system (or at least I don’t know as usually it’s done through settings).

@karmatosed if the use is solely for GitHub, then they'll be used by virtue of them existing in .github/{...} on the default branch (trunk in our case) as soon as we merge. If there's some Handbook connection, then that probably needs to be done separately.

(If you want to preview, then you can create a new issue/ pr targeting your fork e.g
image
)

Copy link
Member

@jeffpaul jeffpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes to primarily update from Gutenberg to Abilities API

@@ -0,0 +1,77 @@
name: Bug report
description: Report a bug with the WordPress block editor or Gutenberg plugin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: Report a bug with the WordPress block editor or Gutenberg plugin
description: Report a bug with the WordPress Abilities API

attributes:
label: Environment info
description: |
Please list what Gutenberg version you are using. If you aren't using Gutenberg, please note that it's not installed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Please list what Gutenberg version you are using. If you aren't using Gutenberg, please note that it's not installed.
Please list what WordPress version and any other relevant plugins you are using.

id: existing
attributes:
label: Please confirm that you have searched existing issues in the repo.
description: You can do this by searching https://github.com/WordPress/gutenberg/issues and making sure the bug is not related to another plugin.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: You can do this by searching https://github.com/WordPress/gutenberg/issues and making sure the bug is not related to another plugin.
description: You can do this by searching https://github.com/WordPress/abilities-api/issues and making sure the bug is not related to another plugin.

- type: checkboxes
id: plugins
attributes:
label: Please confirm that you have tested with all plugins deactivated except Gutenberg.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
label: Please confirm that you have tested with all plugins deactivated except Gutenberg.
label: Please confirm that you have tested with all plugins deactivated.

@@ -0,0 +1,31 @@
<!-- Thanks for contributing to Gutenberg! Please follow the Gutenberg Contributing Guidelines:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<!-- Thanks for contributing to Gutenberg! Please follow the Gutenberg Contributing Guidelines:
<!-- Thanks for contributing to Abilities API! Please follow our Contributing Guidelines:

@@ -0,0 +1,31 @@
<!-- Thanks for contributing to Gutenberg! Please follow the Gutenberg Contributing Guidelines:
https://github.com/WordPress/gutenberg/blob/trunk/CONTRIBUTING.md -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
https://github.com/WordPress/gutenberg/blob/trunk/CONTRIBUTING.md -->
https://github.com/WordPress/abilities-api/blob/trunk/CONTRIBUTING.md -->

@@ -0,0 +1,12 @@

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@@ -0,0 +1,12 @@

# Gutenberg Project Support
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Gutenberg Project Support
# Abilities API Support


# Gutenberg Project Support

Welcome to Gutenberg, a WordPress project. We hope you join us in creating the future platform for publishing; all are welcome here.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Welcome to Gutenberg, a WordPress project. We hope you join us in creating the future platform for publishing; all are welcome here.
Welcome to Abilities API, a WordPress project. We hope you join us in creating the future platform for publishing; all are welcome here.


Welcome to Gutenberg, a WordPress project. We hope you join us in creating the future platform for publishing; all are welcome here.

* Please see the [Contributing Guidelines](https://github.com/WordPress/gutenberg/blob/HEAD/CONTRIBUTING.md) for additional information on how to contribute.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Please see the [Contributing Guidelines](https://github.com/WordPress/gutenberg/blob/HEAD/CONTRIBUTING.md) for additional information on how to contribute.
* Please see the [Contributing Guidelines](https://github.com/WordPress/abilities-api/blob/trunk/CONTRIBUTING.md) for additional information on how to contribute.

@jeffpaul jeffpaul added this to the WP 6.9 milestone Oct 23, 2025
@gziolo gziolo added the [Type] Task Issues or PRs that have been broken down into an individual action to take label Oct 24, 2025
@gziolo gziolo moved this to Needs review in WordPress Abilities API: planning Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Task Issues or PRs that have been broken down into an individual action to take

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

Scaffold GH Issue + PR Templates

5 participants