Repository navigation
[WP 7.2] Backport fixes for Beta 5 - #86559
Conversation
"Copy error" reads as either an action or a noun phrase, and several locales translated it as "copy failed" (es_ES, es_CO, es_CL, gl_ES, ro_RO). Use _x() so translators know it is a button that copies the error message. --------- Co-authored-by: ariel-maidana <arielmaidana@git.wordpress.org> Co-authored-by: simison <simison@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
* Remove iframe handling from UI * Editor canvas: bubble popup-close related events to parent iframe * Update changelog entries * Remove obsolete iframe close unit tests * Stop propagating portaled syntetic events * e2e test for closing tag popup with canvas click * Extract constructor from event prototype * e2e test for closing editor options menu * Fix double React handler invocation * bubbleEvent: copy only selected fields on event clone * Move cloneEvent to a separate module * Add unit test for frame event bubbling * Guard for presence of getModifierState Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org> Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
* UI: Use shared loading indicators in popup consumers * Docs: Link loading indicator changelogs to PR * Docs: Clarify loading indicator changelog entries Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: ciampo <mciampini@git.wordpress.org>
#86327) Co-authored-by: jeryj <jeryj@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: mikachan <mikachan@git.wordpress.org> Co-authored-by: courtneyr-dev <courane01@git.wordpress.org>
Core r65343 empties data-wp-html elements bound to context, since a context value is never a token on the server. Read the synced context value through a state getter so the server still renders the HTML. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> --- Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: ciampo <mciampini@git.wordpress.org>
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: -3.61 kB (-0.04%) Total Size: 9.08 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Backspace in
|
|
iOS Tests are also failing on the |
t-hamano
left a comment
There was a problem hiding this comment.
I think everything has been cherry-picked correctly 👍
* iOS tests: De-flake the selection handle test The selection handle test failed in about 9% of trunk runs of the iOS Tests workflow, for three timing-dependent reasons: - A fresh simulator covers the keyboard with the slide to type tutorial, which takes the double tap. run.sh now marks it as seen once the simulator has booted, as Chromium's iOS test runner does. - The paragraph's frame was read while the keyboard and its accessory bar slid in, so the double tap could land on the accessory bar. The test now waits for the keyboard and for the frame to settle. - The simulator sometimes drops the focusing tap. The test now taps again if focus does not show within 10 seconds. The selection assertions are unchanged. * iOS tests: Fall back to Select on a split double tap The simulator sometimes delivers the double tap as two single taps, which opens the Paste, Select, Select All menu instead of selecting "Delta". Tap Select then, which selects the same word. Focus often shows over 3 seconds after the tap, so the 3 second retry could tap a paragraph that is about to focus. Retry only after 10 seconds, trunk's old focus timeout, so it fires only where trunk would have failed. * iOS tests: Tap again when focus comes without keyboard Focus that shows long after the tap no longer counts as the tap's, and WebKit then focuses the paragraph without the software keyboard. The test went on and read the paragraph's frame before the keyboard moved the canvas, then spent its double tap on bringing the keyboard up, so no word was selected. Tap once more when the keyboard does not show, and require it: CI and the README both require a software keyboard.
What?
Cherry-picks the six merged PRs labeled
Backport to WP 7.2 Beta/RContowp/7.2for 7.2 Beta 5, plus #86511 and #85461, which fix the failing e2e and iOS checks onwp/7.2:push. #85968 Prevent workflow jobs from running within forks onpush#86298 also carries the label, but it is already on
wp/7.2via #86463.How?
Commits are picked in merge order, with #86511 and #85461 added last. Most conflicts were in
CHANGELOG.mdfiles, resolved by keeping each backported PR's own entry and leaving out unrelated trunk entries. Three code conflicts:wp/7.2has the olderCopyErrorButtoninpackages/boot, without the copy result icons. Kept it and applied only the_x()change.iframe/index.tsxwraps the canvas children inCanvasWindowContextfrom Block Editor: Match the block visibility viewport once per canvas #85808, which is not onwp/7.2. Left that wrapper out; the rest of the file matches trunk.wp/7.2. Took iOS tests: De-flake the selection handle test #85461's version of that tap, which also covers iOS tests: Don't double tap next to the cursor #85481's change, and kept thewp/7.2-only tests inSelectionTests.swift.Testing Instructions
Follow the testing instructions in each original PR.
Testing Instructions for Keyboard
Same as the original PRs.
Use of AI Tools
Claude Code did the cherry-picks and resolved the conflicts; I reviewed the result.