Skip to content

Fetch onward content for Hosted pages within an island#15737

Open
cemms1 wants to merge 3 commits intomainfrom
cemms1/hosted-onward
Open

Fetch onward content for Hosted pages within an island#15737
cemms1 wants to merge 3 commits intomainfrom
cemms1/hosted-onward

Conversation

@cemms1
Copy link
Copy Markdown
Contributor

@cemms1 cemms1 commented Apr 21, 2026

What does this change?

Implements FetchHostedOnwards as a client-side rendered component that fetches the onward data from the API endpoint and renders it using the HostedContentOnwards component

Why?

As part of the migration of Hosted Content pages from frontend-rendered to using DCR

This ties the two pieces of logic together: the frontend work (#15648) and the backend work (guardian/frontend#28718)

Screenshots

Before After
before after

@cemms1 cemms1 force-pushed the cemms1/hosted-onward branch 4 times, most recently from 1a4caab to 4546d6b Compare April 21, 2026 15:42
@cemms1 cemms1 marked this pull request as ready for review April 21, 2026 15:42
@github-actions
Copy link
Copy Markdown

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.

@cemms1 cemms1 requested a review from a team April 21, 2026 15:46
@cemms1 cemms1 added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Apr 21, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 21, 2026

@cemms1 cemms1 added the run_chromatic Runs chromatic when label is applied label Apr 21, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Apr 21, 2026
Comment thread dotcom-rendering/src/components/FetchHostedOnwards.island.tsx
Copy link
Copy Markdown
Contributor

@dskamiotis dskamiotis left a comment

Choose a reason for hiding this comment

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

This looks like a great iteration to me happy to apporve 👍

cemms1 added 2 commits April 22, 2026 17:59
…d component within an Island to render onward content for hosted content pages
@cemms1 cemms1 force-pushed the cemms1/hosted-onward branch from 4546d6b to f82e7e4 Compare April 22, 2026 17:16
@cemms1 cemms1 force-pushed the cemms1/hosted-onward branch from f82e7e4 to 46cb2dd Compare April 22, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants