Skip to content

Conversation

@simonbyford
Copy link
Contributor

@simonbyford simonbyford commented Jan 20, 2026

What does this change?

Does two things:

  1. cbe96ae replaces the letterboxed prop with a more descriptive isInArticle prop. isInArticle has the opposite meaning to letterboxed so the logic was flipped around where appropriate. The reason for this change is that letterboxed was a potentially confusing term. Changing it to isInArticle also enabled the second thing...
  2. 5ea9fbc stops showing the pointer cursor when hovering over Cinemagraphs in articles

Why?

Feedback from Mat who rightly pointed out that clicking on a Cinemagraph in an article doesn't do anything and so we shouldn't give the user the impression it does.

Screenshots

no-pointer

@simonbyford simonbyford changed the title Don't display Stop showing the pointer cursor when hovering over Cinemagraphs in articles Jan 20, 2026
@simonbyford simonbyford force-pushed the update-cinemagraph-cursor branch from d7f5502 to 5ea9fbc Compare January 20, 2026 14:14
@simonbyford simonbyford added the fix Departmental tracking: fix label Jan 20, 2026
@simonbyford simonbyford marked this pull request as ready for review January 20, 2026 14:37
@github-actions
Copy link

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@simonbyford simonbyford added the run_chromatic Runs chromatic when label is applied label Jan 20, 2026
@simonbyford simonbyford added this to the Requests milestone Jan 20, 2026
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Jan 20, 2026
@groakland groakland assigned groakland and simonbyford and unassigned groakland Jan 22, 2026
/* used in custom subtitle overlays */
activeCue?: ActiveCue | null;
letterboxed: boolean;
isInArticle: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use a prop that's more descriptive of the change it will make within this component? This should now be possible given that the max-height restrictions have been removed (Again in #15119). Something like isClickable or isInteractive?

subtitleSource?: string;
subtitleSize: SubtitleSize;
letterboxed?: boolean;
isInArticle?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* height. Instead, they should be scaled and grey bars should be shown on
* either side.
*/
${!isInArticle &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer needed following #15119

@simonbyford
Copy link
Contributor Author

Thanks for the review @domlander. I think I'm overcomplicating things here. Closing in favour of #15190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Departmental tracking: fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants