-
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-5434: CYA update - convert existing summary lists to cards #7406
AP-5434: CYA update - convert existing summary lists to cards #7406
Conversation
app/views/providers/proceeding_merits_task/check_who_client_is/show.html.erb
Show resolved
Hide resolved
0aa685e
to
f2c6fda
Compare
) %> | ||
</dl> | ||
<%= govuk_summary_list(card: { title: heading }, | ||
actions: false, |
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.
If this is check_answers, should they not have change links?
I'd expect the reports to not have change links.
The deleted code had <% read_only = false unless local_assigns.key?(:read_only) %>
to check
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.
@colinbruce Looks like the only place this is ever called is in partials in the means report, which is why change links are gone. With that in mind, do you think this partial would be better off in the /means_reports
folder instead?
@@ -0,0 +1,26 @@ | |||
<section> | |||
<% partner = @legal_aid_application.applicant.has_partner_with_no_contrary_interest? %> |
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.
minor nit pick: this could be clearer as partner?
to show it's a boolean check
Further down it reads as partner object
if partner && !partner_exclude_items.include?(item.value_method)
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.
Slightly 🤯 but nothing serious in my review...
I think UAT will be the proof in the pudding on this one though! 😄
29f4827
to
40e1b86
Compare
40e1b86
to
d6c0621
Compare
c4c4951
to
922708b
Compare
d8c1957
to
de31bdc
Compare
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.
Reviewed additional changes - 👍
As some summary lists weren't being used in a standard way, more work needed to be done on this commit to update them.
Remove unused partials and associated locales values Remove redundant logic
Address issues found in testing
de31bdc
to
85667de
Compare
Quality Gate passedIssues Measures |
What
Link to story
NB. Feature test in features/providers/partner_means_assessment/means_report.feature has been updated and is offering the same test coverage as before. There is a bug (AP-5479) which has been raised and when it is addressed, the values in this feature test will change
Checklist
Before you ask people to review this PR:
bundle exec rake
git rebase main
.