Repository navigation
Latest Videos Playlist: sorting, search, length filter and pages - #53505
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Videopress plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 6 files. Only the first 5 are listed here.
1 file is newly checked for coverage.
|
cc3e244 to
07de5d6
Compare
857cfec to
ad1670f
Compare
07de5d6 to
9f0bc68
Compare
ad1670f to
854d01b
Compare
9f0bc68 to
2a401e2
Compare
854d01b to
a2ab1c5
Compare
2a401e2 to
cfc215d
Compare
a2ab1c5 to
642e94c
Compare
cfc215d to
fbeeb88
Compare
642e94c to
c87d468
Compare
9d463d4 to
67ffe53
Compare
c87d468 to
c9d7862
Compare
a7884ab to
60b4fd5
Compare
The Latest Videos Playlist block gains an order ( newest, oldest, most viewed ), search / sort / length controls read from the page URL, numbered pages, an option to leave out the video being viewed, and "12K views · 3 days ago" on entries ( also for Video Playlist blocks that show another playlist ). The editor previews these with the server render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t meta Cover the editor's switch to the site's render for settings the canvas cannot show, the preview's empty and failed states, and the views and upload time a sourced playlist adds with showMeta. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60b4fd5 to
1444e3f
Compare
…lid-arguments test WordPress trunk now hooks wp_random_content_flush_rewrite_rules_for_post() to wp_after_insert_post with typed parameters, so firing the hook with the invalid post IDs this test feeds the Sync listener throws a TypeError. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 9e093ea)
Proposed changes
orderBy( newest / oldest / popular ),showBrowseControls( search, Latest / Popular / Oldest, length filter and a result line, as a GET form ),pagination( numbered ),excludeCurrent( for Up next on a video page ) andshowMeta( "12K views · 3 days ago" on each entry ).Part 6 of 11 of a stacked series
The VideoPress channel theme support is split so each change can be reviewed, tested and deployed on its own. Each PR is based on the previous one; merge them in order.
→ 6. Latest Videos Playlist: sorting, search, length filter and pages #53505 — Latest Videos Playlist: sorting, search, length filter and pages
Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
jp test php packages/videopress;pnpm run build.🤖 Generated with Claude Code