[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid
WordPress Trac
noreply at wordpress.org
Fri May 7 17:09:20 UTC 2021
#50105: Remove infinite scrolling behavior from the Media grid
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.8
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots needs-testing early | javascript
commit |
-------------------------------------+-------------------------------------
Changes (by joedolson):
* keywords: has-patch has-screenshots needs-testing needs-testing-info
early => has-patch has-screenshots needs-testing early commit
Comment:
Updated patch for commit.
Until commit, this will require you to build WordPress after applying the
patch.
Testing:
Testing preconditions: rquires a minimum of 41 items in media to interact
with these controls.
- throttle the network via your browser's dev tools: this helps in
observing the UI behavior e.g. the spinner visibility
- test without and with media trash enabled (by setting define(
'MEDIA_TRASH', true ); in your wp-config.php file)
- test the filter add_filter( 'media_library_infinite_scrolling',
'__return_true' ); to restore the infinite scrolling behavior
- test the Media Library
- test the Media modal with Classic Editor (Add Media, featured image)
- test the Media modal with Gutenberg (image, gallery, featured image...)
- optionally: test the Media modal with plugins that implement custom
frames to upload / select attachments
- inspect the queries array of cached collections
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50105#comment:77>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list