[wp-trac] [WordPress Trac] #57501: Backport the added query args to Pattern_Directory Controller

WordPress Trac noreply at wordpress.org
Fri Jan 20 17:16:51 UTC 2023


#57501: Backport the added query args to Pattern_Directory Controller
-------------------------------------------------+-------------------------
 Reporter:  ntsekouras                           |       Owner:  ntsekouras
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests gutenberg-  |     Focuses:
  merge has-testing-info needs-testing           |
-------------------------------------------------+-------------------------

Comment (by ironprogrammer):

 == Test Report
 Patch tested: https://github.com/WordPress/wordpress-develop/pull/3861

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 12.6.2
 - Browser: Safari 16.2
 - Server: nginx/1.23.3
 - PHP: 7.4.33
 - WordPress: 6.2-alpha-54642-src
 - Theme: twentytwentythree v1.0
 - Gutenberg NOT activated

 === Actual Results
 ==== Manual UI Test
 > Ensure the remote patterns are still loading in the editor — the
 Featured query, the core patterns, and any theme-added patterns.
 - ❌ While patterns are still loaded, there are both new and missing
 categories after the patch.
 - ✅ For categories that matched between before/after the patch, the
 counts were the same.

 Editor Patterns explorer counts before patch:
 - Banners: 6
 - Buttons: 3
 - Columns: 5
 - Featured: 16
 - Footers: 9
 - Gallery: 3
 - Headers: 9
 - Posts: 7
 - Text: 9

 After patch (🔴=missing, 🟡=new):
 - 🔴 Banners: n/a
 - Buttons: 3
 - Columns: 5
 - Featured: 16
 - Footers: 9
 - Gallery: 3
 - Headers: 9
 - 🔴 Posts: n/a
 - 🟡 Query: 7
 - Text: 9
 - 🟡 Uncategorized: 3

 === Additional Notes
 The user-facing [https://wordpress.org/patterns/ WordPress.org Patterns
 directory] has a different set of category filters from what is in core or
 in this backport PR. The directory currently includes:
 - Buttons
 - Columns
 - Featured
 - Footers
 - Gallery
 - Headers
 - 🟡 Images
 - Text
 - 🟡 Wireframe
 Items with 🟡 are not exposed in core or the PR. Additionally, these
 categories appear in core before/after the patch, but are not visible on
 the patterns site: Banners, Posts, Query, Uncategorized.

 === Supplemental Artifacts

 ||= **Patterns Explorer Before Patch** =||= **After Patch** =||
 || [[Image(https://cldup.com/4gWF3iqXi0.png, 60%)]] ||
 [[Image(https://cldup.com/kpRYVJ9FmV.png, 60%)]] ||

 ||= **WordPress.org Patterns Directory** =||
 || [[Image(https://cldup.com/X3qvMotY84.png)]] ||

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57501#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list