-
Notifications
You must be signed in to change notification settings - Fork 7
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
AP-5608: Use moj design system interrupt #7553
base: main
Are you sure you want to change the base?
Conversation
Add interrupt card styling from moj design system. Update page template helper to allow class to be added to page heading. Update view to use moj interrupt
Update to use govuk component for bullet lists and moj design system interrupt styling
6b572a8
to
0a6f35c
Compare
Remove div with class from start page which is in now deleted interrupt stylesheet. There are no obvious visual changes after deletion
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
A couple of non-blocking observations/questions
@@ -42,4 +42,4 @@ $govuk-assets-path: "/"; | |||
@import "dropzone/src/dropzone"; | |||
@import "dropzone/src/basic"; | |||
@import "providers/summary_list_action_width"; | |||
@import "primary_navigation"; | |||
@import "primary_navigation"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing blank line at end?
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".body") %></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you checked this split with design?
<li><%= t(".use_service.sca_option") %></li> | ||
<% end %> | ||
</ul> | ||
<p class="govuk-body"><%= t(".use_service.list_title") %></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't interrupt related, right? I assume you started removing maximize-text-width
and found another offender?
<li><%= bullet %></li> | ||
<% end %> | ||
</ul> | ||
<%= govuk_list list, type: :bullet, classes: "moj-interruption-card__body" %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be a one-liner now there is a single impact
<%= govuk_list list, type: :bullet, classes: "moj-interruption-card__body" if local_assigns[:list] %>
What
Link to story
Checklist
Before you ask people to review this PR:
bundle exec rake
git rebase main
.