Repository navigation
DataViews: make dataviews powered page patterns stable - #58139
Conversation
|
Size Change: -1.87 kB (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
The changes in this file are just copy/pasting dataviews-patterns.js. These can be skipped from the review.
There was a problem hiding this comment.
I was surprised that GitHub didn't say the file moved.
There was a problem hiding this comment.
There are changes in other files (imports), not sure if that's the reason.
There was a problem hiding this comment.
This file is the only that really changes.
849a323 to
e339b81
Compare
There was a problem hiding this comment.
Feels like there's an opportunity to test our new screens better. Maybe we should adapt the tests instead?
There was a problem hiding this comment.
Yeah, we need to add tests for every new page. I am unsure if I'll have time for that before RC, but can commit to do it in a follow-up.
There was a problem hiding this comment.
I agree we should adapt the tests. If the plan is to do it a follow up, maybe just skip them for now?
There was a problem hiding this comment.
Sure, I can skip them 4506147 Though I'm skeptical we can reuse any of that code (that's why I removed in the first place).
There was a problem hiding this comment.
I added tasks for adding e2e test for every page in the tracking issue.
e339b81 to
a8ef160
Compare
|
There are a few things (styles, other components, etc.) that we may want to remove. I'll do that in a separate follow-up, to make sure I don't miss any styles. |
|
Flaky tests detected in 4506147. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7637031084
|
|
Gave it a quick test. Didn't spot any issues, and I really enjoyed the improved UX 👍 |
f2e5be8 to
4506147
Compare
|
Milestoned this for 17.6, so it's not missed. |
Part of #55083
What?
This PR makes the dataviews-powered Patterns page stable.
Why?
It's considered to have feature-parity with the existing.
How?
page-patterns/index.jswith those ofpage-patterns/dataviews-patterns.jsand removes the latter.Testing Instructions
Load the "Side Editor > Patterns" page with and without the "admin views" experiment enabled and verify that the dataviews-powered page is loaded.