Skip to content

Conversation

sunnyclimber456
Copy link
Contributor

@sunnyclimber456 sunnyclimber456 commented Oct 4, 2023

What does this change?

This change adapts the ShowcaseLayout for apps. Generally, apps layouts differ from web in the following ways:

  • Apps do not show the web header and footer. Apps show their own footer
  • Apps do not show web ads. Apps show their own ads
  • Apps do not show the web onwards container
  • Apps do not render the "body end slot"
  • Apps do not show the most viewed in the footer
showcaselayout.mp4

Closes #8997

@sunnyclimber456 sunnyclimber456 added the run_chromatic Runs chromatic when label is applied label Oct 4, 2023
@sunnyclimber456 sunnyclimber456 requested a review from a team as a code owner October 4, 2023 09:41
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

@sunnyclimber456
Copy link
Contributor Author

https://github.com/guardian/mobile-apps-api/pull/2713 adds support to MAPI for articles which use the apps ShowcaseLayout.

@ioannakok
Copy link
Contributor

Is merchandising-high ad slot the same in DCAR?

PS. I really wanted to comment on the unchanged line but we'll have to wait till this one's done!

@sunnyclimber456
Copy link
Contributor Author

Is merchandising-high ad slot the same in DCAR?

PS. I really wanted to comment on the unchanged line but we'll have to wait till this one's done!

@ioannakok I don't think so- I think apps articles don't include any of the web ad slots. We only render that slot in ShowcaseLayout if renderAds === true. The condition for renderAds is renderingTarget === 'Web' && canRenderAds(article);, so merchandising-high wouldn't render for ads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotcom-rendering run_chromatic Runs chromatic when label is applied
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Showcase layout
3 participants