Administration: Remove no-JS notices from Fonts and Connectors screens - #12946
Administration: Remove no-JS notices from Fonts and Connectors screens#12946t-hamano wants to merge 1 commit into
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
Co-Authored-By: Claude <noreply@anthropic.com>
13fe108 to
93e3978
Compare
hbhalodia
left a comment
There was a problem hiding this comment.
LGTM!
My initial implementation for the no-js was same 😅. See GB commit - WordPress/gutenberg@caa6795
Based on the comment - https://core.trac.wordpress.org/ticket/65690#comment:5, We decided to add as an admin notice to core instead of GB.
Also, WordPress/gutenberg#81365, This PR has a common message across all pages if there is no JS. Do we need to show the context based message for UX?
|
@hbhalodia Thanks for the review!
I don't think so, as the H1 heading already indicates what the page is about. |
The Fonts and Connectors screens no longer render their own heading and JavaScript-required notice. The generated page template now provides both for every route-based screen, so the per-screen markup only produced a duplicate heading and notice when JavaScript was disabled. Developed in: #12946 Follow-up to [62954]. Props hbhalodia, wildworks. Fixes #65840. git-svn-id: https://develop.svn.wordpress.org/trunk@63174 602fd350-edb4-49c9-b593-d223f7449a82
The Fonts and Connectors screens no longer render their own heading and JavaScript-required notice. The generated page template now provides both for every route-based screen, so the per-screen markup only produced a duplicate heading and notice when JavaScript was disabled. Developed in: WordPress/wordpress-develop#12946 Follow-up to [62954]. Props hbhalodia, wildworks. Fixes #65840. Built from https://develop.svn.wordpress.org/trunk@63174 git-svn-id: http://core.svn.wordpress.org/trunk@62371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Removes the per-page no-JS heading and notice added in r62954, since the generated
wp-buildpage template now renders them for every route-based page.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5
Used for: Removing the markup per the ticket; reviewed and verified by me.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.