Skip to content

Conversation

@kidunot89
Copy link
Collaborator

Description

Prevent WordPress stylesheets from leaking into the Next.js app layout by wrapping all proxied CSS in @scope([data-content]) and scoping inline styles in RenderStylesheets. Add woocommerce_ajax_get_endpoint filter to rewrite WC AJAX URLs through the /atx/{slug}/wc proxy route. Update e2e tests for /atx/ proxy path and add style-isolation test suite. Remove tracked test artifacts and build files via .gitignore.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)

Related Issues

Checklist

  • I have read the CONTRIBUTING guidelines
  • My code follows the project's code style
  • I have added tests that prove my fix/feature works
  • All new and existing tests pass (npm run test:unit)
  • TypeScript compiles without errors (npm run typecheck)
  • I have updated documentation if needed
  • I have added a changeset if this change affects published packages (npm run changeset)

Screenshots (if applicable)

Additional Notes

…xy routing

Prevent WordPress stylesheets from leaking into the Next.js app layout by
wrapping all proxied CSS in @scope([data-content]) and scoping inline styles
in RenderStylesheets. Add woocommerce_ajax_get_endpoint filter to rewrite
WC AJAX URLs through the /atx/{slug}/wc proxy route. Update e2e tests for
/atx/ proxy path and add style-isolation test suite. Remove tracked test
artifacts and build files via .gitignore.
@kidunot89 kidunot89 merged commit ab98d7d into main Jan 30, 2026
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Jan 30, 2026
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.

1 participant