Skip to content

Fix memory issue with devtools opened#2882

Merged
abaicus merged 5 commits into
developmentfrom
fix/devtools-tab-render-crash
Jun 25, 2026
Merged

Fix memory issue with devtools opened#2882
abaicus merged 5 commits into
developmentfrom
fix/devtools-tab-render-crash

Conversation

@abaicus

@abaicus abaicus commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Closes #.

Summary

  • Moves captcha block to apiVersion 3.
  • Fixes memory issue when displaying block previews.
  • Fixes issue with favorite patterns not translating well between free/pro.
  • Fixes visual issue with skeleton flashing on the whole library modal when previewing a pattern.

Test instructions

  • With devtools opened, add a new page;
  • There should appear a modal that prompts you to insert patterns;
  • When closing the modal, the page should still work and NOT throw an error with code 11;

Checklist before the final review

  • Included E2E or unit tests for the changes in this PR.
  • Visual elements are not affected by independent changes.
  • It is at least compatible with the minimum WordPress version.
  • It loads additional script in frontend only if it is required.
  • Does not impact the Core Web Vitals.
  • In case of deprecation, old blocks are safely migrated.
  • It is usable in Widgets and FSE.
  • Copy/Paste is working if the attributes are modified.
  • PR is following the best practices

@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jun 25, 2026
@pirate-bot

pirate-bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 178.27 KB 178.27 KB 0 B (0.00%)
Blocks 1.64 MB 1.64 MB 337 B (0.02%)
CSS 7.87 KB 7.87 KB 0 B (0.00%)
Dashboard 111.06 KB 111.06 KB 0 B (0.00%)
Onboarding 68.14 KB 68.14 KB 0 B (0.00%)
Export Import 4.7 KB 4.7 KB 0 B (0.00%)
Pro 328.48 KB 328.48 KB 0 B (0.00%)

@pirate-bot

pirate-bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Plugin build for 3789ed3 is ready 🛎️!

@pirate-bot

pirate-bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

E2E Tests

Playwright Test Status: See serial and parallel matrix jobs

Performance Results serverResponse: {"q25":393.7,"q50":397.35,"q75":429,"cnt":10}, firstPaint: {"q25":625.8,"q50":712.85,"q75":826.7,"cnt":10}, domContentLoaded: {"q25":3274.5,"q50":3337.7,"q75":3368.1,"cnt":10}, loaded: {"q25":3276.4,"q50":3339.75,"q75":3370.2,"cnt":10}, firstContentfulPaint: {"q25":3821.6,"q50":3843.45,"q75":3892,"cnt":10}, firstBlock: {"q25":13124.1,"q50":13197.8,"q75":13393.3,"cnt":10}, type: {"q25":22,"q50":22.66,"q75":23.79,"cnt":10}, typeWithoutInspector: {"q25":19.24,"q50":20.34,"q75":24.11,"cnt":10}, typeWithTopToolbar: {"q25":27.69,"q50":28.48,"q75":29.65,"cnt":10}, typeContainer: {"q25":12.94,"q50":13.44,"q75":14.86,"cnt":10}, focus: {"q25":103.51,"q50":110.3,"q75":112.45,"cnt":10}, inserterOpen: {"q25":36.65,"q50":36.89,"q75":38.03,"cnt":10}, inserterSearch: {"q25":12.57,"q50":13.33,"q75":13.93,"cnt":10}, inserterHover: {"q25":4.98,"q50":5.01,"q75":5.24,"cnt":20}, loadPatterns: {"q25":1463.13,"q50":1492.94,"q75":1534.46,"cnt":10}, listViewOpen: {"q25":211.21,"q50":214.99,"q75":222.71,"cnt":10}

@abaicus abaicus merged commit de89b78 into development Jun 25, 2026
17 of 18 checks passed
@abaicus abaicus deleted the fix/devtools-tab-render-crash branch June 25, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants