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

Fix hmrc manuals heading #3464

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Fix hmrc manuals heading #3464

merged 1 commit into from
Jan 16, 2025

Conversation

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 December 4, 2024 14:56 Inactive
@catalinailie catalinailie force-pushed the draft-fix-hmrc-manuals-heading branch from 9a63bf7 to 2b11ac3 Compare December 4, 2024 15:20
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 December 4, 2024 15:20 Inactive
@catalinailie catalinailie force-pushed the draft-fix-hmrc-manuals-heading branch from 2b11ac3 to aef9c9d Compare December 18, 2024 17:05
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 December 18, 2024 17:06 Inactive
@catalinailie catalinailie force-pushed the draft-fix-hmrc-manuals-heading branch from aef9c9d to 6916dc3 Compare December 19, 2024 13:05
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 December 19, 2024 13:05 Inactive
@catalinailie catalinailie force-pushed the draft-fix-hmrc-manuals-heading branch from 6916dc3 to 7a242d2 Compare January 14, 2025 16:21
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 January 14, 2025 16:21 Inactive
@catalinailie catalinailie changed the title Draft fix hmrc manuals heading Fix hmrc manuals heading Jan 15, 2025
@catalinailie catalinailie marked this pull request as ready for review January 15, 2025 12:50
@catalinailie catalinailie force-pushed the draft-fix-hmrc-manuals-heading branch from 7a242d2 to 4379865 Compare January 15, 2025 17:10
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 January 15, 2025 17:10 Inactive
Copy link
Contributor

@beccapearce beccapearce left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@@ -13,7 +13,7 @@
<% @content_item.section_groups.each do |group| %>
<% next unless group["child_sections"].present? %>
<div class="subsection-collection">
<%= render "content_items/manuals/hmrc_sections", group: group %>
<%= render "content_items/manuals/hmrc_sections", group: group, heading: 3 %>
Copy link
Contributor

@MartinJJones MartinJJones Jan 16, 2025

Choose a reason for hiding this comment

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

non-blocking: heading could be updated to heading_level to help make it more descriptive of what it is used for, example of this approach in frontend - https://github.com/alphagov/frontend/blob/e897dc6675d8c02118be82ff08d20b92d84d7437/app/views/landing_page/blocks/_heading.html.erb#L13

Copy link
Contributor

@MartinJJones MartinJJones left a comment

Choose a reason for hiding this comment

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

Changes look good to me, nice work! 👍

Just a couple of non-blocking suggestions:

  • could use heading_level instead of heading as mentioned in the comment
  • consider adding some screenshots showing the visual changes where h2/h3 elements are now used

@catalinailie catalinailie force-pushed the draft-fix-hmrc-manuals-heading branch from 4379865 to 6a35c5d Compare January 16, 2025 09:31
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3464 January 16, 2025 09:31 Inactive
@catalinailie catalinailie merged commit a7e99cf into main Jan 16, 2025
11 checks passed
@catalinailie catalinailie deleted the draft-fix-hmrc-manuals-heading branch January 16, 2025 09:38
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.

4 participants