Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
5be6caf
Parse the `doseNumberString` field from the Imms API
alistair-white-horne-tng Mar 31, 2026
961b505
Change wording on cutoff banner
alistair-white-horne-tng Apr 2, 2026
69cfb69
Show banner on dates <= cutoff instead of only == cutoff
alistair-white-horne-tng Apr 2, 2026
441ed35
Update vaccine detail page
paulrobertlloyd Apr 7, 2026
9474a7f
Change NIVS switch-off date to 2 days after cutoff
alistair-white-horne-tng Apr 2, 2026
8f25a43
Programmes can have a name on NHS.uk
benilovj Apr 3, 2026
5420246
Enable ERB trim mode for notify template body rendering
benilovj Apr 3, 2026
845e108
Add ProgrammesHelper#programme_name_for_parents
benilovj Apr 5, 2026
94df705
Add VaccinesHelper#vaccine_side_effects_list
benilovj Apr 5, 2026
fc30da6
Add VaccinationRecordsHelper date formatting methods
benilovj Apr 5, 2026
aa11c19
Add VaccinesHelper#vaccine_method
benilovj Apr 5, 2026
a4fa396
Add TeamsHelper for team/subteam contact details
benilovj Apr 5, 2026
3f6838e
Add ProgrammeStatus#needs_more_doses? and helper
benilovj Apr 5, 2026
6f3dc47
Add ProgrammesHelper#programme_disease_names with i18n lookup
benilovj Apr 5, 2026
b4d5b4d
Unify 5 vaccination_administered email templates into 1
benilovj Apr 3, 2026
50740cc
Extend view helpers to other vaccination outcome templates
benilovj Apr 3, 2026
106f310
Remove mmr_second_dose_message from GovukNotifyPersonalisation
benilovj Apr 5, 2026
9be5349
Remove mmr_second_dose_required alias method
benilovj Apr 5, 2026
b1aa37b
Remove unused personalisation methods
benilovj Apr 5, 2026
f6ae651
Fix remaining references to old per-programme template names in specs
benilovj Apr 6, 2026
c73e933
Show manufacturer and SNOMED code for each vaccine on vaccines page
paulrobertlloyd Apr 7, 2026
20c7d81
Add action link component
paulrobertlloyd Apr 7, 2026
9e27ee0
Use new action link component for ‘Add a new batch’ link on vaccines …
paulrobertlloyd Apr 7, 2026
4c55fef
Use action link component for ‘Add new PSDs’ link
paulrobertlloyd Apr 7, 2026
93ad524
Change ‘Children’ session navigation label to ‘Children in session’
paulrobertlloyd Apr 9, 2026
e9326db
Rename `school` location type
thomasleese Mar 24, 2026
8014888
Add location school scope and predicate
thomasleese Mar 24, 2026
5f24dfa
Reformat feature flags config
thomasleese Apr 7, 2026
a331182
Add `vaccinating_16_plus_year_olds` feature flag
thomasleese Apr 7, 2026
1a03c65
Add year 12 and 13 to `Programme#default_year_groups`
thomasleese Apr 7, 2026
eb11a15
Add `import_default_programme_year_groups` Rake task
thomasleese Apr 7, 2026
6dd2ca2
Add test to ensure over 16s are eligible
thomasleese Apr 7, 2026
4d99bb6
Remove `SchoolMove` `team_id` and `home_educated` columns
thomasleese Mar 19, 2026
e81dc0b
Merge pull request #6513 from NHSDigital/MAV-5749-unify-vaccination_a…
benilovj Apr 10, 2026
5ae9498
Merge pull request #6414 from NHSDigital/rename-school-location-type
benilovj Apr 10, 2026
675d142
Merge pull request #6375 from NHSDigital/simplify-school-move-columns-2
benilovj Apr 10, 2026
1ac6100
Merge pull request #6514 from NHSDigital/add-year-12-13-to-programmes
benilovj Apr 10, 2026
1b9f244
Fix factory reference in spec
benilovj Apr 10, 2026
3b712f0
Merge pull request #6555 from NHSDigital/fix-spec-with-incorrect-factory
benilovj Apr 10, 2026
7b32460
Extract session date logic into `GovukNotifyPersonalisation::SessionD…
jhenderson Apr 9, 2026
4730881
Extract session date logic into `GovukNotifyPersonalisation::ConsentD…
jhenderson Apr 9, 2026
ef94881
Extract session date logic into `GovukNotifyPersonalisation::Vaccinat…
jhenderson Apr 10, 2026
6115d77
Extract session date logic into `GovukNotifyPersonalisation::MmrDetai…
jhenderson Apr 9, 2026
8d39e6c
Extract session date logic into `GovukNotifyPersonalisation::TriageDe…
jhenderson Apr 9, 2026
d87fde6
Merge pull request #6549 from NHSDigital/refactor-govuk-notify-person…
benilovj Apr 10, 2026
34f3a54
Bump govuk-components from 6.0.0 to 6.1.0
dependabot[bot] Apr 9, 2026
16f0b2a
Bump esbuild from 0.27.4 to 0.28.0
dependabot[bot] Apr 10, 2026
68539d0
Bump aws-sdk-cloudwatch from 1.132.0 to 1.133.0
dependabot[bot] Apr 9, 2026
dfdefd4
Bump lodash in the npm_and_yarn group across 1 directory
dependabot[bot] Apr 10, 2026
b3b18c3
Bump sass from 1.98.0 to 1.99.0
dependabot[bot] Apr 10, 2026
315a455
Merge pull request #6534 from NHSDigital/dependabot/bundler/next/govu…
thomasleese Apr 13, 2026
7bef1ea
Merge pull request #6551 from NHSDigital/dependabot/bundler/next/aws-…
thomasleese Apr 13, 2026
1162dcc
Merge pull request #6550 from NHSDigital/dependabot/npm_and_yarn/next…
thomasleese Apr 13, 2026
08119f0
Merge pull request #6556 from NHSDigital/dependabot/npm_and_yarn/next…
thomasleese Apr 13, 2026
efac587
Merge pull request #6552 from NHSDigital/dependabot/npm_and_yarn/npm_…
thomasleese Apr 13, 2026
60e5e24
Merge pull request #6544 from NHSDigital/content-children-in-session
thomasleese Apr 13, 2026
9ccbd45
Bump govuk_design_system_formbuilder from 6.0.0 to 6.1.0
dependabot[bot] Apr 9, 2026
6aee05e
Merge pull request #6535 from NHSDigital/dependabot/bundler/next/govu…
thomasleese Apr 13, 2026
defc1de
Merge pull request #6481 from NHSDigital/alistair/imms-api-improve-do…
alistair-white-horne-tng Apr 13, 2026
9a59d10
Merge pull request #6504 from NHSDigital/alistair/national-reporting-…
alistair-white-horne-tng Apr 13, 2026
142504c
Merge pull request #6505 from NHSDigital/alistair/national-reporting-…
alistair-white-horne-tng Apr 13, 2026
25e876a
Implement logic needs consent status request scheduled/not scheduled
jhenderson Mar 27, 2026
e8e9f94
Consume performer display name from Imms record
jf-x-dev Mar 30, 2026
ab9b5f5
Remove input secrets from AWS E2E workflow
zoltan-antal Apr 9, 2026
8880a0f
Remove unused MAVIS_TESTING_REPO_ACCESS_TOKEN secret from E2E call
zoltan-antal Apr 9, 2026
235cb1d
Add public vaccination records scope method to automated Careplus exp…
jf-x-dev Mar 31, 2026
a71b8ea
Add new from_records method to Careplus Exporter
jf-x-dev Apr 9, 2026
6af735f
Allow automated careplus export CLI tool to save export data
jf-x-dev Mar 31, 2026
174031b
Merge pull request #6468 from NHSDigital/needs-consent-sub-statuses-s…
jhenderson Apr 13, 2026
55a52e2
Merge pull request #6462 from NHSDigital/record-performer-display-in-…
jf-x-dev Apr 13, 2026
30a1973
Add columns for Imms API SNOMED procedure code and term to Vaccinatio…
jf-x-dev Apr 8, 2026
d23ad7f
Add "do not want vaccination at school" as a consent refusal reason
murugapl Mar 25, 2026
ef373fb
Merge pull request #6517 from NHSDigital/5896-align-vaccine-pages
thomasleese Apr 13, 2026
ce7a00d
Merge pull request #6431 from NHSDigital/add-dont-want-vaccination-at…
murugapl Apr 13, 2026
81f44b3
Merge pull request #6463 from NHSDigital/add-snomed-procedure-imms-ap…
jf-x-dev Apr 13, 2026
9384e21
Merge pull request #6538 from NHSDigital/fix-dependabot-pr-e2e-tests
zoltan-antal Apr 13, 2026
1f1f1e0
Remove unneeded HTTP_AUTH_TOKEN_FOR_TESTS secret from E2E call
zoltan-antal Apr 9, 2026
fcebc6d
Merge pull request #6558 from NHSDigital/fix-dependabot-pr-e2e-tests-…
zoltan-antal Apr 13, 2026
62f5be2
Split vaccinations_given by school and community
mikejamesthompson Apr 13, 2026
234e31c
Merge pull request #6484 from NHSDigital/split-vax-reporting
mikejamesthompson Apr 13, 2026
6a28ff4
Pass HTTP_AUTH_TOKEN_FOR_TESTS to e2e workflow again
zoltan-antal Apr 13, 2026
d36abb7
Refactor export scope
jf-x-dev Apr 13, 2026
9e16d9e
Remove update action from import controllers
misaka Mar 27, 2026
63a9311
Merge pull request #6561 from NHSDigital/fix-cd-e2e-tests
TheOneFromNorway Apr 13, 2026
1a1326f
Remove `AppParentSummaryComponent`
thomasleese Apr 13, 2026
08d49e1
Fix school session filtering
thomasleese Apr 13, 2026
856a591
Merge pull request #6562 from NHSDigital/remove-app-parent-summary-co…
thomasleese Apr 13, 2026
51bf616
Merge pull request #6565 from NHSDigital/fix-school-filter
thomasleese Apr 13, 2026
7bd4b6c
Wrap database changes in transaction
jf-x-dev Apr 13, 2026
2533322
Fix bugs around user-supplied config not being properly applied
samcoy3 Mar 19, 2026
61d8df6
Disallow ops users from viewing PII for restricted patients
samcoy3 Mar 19, 2026
aa9fce5
Move Imms API search response fixtures into their own folder
alistair-white-horne-tng Apr 9, 2026
585302c
Rewrite `Search...Job` specs to perform a real first run
alistair-white-horne-tng Apr 9, 2026
992f985
Fix `with_discarded` bug in Imms API search job
alistair-white-horne-tng Apr 9, 2026
d54b8da
Make sure duplicate_of_vaccination_record is persisted
alistair-white-horne-tng Apr 9, 2026
b9d5bcc
Disallow PII access to restricted patients in ops tools
samcoy3 Apr 13, 2026
d00d8da
Merge pull request #6548 from NHSDigital/alistair/imms-api-fix-duplic…
alistair-white-horne-tng Apr 13, 2026
27a2a23
Merge pull request #6478 from NHSDigital/record-careplus-exports-in-db
jf-x-dev Apr 13, 2026
3461087
Only include programmes in the CareplusExport if they exist in the ex…
jf-x-dev Apr 13, 2026
a13f36a
Do not create Careplus Exports unless at least one record is present
jf-x-dev Apr 13, 2026
91ac5a5
Merge pull request #6485 from NHSDigital/only-include-present-program…
jf-x-dev Apr 13, 2026
79b9544
Bump phonelib from 0.10.17 to 0.10.18
dependabot[bot] Apr 13, 2026
c9962ee
Merge pull request #6566 from NHSDigital/dependabot/bundler/next/phon…
thomasleese Apr 14, 2026
a2ca790
Bump aws-sdk-accessanalyzer from 1.86.0 to 1.87.0
dependabot[bot] Apr 13, 2026
1f2624e
Merge pull request #6567 from NHSDigital/dependabot/bundler/next/aws-…
thomasleese Apr 14, 2026
4f53012
Merge pull request #6563 from NHSDigital/remove-unused-update
misaka Apr 14, 2026
8e2d529
Change "more" to "less" in `ImmImportRow` validation errors
alistair-white-horne-tng Apr 14, 2026
c8df320
Merge pull request #6569 from NHSDigital/alistair/imms-import-more-less
alistair-white-horne-tng Apr 14, 2026
5fa8c75
Add columns for saving the reason code and term from the Imms API
alistair-white-horne-tng Mar 31, 2026
b8f5d85
Populate the reason code and term columns from a FHIR record
alistair-white-horne-tng Mar 31, 2026
6d400d0
Merge pull request #6476 from NHSDigital/alistair/imms-api-save-reaso…
alistair-white-horne-tng Apr 14, 2026
f8f7a10
Create onboarding files for april MNR
MartinVanIJcken Apr 9, 2026
312d5af
Add national_reporting_cut_off_date and fix team names
MartinVanIJcken Apr 14, 2026
6249286
Add columns for product code and term from Imms API records
alistair-white-horne-tng Apr 7, 2026
d803c18
Add `...recorded_at` column to save Imms API `recorded` value
alistair-white-horne-tng Mar 31, 2026
f0081a2
Save product code and term from Imms API records
alistair-white-horne-tng Apr 7, 2026
74462d8
Save `recorded` field from FHIR records
alistair-white-horne-tng Mar 31, 2026
8d5e719
Remove product code and term from notes
alistair-white-horne-tng Apr 7, 2026
facbf1c
Merge pull request #6477 from NHSDigital/alistair/imms-api-save-recorded
alistair-white-horne-tng Apr 14, 2026
ab2487b
Merge pull request #6524 from NHSDigital/alistair/imms-api-save-produ…
alistair-white-horne-tng Apr 14, 2026
d1c3951
Change support organisation in staging environment
samcoy3 Apr 14, 2026
3dfc97a
Change support organisation in staging environment
samcoy3 Apr 14, 2026
c785c74
Ignore completed sessions when deriving consent request status
jhenderson Apr 14, 2026
f807fb4
Merge pull request #6572 from NHSDigital/fix-consent-status-no-active…
jhenderson Apr 14, 2026
15fd7d3
Remove hardcoded batch size from `find_in_batches` in `PatientStatusU…
jhenderson Apr 14, 2026
7340e60
Tighten second dose triage email assertion to cover subject and content
benilovj Apr 14, 2026
67594a9
Add template spec for triage second dose email covering MMR and MMRV
benilovj Apr 14, 2026
4a36294
Use dynamic programme name in triage second dose email template
benilovj Apr 14, 2026
04f4148
Use dynamic dose labels in triage second dose email template
benilovj Apr 14, 2026
6541efc
Replace personalisation methods with view helpers and direct model ac…
benilovj Apr 14, 2026
ac6752b
Replace next_session_dates with session_future_dates view helper
benilovj Apr 14, 2026
f8c9bd4
Merge pull request #6581 from NHSDigital/MAV-6069-fix-mmrv-triage-email
benilovj Apr 14, 2026
17f678c
Bump aws-sdk-s3 from 1.218.0 to 1.219.0
dependabot[bot] Apr 14, 2026
1af0310
Bump aws-sdk-accessanalyzer from 1.87.0 to 1.88.0
dependabot[bot] Apr 14, 2026
e57feb9
Merge pull request #6589 from NHSDigital/dependabot/bundler/next/aws-…
thomasleese Apr 15, 2026
5dd9135
Merge pull request #6591 from NHSDigital/dependabot/bundler/next/aws-…
thomasleese Apr 15, 2026
14f0073
Bump aws-sdk-ec2 from 1.610.0 to 1.611.0
dependabot[bot] Apr 15, 2026
b7807ca
Merge pull request #6590 from NHSDigital/dependabot/bundler/next/aws-…
thomasleese Apr 15, 2026
9f54d22
Improve content on vaccination record upload page
alistair-white-horne-tng Apr 14, 2026
ab76dfa
Merge pull request #6553 from NHSDigital/onboarding-for-mnr-april
MartinVanIJcken Apr 15, 2026
67e6b4e
Merge pull request #6578 from NHSDigital/alistair/imports-help-text-c…
alistair-white-horne-tng Apr 15, 2026
9800a70
Merge pull request #6579 from NHSDigital/performance-boost-programme-…
jhenderson Apr 15, 2026
06eadc0
Fix programme name not showing on reason for refusal notes
paulrobertlloyd Apr 15, 2026
cc63440
Merge pull request #6595 from NHSDigital/bug-reason-for-refusal-notes
thomasleese Apr 15, 2026
a08ac84
Order vaccines alphabetically in help message
thomasleese Apr 15, 2026
7df5a31
Merge pull request #6597 from NHSDigital/import-issues-vaccine-ordering
thomasleese Apr 15, 2026
3e02c20
Fix consent status after moving a child to home education
jhenderson Apr 15, 2026
5d69b6b
Fix PII banner for ops tools
samcoy3 Apr 15, 2026
3cb603f
Small tidy ups to local authority models
thomasleese Apr 15, 2026
707ec00
Fix PII banner for ops tools
samcoy3 Apr 15, 2026
99017e3
Merge pull request #6600 from NHSDigital/tidy-up-local-authority-post…
thomasleese Apr 15, 2026
e1f8cf3
Optimise call to status updater in imms import
misaka Apr 15, 2026
db93f35
Fix invalid tag color in timeline
samcoy3 Apr 15, 2026
bd68175
Add failing spec for vaccination_already_had email with nil session
benilovj Apr 15, 2026
dd5cff7
Fix vaccination_already_had template error when session is nil
benilovj Apr 15, 2026
6f36301
Validate team_contact_* helpers receive exactly one argument
benilovj Apr 15, 2026
8da1381
Merge pull request #6601 from NHSDigital/MAV-6064-vaccination-already…
benilovj Apr 15, 2026
929515b
Merge pull request #6604 from NHSDigital/optimise-imms-import-status-…
misaka Apr 15, 2026
37e3b42
Fix invalid tag color in timeline
samcoy3 Apr 15, 2026
8079c8d
Handle past consent request dates for active sessions
jhenderson Apr 14, 2026
8d29e82
Merge pull request #6577 from NHSDigital/fix-consent-status-after-ses…
jhenderson Apr 15, 2026
d65ca65
Merge pull request #6598 from NHSDigital/fix-programme-status-after-s…
jhenderson Apr 15, 2026
47a34b6
Bump aws-sdk-ecr from 1.124.0 to 1.125.0
dependabot[bot] Apr 15, 2026
b7db76d
Merge pull request #6607 from NHSDigital/dependabot/bundler/next/aws-…
thomasleese Apr 15, 2026
fabcd4c
Only dedupe against `administered` in Imms API search job
alistair-white-horne-tng Apr 16, 2026
2e02dad
Merge pull request #6608 from NHSDigital/alistair/imms-api-dedupe-aga…
alistair-white-horne-tng Apr 16, 2026
66242ee
Revert "Handle past consent request dates for active sessions"
jhenderson Apr 16, 2026
f6e6b7f
One further upload format tweak
alistair-white-horne-tng Apr 16, 2026
38676ac
Revert "Fix consent status after moving a child to home education"
jhenderson Apr 16, 2026
a80208a
Revert "Ignore completed sessions when deriving consent request status"
jhenderson Apr 16, 2026
29460d4
Revert "Implement logic needs consent status request scheduled/not sc…
jhenderson Apr 16, 2026
b3d4c1e
Merge pull request #6610 from NHSDigital/alistair/imports-help-text-c…
alistair-white-horne-tng Apr 16, 2026
4204198
Merge pull request #6611 from NHSDigital/revert-needs-consent-sub-sta…
jhenderson Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .github/workflows/call-end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ on:
HTTP_AUTH_TOKEN_FOR_TESTS:
description: HTTP Basic Auth token for the environment under test
required: false
MAVIS_TESTING_REPO_ACCESS_TOKEN:
description: Access token for the manage-vaccinations-in-schools-testing repository
required: false
IMMS_API_KEY_FOR_TESTS:
description: API key to use NHS Immunisations API
required: false
Expand All @@ -39,7 +36,6 @@ jobs:
endpoint: ${{ inputs.endpoint }}
secrets:
HTTP_AUTH_TOKEN_FOR_TESTS: ${{ secrets.HTTP_AUTH_TOKEN_FOR_TESTS }}
MAVIS_TESTING_REPO_ACCESS_TOKEN: ${{ secrets.MAVIS_TESTING_REPO_ACCESS_TOKEN }}
IMMS_API_KEY: ${{ secrets.IMMS_API_KEY_FOR_TESTS }}
IMMS_API_KID: ${{ secrets.IMMS_API_KID_FOR_TESTS }}
IMMS_API_PEM: ${{ secrets.IMMS_API_PEM_FOR_TESTS }}
7 changes: 0 additions & 7 deletions .github/workflows/end-to-end-tests-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ on:
type: string
required: false
default: next
secrets:
HTTP_AUTH_TOKEN_FOR_TESTS:
description: HTTP Basic Auth token for the environment under test
required: true
MAVIS_TESTING_REPO_ACCESS_TOKEN:
description: Access token for the manage-vaccinations-in-schools-testing repository
required: true

