WordPress / WordPress/pattern-directory
Post List Continuously Loads without Displaying Posts in Pattern Creation Too
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
Description:
When attempting to create a new pattern using the post list block on the WordPress Pattern Creation page (https://wordpress.org/patterns/new-pattern/), the block fails to display any posts and shows a perpetual loading indicator. This issue occurs during the pattern creation process and prevents users from effectively using the post list block in their custom patterns.
Steps to Reproduce:
- Navigate to https://wordpress.org/patterns/new-pattern/ on Google Chrome.
- Begin creating a new pattern.
- Add a 'Post List' block to the pattern.
- Observe the behavior of the Post List block.
Expected Result:
The Post List block should successfully load and display a list of posts.
Actual Result:
The Post List block continuously shows a loading spinner and does not display any posts.
Environment:
- WordPress Version: 6.5.2
- Browser: Google Chrome
Additional Information:
- A video demonstrating the issue is available here: Video Link
- The issue may be related to AJAX requests are completing but not fetching data on the client side.
Console/ Network Output: It is loading the API well and getting the data but just not populating on the screen.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Pattern Creation page and inspect the Post List block's client-side API response and rendering path. Reproduce the issue in Chrome and verify that the returned posts are populated in the block instead of leaving the loading spinner visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100