Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use heading_level param instead of is_page_heading (radio component) #2756

Merged
merged 1 commit into from
May 12, 2021

Conversation

danacotoran
Copy link
Contributor

@danacotoran danacotoran commented May 7, 2021

πŸ™…πŸ»β€β™€οΈ Do not merge, depends on alphagov/govuk_publishing_components#2051 πŸ™…πŸ»β€β™€οΈ

Simple smart answers use the radio component with the is_page_heading parameter.
Some changes are being made to remove the is_page_heading parameter, and achieve the same result using heading_level and/or heading_size instead. The reasons behind this are described in more detail in this issue.

In this particular case, is_page_heading: true can simply be replaced with heading_level: 1 without causing any visual changes.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

@bevanloon bevanloon temporarily deployed to govuk-fronte-update-rad-lxpba2 May 7, 2021 14:48 Inactive
Simple smart answers use the radio component with the is_page_heading
parameter. Some changes are being made to remove the is_page_heading
parameter, and achieve the same result using heading_level and/or
heading_size instead.
@bevanloon bevanloon temporarily deployed to govuk-fronte-update-rad-lxpba2 May 11, 2021 13:03 Inactive
@danacotoran danacotoran changed the title [DO NOT MERGE] Use heading_level param instead of is_page_heading Use heading_level param instead of is_page_heading (radio component) May 11, 2021
@owenatgov owenatgov merged commit 07db6c6 into master May 12, 2021
@owenatgov owenatgov deleted the update-radios branch May 12, 2021 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants