Repository navigation
VideoPress: add a Channel Details block - #53506
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 2 files.
3 files are newly checked for coverage.
|
857cfec to
ad1670f
Compare
89ecfc7 to
84923a7
Compare
ad1670f to
854d01b
Compare
84923a7 to
62134d3
Compare
854d01b to
a2ab1c5
Compare
62134d3 to
4fc091b
Compare
a2ab1c5 to
642e94c
Compare
4fc091b to
72060d1
Compare
642e94c to
c87d468
Compare
72060d1 to
61ca577
Compare
c87d468 to
c9d7862
Compare
37ddbc4 to
4573833
Compare
4573833 to
0d71684
Compare
0d71684 to
a7884ab
Compare
4573833 to
18d176d
Compare
a7884ab to
60b4fd5
Compare
318c121 to
b4c4e65
Compare
60b4fd5 to
1444e3f
Compare
db6e11e to
8da6250
Compare
The first server-rendered channel block: the channel's handle, subscribers, videos, playlists, total views and start date, inline or as a list. Channel_Blocks registers it ( also from the WordPress.com loader ), and the editor previews it with the server render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8da6250 to
8d886cf
Compare
Proposed changes
videopress/channel-detailsblock: the channel's handle, subscribers, videos, playlists, total views and joined date, inline or as a list.Channel::is_enabled(): the theme supportsvideopress-channel, or thevideopress_channel_enabledfilter returns true ). Elsewhere the block isn't registered, so it isn't in the inserter and its editor script never loads.Part 7 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.
→ 7. VideoPress: add a Channel Details block #53506 — VideoPress: add a Channel Details block
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.videopress-channel( and with novideopress_channel_enabledfilter ), confirm Channel Details isn't in the block inserter.🤖 Generated with Claude Code