Skip to content

Conversation

@colinmurphy
Copy link
Member

@colinmurphy colinmurphy commented Nov 6, 2025

Description

Introduces an admin notice to inform users about potential performance impact of WPGraphQL Logging under heavy usage.

Message in full is

Heads up! While very useful for debugging, the WPGraphQL Logging Plugin can impact your site's performance under heavy usage, so please use it judiciously.

Related Issue

Fixes #469

Dependant PRs

Type of Change

  • ✅ Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactoring (no functional changes)
  • 📄 Example update (no functional changes)
  • 📝 Documentation update
  • 🔍 Performance improvement
  • 🧪 Test update

How Has This Been Tested?

WordPress 6.8.2

Screenshots

Screenshot 2025-11-06 at 14 28 36

Checklist

  • I have read the CONTRIBUTING document
  • My code follows the project's coding standards
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • Any dependent changes have been highlighted, merged or published

Introduces an admin notice to inform users about potential performance impact of WPGraphQL Logging under heavy usage. Includes new AdminNotice class, template, AJAX dismissal handling, and related unit and e2e tests. Updates plugin setup to initialize the notice and ensures user meta is reset in test utilities.
@changeset-bot
Copy link

changeset-bot bot commented Nov 6, 2025

⚠️ No Changeset found

Latest commit: c819181

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@colinmurphy colinmurphy marked this pull request as ready for review November 6, 2025 15:21
@colinmurphy colinmurphy requested a review from a team as a code owner November 6, 2025 15:21
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

📦 Plugin Artifacts Ready!

Download from GitHub Actions run

Available plugins:

  • ✅ wpgraphql-logging.zip

See the "Artifacts" section at the bottom of the Actions run page

@colinmurphy colinmurphy added this pull request to the merge queue Nov 6, 2025
Merged via the queue into main with commit ea4a066 Nov 6, 2025
22 checks passed
@colinmurphy colinmurphy deleted the chore-add-admin-notice-logging-plugin branch November 6, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Add admin notice for WPGraphQL Logging

3 participants