Skip to content

Fix newsletter popup dismissal and deploy safely - #8

Merged
alanw707 merged 1 commit into
mainfrom
fix/newsletter-popup-modal-2026-10-12
Oct 12, 2026
Merged

alanw707 merged 1 commit into
mainfrom
fix/newsletter-popup-modal-2026-10-12

Conversation

@alanw707

Copy link
Copy Markdown
Owner

Summary

  • make the production newsletter modal dismissible by Escape and backdrop click
  • keep keyboard focus inside the modal and restore it after dismissal
  • deploy only the reviewed plugin asset through the existing production workflow with hash guards, rollback evidence, and public cache verification
  • add desktop/mobile Playwright regression coverage and deploy-script safety tests

Validation

  • npm run lint:css
  • npm run lint:js
  • npm run build
  • PHP syntax checks
  • npm audit --omit=dev --audit-level=moderate
  • bash tests/scripts/deploy-file.test.sh
  • PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium npx playwright test tests/e2e/newsletter-popup.spec.js --reporter=line (5 passed)

Deployment note

The first production run is expected to fail at the canonical Cloudflare cache check if ?ver=1.0.1 remains stale. The origin file remains verified; purge that exact URL and rerun before claiming the customer-facing fix is live.

@alanw707
alanw707 merged commit 92ea5a4 into main Oct 12, 2026
7 checks passed
@alanw707
alanw707 deleted the fix/newsletter-popup-modal-2026-10-12 branch October 12, 2026 21:01
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