Skip to content

Commit be6fad3

Browse files
authored
Merge pull request #6617 from NHSDigital/next
Version 7.9.0
2 parents 6895ee5 + 4204198 commit be6fad3

378 files changed

Lines changed: 6179 additions & 4313 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/call-end-to-end-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ on:
1616
HTTP_AUTH_TOKEN_FOR_TESTS:
1717
description: HTTP Basic Auth token for the environment under test
1818
required: false
19-
MAVIS_TESTING_REPO_ACCESS_TOKEN:
20-
description: Access token for the manage-vaccinations-in-schools-testing repository
21-
required: false
2219
IMMS_API_KEY_FOR_TESTS:
2320
description: API key to use NHS Immunisations API
2421
required: false
@@ -39,7 +36,6 @@ jobs:
3936
endpoint: ${{ inputs.endpoint }}
4037
secrets:
4138
HTTP_AUTH_TOKEN_FOR_TESTS: ${{ secrets.HTTP_AUTH_TOKEN_FOR_TESTS }}
42-
MAVIS_TESTING_REPO_ACCESS_TOKEN: ${{ secrets.MAVIS_TESTING_REPO_ACCESS_TOKEN }}
4339
IMMS_API_KEY: ${{ secrets.IMMS_API_KEY_FOR_TESTS }}
4440
IMMS_API_KID: ${{ secrets.IMMS_API_KID_FOR_TESTS }}
4541
IMMS_API_PEM: ${{ secrets.IMMS_API_PEM_FOR_TESTS }}

.github/workflows/end-to-end-tests-aws.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ on:
1212
type: string
1313
required: false
1414
default: next
15-
secrets:
16-
HTTP_AUTH_TOKEN_FOR_TESTS:
17-
description: HTTP Basic Auth token for the environment under test
18-
required: true
19-
MAVIS_TESTING_REPO_ACCESS_TOKEN:
20-
description: Access token for the manage-vaccinations-in-schools-testing repository
21-
required: true
2215

2316
permissions: {}
2417

.github/workflows/end-to-end-tests-on-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
with:
2020
git_reference_for_database_image: ${{ github.base_ref }}
2121
git_reference_for_application_image: ${{ github.head_ref }}
22-
secrets: inherit
2322

2423
local-e2e-flow:
2524
if: github.event.pull_request.head.repo.full_name != github.repository

Gemfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ GEM
175175
protocol-websocket (~> 0.17)
176176
attr_required (1.0.2)
177177
aws-eventstream (1.4.0)
178-
aws-partitions (1.1233.0)
179-
aws-sdk-accessanalyzer (1.86.0)
178+
aws-partitions (1.1238.0)
179+
aws-sdk-accessanalyzer (1.88.0)
180180
aws-sdk-core (~> 3, >= 3.244.0)
181181
aws-sigv4 (~> 1.5)
182-
aws-sdk-cloudwatch (1.132.0)
182+
aws-sdk-cloudwatch (1.133.0)
183183
aws-sdk-core (~> 3, >= 3.244.0)
184184
aws-sigv4 (~> 1.5)
185185
aws-sdk-core (3.244.0)
@@ -190,10 +190,10 @@ GEM
190190
bigdecimal
191191
jmespath (~> 1, >= 1.6.1)
192192
logger
193-
aws-sdk-ec2 (1.610.0)
193+
aws-sdk-ec2 (1.611.0)
194194
aws-sdk-core (~> 3, >= 3.244.0)
195195
aws-sigv4 (~> 1.5)
196-
aws-sdk-ecr (1.124.0)
196+
aws-sdk-ecr (1.125.0)
197197
aws-sdk-core (~> 3, >= 3.244.0)
198198
aws-sigv4 (~> 1.5)
199199
aws-sdk-iam (1.142.0)
@@ -205,7 +205,7 @@ GEM
205205
aws-sdk-rds (1.310.0)
206206
aws-sdk-core (~> 3, >= 3.244.0)
207207
aws-sigv4 (~> 1.5)
208-
aws-sdk-s3 (1.218.0)
208+
aws-sdk-s3 (1.219.0)
209209
aws-sdk-core (~> 3, >= 3.244.0)
210210
aws-sdk-kms (~> 1)
211211
aws-sigv4 (~> 1.5)
@@ -220,7 +220,7 @@ GEM
220220
i18n
221221
bcrypt (3.1.22)
222222
benchmark (0.5.0)
223-
bigdecimal (4.1.0)
223+
bigdecimal (4.1.1)
224224
bindata (2.5.1)
225225
bindex (0.8.1)
226226
bootsnap (1.23.0)
@@ -380,11 +380,11 @@ GEM
380380
raabro (~> 1.4)
381381
globalid (1.3.0)
382382
activesupport (>= 6.1)
383-
govuk-components (6.0.0)
383+
govuk-components (6.1.0)
384384
html-attributes-utils (~> 1.0.0, >= 1.0.0)
385385
pagy (>= 6, < 10)
386-
view_component (>= 4.0, < 4.3)
387-
govuk_design_system_formbuilder (6.0.0)
386+
view_component (>= 4.0, < 4.7)
387+
govuk_design_system_formbuilder (6.1.0)
388388
actionview (>= 6.1)
389389
activemodel (>= 6.1)
390390
activesupport (>= 6.1)
@@ -493,7 +493,7 @@ GEM
493493
mime-types-data (~> 3.2025, >= 3.2025.0507)
494494
mime-types-data (3.2025.0924)
495495
mini_mime (1.1.5)
496-
minitest (6.0.2)
496+
minitest (6.0.3)
497497
drb (~> 2.0)
498498
prism (~> 1.5)
499499
msgpack (1.8.0)
@@ -560,7 +560,7 @@ GEM
560560
racc
561561
pg (1.6.3-arm64-darwin)
562562
pg (1.6.3-x86_64-linux)
563-
phonelib (0.10.17)
563+
phonelib (0.10.18)
564564
pp (0.6.3)
565565
prettyprint
566566
prettier_print (1.2.1)
@@ -879,7 +879,7 @@ GEM
879879
validate_url (1.0.15)
880880
activemodel (>= 3.0.0)
881881
public_suffix
882-
view_component (4.2.0)
882+
view_component (4.6.0)
883883
actionview (>= 7.1.0)
884884
activesupport (>= 7.1.0)
885885
concurrent-ruby (~> 1)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# frozen_string_literal: true
2+
3+
class AppActionLinkComponent < ViewComponent::Base
4+
erb_template <<-ERB
5+
<%= link_to @href, class: "nhsuk-action-link", **@options do %>
6+
<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">
7+
<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>
8+
</svg>
9+
<span class="nhsuk-action-link__text"><%= @text %></span>
10+
<% end %>
11+
ERB
12+
13+
def initialize(text:, href:, **options)
14+
@text = text
15+
@href = href
16+
@options = options
17+
@options[:class] = ["nhsuk-action-link", options[:class]].compact.join(" ")
18+
end
19+
end

app/components/app_import_format_details_component.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<%= govuk_details(summary_text:) do %>
1+
<%= govuk_details(summary_text: "What your CSV file must include") do %>
22
<p>Make sure the CSV you upload uses the following columns:</p>
33

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

0 commit comments

Comments
 (0)