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

UML-3676 new content about IaP #2961

Merged
merged 24 commits into from
Dec 5, 2024
Merged

UML-3676 new content about IaP #2961

merged 24 commits into from
Dec 5, 2024

Conversation

nickdavis2001
Copy link
Contributor

@nickdavis2001 nickdavis2001 commented Nov 26, 2024

Purpose

Swap instructions and preferences around to preferences and instructions in many places, add content about it also being called "restrictions and conditions"

4 tickets : UML-3676, UML-3678, UML-3688, UML-3420

Approach

A number of mods to twig files and translation files. Note a couple of places I have removed code behind a no longer needed feature flag.

Checklist

  • I have performed a self-review of my own code
  • I have added relevant logging with appropriate levels to my code
  • New event_codes have been documented on the wiki page
  • I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
  • I have added tests to prove my work
  • I have added welsh translation tags and updated translation files
  • I have run an accessibility tool on any pages I have made changes to and fixed any issues found
  • I have notified the Interaction Designer of any content changes so that appropriate screenshots/flow diagram changes can be made
  • The product team have tested these changes

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.91%. Comparing base (f00760a) to head (77b575a).
Report is 178 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #2961      +/-   ##
============================================
+ Coverage     91.25%   91.91%   +0.65%     
- Complexity     1504     1779     +275     
============================================
  Files           309      389      +80     
  Lines          6393     8233    +1840     
============================================
+ Hits           5834     7567    +1733     
- Misses          542      649     +107     
  Partials         17       17              
Flag Coverage Δ
use-an-lpa-admin 78.85% <ø> (-0.41%) ⬇️
use-an-lpa-api 97.28% <ø> (-0.09%) ⬇️
use-an-lpa-front 90.69% <ø> (+1.15%) ⬆️

see 208 files with indirect coverage changes

@github-actions github-actions bot added the php Pull requests that update Php code label Nov 27, 2024
</h1>
</div>

<div class="govuk-grid-column-two-thirds">
{% if feature_enabled('instructions_and_preferences') %}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note - removed logic that shows different text if feature is NOT enabled, as it is always enabled now.

@nickdavis2001 nickdavis2001 marked this pull request as ready for review December 2, 2024 16:23
@nickdavis2001 nickdavis2001 requested a review from a team as a code owner December 2, 2024 16:23
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't need to commit this.

{% elseif lpa.applicationHasRestrictions %}
{% trans %}This LPA has instructions{% endtrans %}
{% trans %}This LPA has instructions (sometimes known as “restrictions and conditions”){% endtrans %}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this is what Sarah wants, with reason, even if it looks slightly odd

cooperaj
cooperaj previously approved these changes Dec 5, 2024
service-front/app/README.md Outdated Show resolved Hide resolved
@nickdavis2001 nickdavis2001 merged commit 682a055 into main Dec 5, 2024
34 checks passed
@nickdavis2001 nickdavis2001 deleted the UML-3676-content branch December 5, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
php Pull requests that update Php code service-front
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants