Skip to content

Prepopulate headline A - #2016

Open
emma-imber wants to merge 4 commits into
mainfrom
fp/ei/prepopulate-headline-a
Open

Prepopulate headline A#2016
emma-imber wants to merge 4 commits into
mainfrom
fp/ei/prepopulate-headline-a

Conversation

@emma-imber

@emma-imber emma-imber commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Co-authored by @Fweddi

What's changed?

Prepopulate the value of headline A using the headline field. Also adds that headline as placeholder text for the field.

prepopulate-headline-a.mov

Closes guardian/frontend#28998

@emma-imber
emma-imber requested a review from a team as a code owner July 29, 2026 14:05
@emma-imber emma-imber added the feature Departmental tracking: work on a new feature label Jul 29, 2026
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown

@abeddow91

abeddow91 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Should the field populate with headline edits included? at the moment it looks to only pull in the original headline. I assume thats expected as its using capiHeadline, but just wanted to double check

Screen.Recording.2026-07-29.at.18.16.15.mov

Base automatically changed from fp/add-variant-fields to main July 30, 2026 09:12
Fweddi and others added 3 commits July 30, 2026 10:13
Co-authored-by: Emma Imber <emma-jo.imber@guardian.co.uk>
Co-authored-by: fweddi <freddiepreece@outlook.com>
Use 'external-headline' for both headline and headlineA, but use different card headline overrides for each, to mimic real user behaviour
@Fweddi
Fweddi force-pushed the fp/ei/prepopulate-headline-a branch from 3349f34 to d3fd016 Compare July 30, 2026 09:13
…ine value

Co-authored-by: Emma Imber <emma-jo.imber@guardian.co.uk>
@Fweddi

Fweddi commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Should the field populate with headline edits included? at the moment it looks to only pull in the original headline. I assume thats expected as its using capiHeadline, but just wanted to double check

Screen.Recording.2026-07-29.at.18.16.15.mov

Thanks for spotting this @abeddow91, this should now be fixed.

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.

Fronts UI: Headline Field A / B when creating a test

3 participants