Skip to content

VideoPress Channel blocks: empty states - #53510

Merged
heydemoura merged 1 commit into
trunkfrom
add/videopress-channel-empty-states
Oct 20, 2026
Merged

heydemoura merged 1 commit into
trunkfrom
add/videopress-channel-empty-states

Conversation

@heydemoura

@heydemoura heydemoura commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

  • emptyState ( none / author / all ) on Latest Videos Playlist, Video Playlist ( picked playlist ), All Playlists, Video Details ( newest upload ) and Playlist Details ( picked playlist ). Default none keeps today's empty render.
  • Authors who can act see a call to action ( upload a first video, create a first playlist ); with all, visitors see a short note.

Part 11 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.

  1. VideoPress Channel: only open a video page for a video uploaded to this site #53501 — VideoPress Channel: only open a video page for a video uploaded to this site ( merged )
  2. Video Playlist: keep channel video links in the same tab and mark the video being viewed #53502 — Video Playlist: keep channel video links in the same tab and mark the video being viewed ( merged )
  3. VideoPress Channel: add the data layer for the channel blocks #53503 — VideoPress Channel: add the data layer for the channel blocks ( merged )
  4. VideoPress: let the playlist blocks show a site playlist and sort by last update #53657 — VideoPress: let the playlist blocks show a site playlist and sort by last update
  5. VideoPress Channel: a page per playlist #53504 — VideoPress Channel: a page per playlist
  6. Latest Videos Playlist: sorting, search, length filter and pages #53505 — Latest Videos Playlist: sorting, search, length filter and pages
  7. VideoPress: add a Channel Details block #53506 — VideoPress: add a Channel Details block
  8. VideoPress: add a Video Details block and let the video block play the newest upload #53507 — VideoPress: add a Video Details block and let the video block play the newest upload
  9. VideoPress: add a Playlist Details block #53508 — VideoPress: add a Playlist Details block
  10. VideoPress: add an Episode Navigation block #53509 — VideoPress: add an Episode Navigation block
    → 11. VideoPress Channel blocks: empty states #53510 — VideoPress Channel blocks: empty states

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; pnpm run test.
  • On a site with no VideoPress uploads, set emptyState to all on a Latest Videos Playlist: logged in you see "Upload your first video" with a button, logged out "No videos yet".

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack), and enable the add/videopress-channel-empty-states branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack add/videopress-channel-empty-states

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions github-actions Bot added [Package] VideoPress [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Tests] Includes Tests labels Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

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:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

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.

@jp-launch-control

jp-launch-control Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Code Coverage Summary

Coverage changed in 10 files. Only the first 5 are listed here.

File Coverage Δ% Δ Uncovered
projects/packages/videopress/src/class-channel-blocks.php 293/298 (98.32%) -0.10% 1 ❤️‍🩹
projects/packages/videopress/src/class-channel-data.php 325/347 (93.66%) -0.29% 1 ❤️‍🩹
projects/packages/videopress/src/client/block-editor/blocks/all-playlists/edit.tsx 31/36 (86.11%) -2.46% 1 ❤️‍🩹
projects/packages/videopress/src/client/block-editor/blocks/latest-videos-playlist/edit.tsx 28/29 (96.55%) -3.45% 1 ❤️‍🩹
projects/packages/videopress/src/client/block-editor/blocks/playlist-details/edit.tsx 5/9 (55.56%) -6.94% 1 ❤️‍🩹

Full summary · PHP report · JS report

@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from 2ffa999 to 6112d98 Compare October 15, 2026 11:13
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from f491071 to ac6151d Compare October 15, 2026 11:13
@heydemoura
heydemoura marked this pull request as ready for review October 15, 2026 11:29
@heydemoura
heydemoura requested a review from a team as a code owner October 15, 2026 11:29
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from 6112d98 to 2360bc3 Compare October 15, 2026 11:42
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from ac6151d to ce20a85 Compare October 15, 2026 11:42
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from 2360bc3 to d9674c4 Compare October 15, 2026 12:25
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from ce20a85 to 5882c22 Compare October 15, 2026 12:25
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from d9674c4 to 0c802cb Compare October 15, 2026 13:13
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from 5882c22 to d75b9de Compare October 15, 2026 13:13
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from 0c802cb to 1c445fd Compare October 15, 2026 13:14
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from d75b9de to 2b9345d Compare October 15, 2026 13:15
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from 1c445fd to cdd40d8 Compare October 16, 2026 12:58
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from 2b9345d to 458e01e Compare October 16, 2026 12:58
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from cdd40d8 to e0db2e6 Compare October 16, 2026 13:16
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from 458e01e to a5650b1 Compare October 16, 2026 13:16
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from e0db2e6 to 7e3b82d Compare October 16, 2026 13:44
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from a5650b1 to cd19061 Compare October 16, 2026 13:44
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from 7e3b82d to 27a76b8 Compare October 16, 2026 14:12
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch 2 times, most recently from efb1666 to 3ef97e0 Compare October 16, 2026 17:35
@heydemoura
heydemoura force-pushed the add/videopress-episode-navigation-block branch from ad143b1 to cb85392 Compare October 19, 2026 14:18
Base automatically changed from add/videopress-episode-navigation-block to trunk October 19, 2026 15:37
An `emptyState` attribute ( none, author, all ) on Latest Videos Playlist, Video Playlist
( a playlist picked from the site ), All Playlists, Video Details ( newest upload ) and
Playlist Details ( a picked playlist ). While a channel has no videos or no playlists they
show people who can add some a call to action, and in "all" mode visitors a short note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@heydemoura
heydemoura force-pushed the add/videopress-channel-empty-states branch from 3ef97e0 to 1e1d445 Compare October 20, 2026 11:29
@heydemoura
heydemoura merged commit 85d8471 into trunk Oct 20, 2026
91 checks passed
@heydemoura
heydemoura deleted the add/videopress-channel-empty-states branch October 20, 2026 11:54
@github-actions github-actions Bot added [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. and removed [Status] In Progress labels Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] VideoPress A feature to help you upload and insert videos on your site. [Package] VideoPress [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. [Tests] Includes Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant