Repository navigation
VideoPress Channel: a page per playlist - #53504
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 5 files.
|
d783cca to
9536956
Compare
cc3e244 to
07de5d6
Compare
2a401e2 to
cfc215d
Compare
ff0c36e to
e6c39d0
Compare
cfc215d to
fbeeb88
Compare
fbeeb88 to
ab76245
Compare
df01403 to
9d463d4
Compare
`/videopress?list=<playlist id>` renders the post holding the playlist with the theme's `videopress-playlist` template; an unknown id 404s, and `?v=<guid>&list=<id>` keeps the playlist context on a video page. The Video Playlist block can show the playlist being viewed ( `source: queried` ), and its entries then link with the playlist context. All Playlists cards link to playlist pages on channel sites and can leave out the playlist being viewed ( `excludeCurrent` ). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Covers the playlist page links of the cards on a channel site, the post links elsewhere, `excludeCurrent` leaving out the playlist being viewed, and the editor toggle that sets it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9d463d4 to
67ffe53
Compare
Proposed changes
/videopress?list=<playlist id>renders the post holding the playlist with the theme'svideopress-playlisttemplate; an unknown id 404s.?v=<guid>&list=<id>keeps the playlist context on a video page.queriedsource, "The playlist being viewed", for the playlist and video page templates. Entries of a playlist shown from the index or the URL link to their video pages with&list=<id>.excludeCurrentoption to leave out the playlist being viewed, e.g. a "More playlists" row on a playlist page.The changes to the playlist blocks that do not need playlist pages ( the
indexsource and picker, theupdatedorder,showUpdated) are in #53657, now merged.Part 5 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.
→ 5. VideoPress Channel: a page per playlist #53504 — VideoPress Channel: a page per playlist
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 buildin the package./videopress?list=<its playlistId>: the playlist page renders with the theme's playlist template./videopress?list=nopeis a 404./videopress/?v=<guid>&list=<id>. That video page keeps the playlist context, so the same block shows the playlist there too, with the current video marked./videopress?list=<id>. With "Hide the playlist being viewed" on, the playlist of the current page is left out. On a site without the channel feature, cards still link to the post.🤖 Generated with Claude Code