Skip to content

Bump CAPI model to include new video captions field - #96

Open
RikRootsGuardian wants to merge 2 commits into
mainfrom
rjr-bump-capi-model-to-include-new-video-caption-field
Open

Bump CAPI model to include new video captions field#96
RikRootsGuardian wants to merge 2 commits into
mainfrom
rjr-bump-capi-model-to-include-new-video-caption-field

Conversation

@RikRootsGuardian

@RikRootsGuardian RikRootsGuardian commented Apr 15, 2026

Copy link
Copy Markdown

What does this change?

Composer users need an easier way to update captions for video atoms. The current process of updating them in MAM is laborious and prevents us from showing different captions for the same video on different articles, which is sometimes helpful.

The work in this PR is part of a chain of PRs to add a new caption field to the atom editor in Composer. This field should:

  • Default to the Media atom's title value, set in the Media Atom Maker tool
  • Be editable within Composer
  • Allow users to clear the field, which would remove the caption entirely from videos used in an article (including standfirst videos)

See the Rethink media atom captions in Composer issue (in the Arts&Pubs project) for further details

Testing

  • All PRs in the chain are expected to pass local testing requirements specific to their repo.
  • All PRs in the chain will need to pass toolchain and CI tests required by their repo when pushing the branch to remote.

Testing plan document

Deployment

Some PRs include model pre-releases. Before deploying to PROD, these pre-releases will need to become full releases, and code in affected PRs updated to reflect these changes.

TODO: come up with an appropriate sequencing for merging and closing PRs. The PRs do not need to all be deployed at the same time, but some - such as those requiring associated releases - need to be performed before others.
TODO: complete the description for the purpose of this PR


Note: we need to do work here to try and fix a version clash in a similar PR in the apple-news repo
Screenshot 2026-04-15 at 14 22 02

@RikRootsGuardian RikRootsGuardian self-assigned this Apr 15, 2026
@RikRootsGuardian
RikRootsGuardian requested a review from a team as a code owner April 15, 2026 13:20
@RikRootsGuardian RikRootsGuardian added the feature Departmental tracking: work on a new feature label Apr 15, 2026
@RikRootsGuardian
RikRootsGuardian marked this pull request as draft April 15, 2026 13:20
gu-scala-library-release Bot added a commit that referenced this pull request Apr 15, 2026
….2026-04-15T1324.35a965c1 published by RikRootsGuardian

RikRootsGuardian published release version 2.0.0-PREVIEW.rjr-bump-capi-model-to-include-new-video-caption-field.2026-04-15T1324.35a965c1
using gha-scala-library-release-workflow: https://github.com/guardian/gha-scala-library-release-workflow

Release-Version: 2.0.0-PREVIEW.rjr-bump-capi-model-to-include-new-video-caption-field.2026-04-15T1324.35a965c1
Release-Initiated-By: https://github.com/RikRootsGuardian
Release-Workflow-Run: https://github.com/guardian/content-api-firehose-client/actions/runs/24457071027
Release-Notes: #96
@gu-scala-library-release

Copy link
Copy Markdown
Contributor

@RikRootsGuardian has published a preview version of this PR with release workflow run #43, based on commit 35a965c:

2.0.0-PREVIEW.rjr-bump-capi-model-to-include-new-video-caption-field.2026-04-15T1324.35a965c1

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the rjr-bump-capi-model-to-include-new-video-caption-field branch, or use the GitHub CLI command:

gh workflow run release.yml --ref rjr-bump-capi-model-to-include-new-video-caption-field

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

@RikRootsGuardian
RikRootsGuardian marked this pull request as ready for review May 18, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant