Enable the Highlights video style for all users#112366
Draft
saroshaga wants to merge 2 commits into
Draft
Conversation
The Highlights video style previously shipped as a disabled "Coming Soon" card, unlocked only in development mode. This makes it available to everyone alongside Cinematic: the style is selectable, uses its real preview image, and no longer depends on a development-only override. Also removes the now-unused "coming soon" teaser asset and updates the style-picker tests to cover the always-available behavior. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QCeR9xAHZbWvSmS4vpvW3W
Jetpack Cloud Live (direct link)
Automattic for Agencies Live (direct link)
Dashboard Live (dotcom) (direct link)
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR makes the Highlights video style generally selectable in Image Studio by removing the prior “Coming Soon” disabled teaser state and the dev-mode-only unlock logic, so it appears alongside Cinematic using the real preview asset.
Changes:
- Enabled the Highlights video style card (real preview image, no disabled state, no dev-mode override).
- Removed the “Coming Soon”/a12s-only labeling and related gating logic from the style picker.
- Updated unit tests to assert Highlights is always available and enabled.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/image-studio/src/components/style-picker/index.tsx | Removes dev-mode gating and the disabled teaser state; Highlights is now a standard enabled video style using the real preview. |
| packages/image-studio/src/components/style-picker/index.test.tsx | Updates expectations to reflect Highlights being enabled for all users and removes tests tied to the prior disabled/dev-mode behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The style-picker test's jest.mock factory uses require('react') (jest
hoisting). The branch code-style check lints the whole file now that it's
touched, so add the repo-standard inline disable.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QCeR9xAHZbWvSmS4vpvW3W
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Enables the Highlights video style for everyone. It previously shipped as a disabled "Coming Soon" card, unlocked only in development mode; this makes it selectable alongside Cinematic, using its real preview image, with no dependency on a development-only flag.
Changes
style-picker: Highlights is now an enabled option with its real preview (removed thedisabled/ "Coming Soon" state and the dev-mode override).Testing
image-studiounit tests pass (26/26);tsc --buildand prettier clean.🤖 Generated with Claude Code