-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into comments
- Loading branch information
Showing
633 changed files
with
110,892 additions
and
46,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
version: "2" | ||
checks: | ||
method-lines: | ||
config: | ||
threshold: 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Bug report | ||
description: Report a bug in WPGraphQL | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: >- | ||
Thank you for taking the time to report a possible bug! | ||
Before submitting a bug report, please take a minute to review the [WPGraphQL Debugging Guide](https://www.wpgraphql.com/docs/debugging) so you can share the necessary information to help us debug your issue. | ||
Please remember, a bug report is _not the place to ask questions_. You can | ||
use [Slack](https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA) for that, or start a topic in [GitHub | ||
Discussions](https://github.com/wp-graphql/wp-graphql/discussions). | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: >- | ||
Please write a brief description of the bug, including what you expected and what actually happened. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: >- | ||
Please list the all the steps needed to reproduce the bug in an *isolated* way (e.g. a clonable GitHub repository, or a WPGraphQL snippet that works on a clean environment ). | ||
placeholder: >- | ||
1. Go to "..." | ||
2. Query: | ||
```graphql | ||
query { | ||
} | ||
3. Result show X but should be Y | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: >- | ||
Add any other context about the problem here, such as screenshots, error logs, etc. | ||
- type: input | ||
attributes: | ||
label: WPGraphQL Version | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: WordPress Version | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: PHP Version | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional environment details | ||
description: Frontend framework, additional WGraphQL extensions (and their versions), etc. | ||
- type: checkboxes | ||
attributes: | ||
label: Please confirm that you have searched existing issues in the repo. | ||
description: >- | ||
You can do this by searching https://github.com/wp-graphql/wp-graphql/issues. | ||
options: | ||
- label: 'Yes' | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: >- | ||
Please confirm that you have disabled ALL plugins except for WPGraphQL. | ||
description: >- | ||
Ideally, bugs should be reproduced in isolation, and all other plugins should be disabled. However, if your bug involves compatibility issues with other plugins, please share them (along with their version info) in `Additional environment details` above. | ||
options: | ||
- label: 'Yes' | ||
required: false | ||
- label: My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above. | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: General Help Request | ||
url: https://github.com/wp-graphql/wp-graphql/discussions | ||
about: For general questions and help requests, create a new topic in Github Discussions | ||
- name: Slack Community | ||
url: https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA | ||
about: The WPGraphQL Slack is a great place to communicate in real-time. Ask questions, discuss features, get to know other folks using WPGraphQL. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Feature request | ||
description: Suggest an idea, feature, or enhancement for WPGraphQL. | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: >- | ||
Thank you for taking the time to submit a feature request. | ||
Please make sure to search the repo for [existing feature | ||
requests](https://github.com/wp-graphql/wp-graphql/issues) | ||
before creating a new one. | ||
- type: textarea | ||
attributes: | ||
label: What problem does this address? | ||
description: >- | ||
Please describe the problem you are trying to solve, including why you | ||
think this is a problem. | ||
placeholder: I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What is your proposed solution? | ||
description: >- | ||
Please provide a clear and concise description of your suggested | ||
solution. | ||
placeholder: What I'd like to see happen is [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What alternatives have you considered? | ||
description: >- | ||
Please list any alternatives you have considered, and why you think your | ||
solution is better. | ||
- type: textarea | ||
attributes: | ||
label: Additional Context | ||
description: Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 90 | ||
# Stalebot will close issues marked "stale?" if they have not been triaged after 90 days. | ||
# See https://github.com/wp-graphql/wp-graphql/issues/2494 | ||
daysUntilClose: false | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- "not stale" | ||
- "🚨 Importance: Critical" | ||
- "Ready for Review" | ||
- "Release" | ||
- "Target: v2.0" | ||
- "status: blocked" | ||
# Stalebot will mark issues as stale? after 90 days | ||
# If stale? issues haven't been triaged after another 90 days, they will be closed. | ||
# See: https://github.com/wp-graphql/wp-graphql/issues/2494 | ||
staleLabel: "stale?" | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. You can help keep it active by commenting with additional information or even just confirming the issue still exists. We thank you for your contributions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This workflow tracks changes to the "packages" and "build" directories | ||
# and if changes are detected, we run npm scripts to re-build the GraphiQL app | ||
# and commit the changes | ||
name: build-graphiql | ||
|
||
on: | ||
push: | ||
# Build GraphiQL only if changes were made to "packages" or "build" directory | ||
paths: | ||
- "packages/**" | ||
- "build/**" | ||
branches: | ||
- develop | ||
- master | ||
|
||
jobs: | ||
# Check to see if changes were made to the packages directory or the build directory in the PR | ||
build-graphiql: | ||
name: Build GraphiQL | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.PAT }} | ||
|
||
# Install and build the GraphiQL App | ||
- name: Install NPM Dependencies and Build the GraphiQL App | ||
id: install-and-build | ||
run: | | ||
npm ci && npm run build | ||
# Setup Git Config | ||
- name: setup git config | ||
run: | | ||
git config user.name "GitHub Actions Bot" | ||
git config user.email "<>" | ||
# Commit the built assets for GraphiQL back to the repo | ||
- name: Commit built GraphiQL | ||
id: commit-changes | ||
run: | | ||
git add --force build | ||
set +e # Grep succeeds with nonzero exit codes to show results. | ||
git status | grep modified | ||
if [ $? -eq 0 ] | ||
then | ||
set -e | ||
git commit -m "Apply GraphiQL build changes" | ||
git push | ||
else | ||
set -e | ||
echo "No changes since last run" | ||
fi | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.