permissions: {}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/end-to-end-tests-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
with:
git_reference_for_database_image: ${{ github.base_ref }}
git_reference_for_application_image: ${{ github.head_ref }}
secrets: inherit

local-e2e-flow:
if: github.event.pull_request.head.repo.full_name != github.repository
Expand Down
26 changes: 13 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ GEM
protocol-websocket (~> 0.17)
attr_required (1.0.2)
aws-eventstream (1.4.0)
aws-partitions (1.1233.0)
aws-sdk-accessanalyzer (1.86.0)
aws-partitions (1.1238.0)
aws-sdk-accessanalyzer (1.88.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sigv4 (~> 1.5)
aws-sdk-cloudwatch (1.132.0)
aws-sdk-cloudwatch (1.133.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sigv4 (~> 1.5)
aws-sdk-core (3.244.0)
Expand All @@ -190,10 +190,10 @@ GEM
bigdecimal
jmespath (~> 1, >= 1.6.1)
logger
aws-sdk-ec2 (1.610.0)
aws-sdk-ec2 (1.611.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sigv4 (~> 1.5)
aws-sdk-ecr (1.124.0)
aws-sdk-ecr (1.125.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sigv4 (~> 1.5)
aws-sdk-iam (1.142.0)
Expand All @@ -205,7 +205,7 @@ GEM
aws-sdk-rds (1.310.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.218.0)
aws-sdk-s3 (1.219.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
Expand All @@ -220,7 +220,7 @@ GEM
i18n
bcrypt (3.1.22)
benchmark (0.5.0)
bigdecimal (4.1.0)
bigdecimal (4.1.1)
bindata (2.5.1)
bindex (0.8.1)
bootsnap (1.23.0)
Expand Down Expand Up @@ -380,11 +380,11 @@ GEM
raabro (~> 1.4)
globalid (1.3.0)
activesupport (>= 6.1)
govuk-components (6.0.0)
govuk-components (6.1.0)
html-attributes-utils (~> 1.0.0, >= 1.0.0)
pagy (>= 6, < 10)
view_component (>= 4.0, < 4.3)
govuk_design_system_formbuilder (6.0.0)
view_component (>= 4.0, < 4.7)
govuk_design_system_formbuilder (6.1.0)
actionview (>= 6.1)
activemodel (>= 6.1)
activesupport (>= 6.1)
Expand Down Expand Up @@ -493,7 +493,7 @@ GEM
mime-types-data (~> 3.2025, >= 3.2025.0507)
mime-types-data (3.2025.0924)
mini_mime (1.1.5)
minitest (6.0.2)
minitest (6.0.3)
drb (~> 2.0)
prism (~> 1.5)
msgpack (1.8.0)
Expand Down Expand Up @@ -560,7 +560,7 @@ GEM
racc
pg (1.6.3-arm64-darwin)
pg (1.6.3-x86_64-linux)
phonelib (0.10.17)
phonelib (0.10.18)
pp (0.6.3)
prettyprint
prettier_print (1.2.1)
Expand Down Expand Up @@ -879,7 +879,7 @@ GEM
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
view_component (4.2.0)
view_component (4.6.0)
actionview (>= 7.1.0)
activesupport (>= 7.1.0)
concurrent-ruby (~> 1)
Expand Down
19 changes: 19 additions & 0 deletions app/components/app_action_link_component.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# frozen_string_literal: true

class AppActionLinkComponent < ViewComponent::Base
erb_template <<-ERB
<%= link_to @href, class: "nhsuk-action-link", **@options do %>
<svg class="nhsuk-icon nhsuk-icon--arrow-right-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" focusable="false" aria-hidden="true">
<path d="M12 2a10 10 0 0 0-10 9h11.7l-4-4a1 1 0 0 1 1.5-1.4l5.6 5.7a1 1 0 0 1 0 1.4l-5.6 5.7a1 1 0 0 1-1.5 0 1 1 0 0 1 0-1.4l4-4H2A10 10 0 1 0 12 2z"></path>
</svg>
<span class="nhsuk-action-link__text"><%= @text %></span>
<% end %>
ERB

def initialize(text:, href:, **options)
@text = text
@href = href
@options = options
@options[:class] = ["nhsuk-action-link", options[:class]].compact.join(" ")
end
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= govuk_details(summary_text:) do %>
<%= govuk_details(summary_text: "What your CSV file must include") do %>
<p>Make sure the CSV you upload uses the following columns:</p>

<%= govuk_table(classes: "app-table--csv app-table--small") do |table|
Expand Down
Loading
Loading