Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
b42f5aa
HDPI-6424: Add Wiremock mapping for RD professional API
scottstewart-sl May 9, 2026
2519781
HDPI-6424,HDPI-6023: Gen app LR journey - select party and applicatio…
scottstewart-sl May 9, 2026
2c9c288
HDPI-6424: Remove space in content
scottstewart-sl May 9, 2026
6b18352
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
scottstewart-sl May 11, 2026
0dd0a12
HDPI-6424: Exclude gen app domain classes from duplicate detection
scottstewart-sl May 11, 2026
4ebb354
HDPI-6424: Exclude gen app domain classes from duplicate detection
scottstewart-sl May 11, 2026
15764b6
HDPI-6424: Adding missing question mark in page heading
scottstewart-sl May 11, 2026
6b415e3
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
scottstewart-sl May 11, 2026
c44ee5e
HDPI-6424: Try workaround for docker compose containers
scottstewart-sl May 11, 2026
4ac3d46
Merge remote-tracking branch 'origin/master' into HDPI-6424_exui_gen_…
scottstewart-sl May 12, 2026
07aa028
Merge remote-tracking branch 'origin/master' into HDPI-6424_exui_gen_…
scottstewart-sl May 13, 2026
dca8e0f
HDPI-6424: Update page order and logic for showing Select Party page
scottstewart-sl May 13, 2026
2502d04
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
scottstewart-sl May 13, 2026
8050b97
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
scottstewart-sl May 14, 2026
59eba15
HDPI-4573: Fix applicant party used in generated submission PDF
scottstewart-sl May 14, 2026
cd475b2
HDPI-4573: Handle single represented party and add placeholder screens
scottstewart-sl May 14, 2026
be8e752
HDPI-6528: Add Start screens with fee lookup for professional Gen App
scottstewart-sl May 15, 2026
b5e708e
Merge branch 'master' into HDPI-6528_exui_gen_app_interstitials_and_fees
scottstewart-sl May 15, 2026
313ebbd
HDPI-6528: Add some placeholder screens
scottstewart-sl May 15, 2026
1b152f6
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
scottstewart-sl May 15, 2026
68cd59f
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
scottstewart-sl May 15, 2026
caa692e
HDPI-6028: Help with Fees screens
scottstewart-sl May 16, 2026
24f3580
HDPI-6028: Gen app - have other parties agreed screens
scottstewart-sl May 16, 2026
94e445d
HDPI-6028: Fix unit test
scottstewart-sl May 16, 2026
638ab00
Merge remote-tracking branch 'origin/HDPI-6028_help_paying_fee' into …
scottstewart-sl May 16, 2026
2d1aacb
HDPI-6030: Gen app - What Order Wanted screen
scottstewart-sl May 16, 2026
d42cf30
HDPI-6032: Gen app - Which Language screen
scottstewart-sl May 16, 2026
7f60932
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
srinijg May 19, 2026
3e8149e
HDPI-6028: Gen app - HWF content tweaks
scottstewart-sl May 19, 2026
b8eff3b
HDPI-6528: Gen app - start screens content tweaks
scottstewart-sl May 19, 2026
bb11b65
HDPI-6030: Gen app - what order content tweaks
scottstewart-sl May 19, 2026
20f320b
HDPI-6424: Fix merge issues
scottstewart-sl May 19, 2026
e62b8de
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
scottstewart-sl May 19, 2026
883d8f8
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
scottstewart-sl May 19, 2026
bf93838
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 19, 2026
78b0a49
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 19, 2026
3d5ea6b
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 19, 2026
c4ebfae
HDPI-6028: Remove comment accidentally left in
scottstewart-sl May 19, 2026
ee0dbd0
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 19, 2026
06b9f36
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 19, 2026
f664b4c
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 19, 2026
0292c24
Hdpi 6432 automation (#1849)
srinijg May 20, 2026
1f9b286
HDPI-6528: Gen app - start screens content tweaks
scottstewart-sl May 20, 2026
f22dbf4
HDPI-6528: Gen app - more start screens content tweaks
scottstewart-sl May 20, 2026
fa2cfa9
HDPI-6032: Gen app - add missing language field label
scottstewart-sl May 20, 2026
9038700
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
scottstewart-sl May 20, 2026
bc4e8b7
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
scottstewart-sl May 20, 2026
e2cfc77
HDPI-6028: Update label name and test name
scottstewart-sl May 20, 2026
ba584cc
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 20, 2026
a8da896
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 20, 2026
2ee49bd
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 20, 2026
c0ae23d
Update ExUI chart to 1.0.44
scottstewart-sl May 21, 2026
dbc0d40
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] May 21, 2026
3b042c8
Update ccd chart to 9.2.3
scottstewart-sl May 21, 2026
4e7f93c
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
srinijg May 21, 2026
77e3563
Revert Xui chart to 1.0.39
scottstewart-sl May 21, 2026
892f837
Merge branch 'master' into HDPI-6424_exui_gen_app_party_and_type
PadmaDeenadayalan May 21, 2026
5dff92f
Revert ccd chart to 9.2.2
scottstewart-sl May 21, 2026
dd1e0c2
HDPI-6029: Content update
scottstewart-sl May 21, 2026
adc15ef
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
marianadpereira May 21, 2026
62a2bea
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
scottstewart-sl May 21, 2026
2978daa
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
scottstewart-sl May 21, 2026
38878d0
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 21, 2026
714b89c
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 21, 2026
d35bc44
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 21, 2026
202aa36
HDPI-6023 Automation ExUI GenApps Choose your application (#1857)
PadmaDeenadayalan May 21, 2026
ea1eedc
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
PadmaDeenadayalan May 21, 2026
e7278fd
Hdpi 6424 automation (#1862)
srinijg May 21, 2026
0e362b7
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
PadmaDeenadayalan May 21, 2026
c64ba2d
Merge remote-tracking branch 'origin/master' into HDPI-6424_exui_gen_…
srinijg May 21, 2026
864f0f6
missing method added
srinijg May 21, 2026
9e10eb8
Merge branch 'HDPI-6424_exui_gen_app_party_and_type' into HDPI-6528_e…
PadmaDeenadayalan May 22, 2026
33e31e4
Merge remote-tracking branch 'origin/master' into HDPI-6528_exui_gen_…
scottstewart-sl May 22, 2026
01cb53a
Merge branch 'master' into HDPI-6528_exui_gen_app_interstitials_and_fees
scottstewart-sl May 22, 2026
8643903
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
scottstewart-sl May 22, 2026
3d06c5f
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 22, 2026
2d6503a
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 22, 2026
3bf3c2b
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 22, 2026
90091ac
Merge branch 'master' into HDPI-6528_exui_gen_app_interstitials_and_fees
scottstewart-sl May 26, 2026
7acf4d2
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
scottstewart-sl May 26, 2026
1705846
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 26, 2026
d7a2613
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 26, 2026
f874fe1
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 26, 2026
307e8e3
HDPI-6528-Automation-ExUI GenApps Application Interstitial pages (#1860)
PadmaDeenadayalan May 26, 2026
29115eb
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
PadmaDeenadayalan May 26, 2026
14fbfbd
removed the PR tag from gen apps test
May 26, 2026
0fc93f3
Merge branch 'HDPI-6528_exui_gen_app_interstitials_and_fees' into HDP…
PadmaDeenadayalan May 26, 2026
0b8604d
Merge remote-tracking branch 'origin/master' into HDPI-6028_help_payi…
scottstewart-sl May 26, 2026
ed589be
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 26, 2026
236195a
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 26, 2026
0b5853f
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 26, 2026
a00d31a
HDPI-6029: Remove second space character between words in page heading
scottstewart-sl May 26, 2026
cb0d92a
Merge branch 'master' into HDPI-6028_help_paying_fee
scottstewart-sl May 26, 2026
d6db12f
Merge branch 'HDPI-6028_help_paying_fee' into HDPI-6029_other_parties…
scottstewart-sl May 26, 2026
76bbb1b
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 26, 2026
a1002f0
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 26, 2026
85d30c3
Merge branch 'master' into HDPI-6029_other_parties_agree
scottstewart-sl May 27, 2026
f7c12b8
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 27, 2026
55beb2c
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 27, 2026
82054d8
Merge branch 'master' into HDPI-6029_other_parties_agree
scottstewart-sl May 27, 2026
ef5dda5
Merge branch 'HDPI-6029_other_parties_agree' into HDPI-6030_what_orde…
scottstewart-sl May 27, 2026
4604de3
Merge branch 'HDPI-6030_what_order_and_why' into HDPI-6032_which_lang…
scottstewart-sl May 27, 2026
4ec8723
Merge branch 'master' into HDPI-6032_which_language
scottstewart-sl May 28, 2026
b3f4835
Merge branch 'master' into HDPI-6032_which_language
scottstewart-sl May 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public class XuiGenAppRequest implements GenAppRequest {

private List<ListValue<UploadedDocument>> uploadedDocuments;

@CCD(label = "Which language did you use to complete this service?")
private LanguageUsed languageUsed;

private VerticalYesNo sotAccepted;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,18 @@
import uk.gov.hmcts.reform.pcs.ccd.common.PageBuilder;
import uk.gov.hmcts.reform.pcs.ccd.domain.PCSCase;
import uk.gov.hmcts.reform.pcs.ccd.domain.State;
import uk.gov.hmcts.reform.pcs.ccd.domain.genapp.XuiGenAppRequest;

import static uk.gov.hmcts.reform.pcs.ccd.ShowConditions.NEVER_SHOW;

@Slf4j
@AllArgsConstructor
public class WhichLanguage implements CcdPageConfiguration {

private static final String PLACEHOLDER = """
<div class="govuk-notification-banner" role="region" aria-labelledby="placeholder-banner">
<div class="govuk-notification-banner__content">
<p class="govuk-notification-banner__heading" id="placeholder-banner">
Placeholder
</p>
</div>
</div>
private static final String INFO_MARKDOWN = """
<p class="govuk-body">If someone else helped you to answer a question in this service,
ask them if they answered any questions in Welsh. We’ll use this to make sure
your claim is processed correctly.</p>
""";

@Override
Expand All @@ -32,8 +29,11 @@ public void addTo(PageBuilder pageBuilder) {
.page("whichLanguage", this::midEvent)
.pageLabel("Which language did you use to complete this service?")
.label("whichLanguage-lineSeparator", "---")
.label("whichLanguage-placeholder", PLACEHOLDER)
.readonly(PCSCase::getCurrentRepresentedPartyId, NEVER_SHOW, true);
.label("whichLanguage-info", INFO_MARKDOWN)
.readonly(PCSCase::getCurrentRepresentedPartyId, NEVER_SHOW, true)
.complex(PCSCase::getXuiGenAppRequest)
.mandatory(XuiGenAppRequest::getLanguageUsed)
.done();
}

private AboutToStartOrSubmitResponse<PCSCase, State> midEvent(CaseDetails<PCSCase, State> details,
Expand Down
Loading