Skip to content

Move AudioLayout to grid#16133

Open
frederickobrien wants to merge 3 commits into
mainfrom
move-audio-layout-to-grid
Open

Move AudioLayout to grid#16133
frederickobrien wants to merge 3 commits into
mainfrom
move-audio-layout-to-grid

Conversation

@frederickobrien

@frederickobrien frederickobrien commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Following on from #15428 and #16119, this absorbs AudioLayout into the grid system. I've extracted the audio player into its own component to keep things tidy.

Open question: I started implementing it but thought it was worth asking the question. Why is the body wider for video articles than for audio ones? This only occurs at the wide breakpoint and to my mind seems needless. If we align their appearance both can be quite happily accommodated by the media grid layout.

Why?

Less code, fewer headaches, reduced existential dread.

Screenshots

Before After
before1 after1
before2 after2

@frederickobrien frederickobrien self-assigned this Jun 11, 2026
@frederickobrien frederickobrien added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Jun 11, 2026
@frederickobrien frederickobrien added this to the Interactives milestone Jun 11, 2026
@frederickobrien frederickobrien force-pushed the move-audio-layout-to-grid branch from d8a8ce0 to 7ab3d37 Compare June 11, 2026 17:01
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

@frederickobrien frederickobrien force-pushed the move-audio-layout-to-grid branch from bb701eb to 33da9a8 Compare June 23, 2026 13:30
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown

@frederickobrien frederickobrien marked this pull request as ready for review June 23, 2026 13:45
@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.

@frederickobrien frederickobrien added the run_chromatic Runs chromatic when label is applied label Jun 23, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jun 23, 2026
@frederickobrien frederickobrien requested a review from a team June 23, 2026 16:05
@frederickobrien frederickobrien force-pushed the move-audio-layout-to-grid branch from 44275d5 to 93243d7 Compare June 28, 2026 19:58
ArticleDisplay[format.display]
}Layout`}
/>
{audioData ? (

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Alternatively this fork could (should?) happen inside <MainMedia /> as the audio player here is just a different type of main media. As far as I can tell it's not used anywhere else.

@frederickobrien frederickobrien force-pushed the move-audio-layout-to-grid branch 2 times, most recently from 0bc3a39 to 76e769a Compare June 30, 2026 09:47
@frederickobrien frederickobrien added the run_chromatic Runs chromatic when label is applied label Jun 30, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jun 30, 2026
@frederickobrien frederickobrien force-pushed the move-audio-layout-to-grid branch from 76e769a to 961b98a Compare July 1, 2026 15:30
@frederickobrien frederickobrien force-pushed the move-audio-layout-to-grid branch from 961b98a to 546b54a Compare July 3, 2026 09:14
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.

1 participant