Skip to content

Commit

Permalink
toolkit release 24-06-2024 (#1744)
Browse files Browse the repository at this point in the history
* EXUI-1739 - Case link service code fix (#1727)

* Update getOrgService to pass service_code, Update unit test to check getOrgService passes service_code to getLinkedCaseReasons

* Update version name

* Remove additional paramter type from 'getLinkedCaseReasons'

* change ver name

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* Activated the enableICP option for case File View (#1721)

* activated the enableICP option

* enableicp configuration reworked

* removed  unneeded reference

* version number amended

* function name change

* mock config  amended

* unit test failure fix

* function return type added

* Unit test failure fix

* PR review comments fix

* function change and unit tests update

* removed unit test restriction

* linting

* more unit test added

* refactored unit test for ICP

* version number changed

* version updated

---------

Co-authored-by: RiteshHMCTS <[email protected]>
Co-authored-by: Ritesh Dsouza <[email protected]>

* EXUI-1598 - Default tab selection fix  (#1730)

* Add function to check correct initial tab, add unit tests for new function

* Change version name

---------

Co-authored-by: Josh-HMCTS <[email protected]>
Co-authored-by: OgunyemiO <[email protected]>
  • Loading branch information
3 people authored Jun 24, 2024
1 parent 79008fd commit 4b1bec9
Show file tree
Hide file tree
Showing 14 changed files with 637 additions and 88 deletions.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## RELEASE NOTES

### Version 7.0.41
**EXUI-1856** Unable to see Present (PED) button
**EXUI-1598** auto-redirect to tabs as expected
**EXUI-1739** not passing service code for case linking

### Version 7.0.40
**EXUI-1808** Angular 17 update

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.0.40",
"version": "7.0.41",
"engines": {
"node": ">=18.19.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.0.40",
"version": "7.0.41",
"engines": {
"node": ">=18.19.0"
},
Expand Down
6 changes: 6 additions & 0 deletions projects/ccd-case-ui-toolkit/src/lib/app-config.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,10 @@ export class AppMockConfig implements AbstractAppConfig {
public getEnableCaseFileViewVersion1_1(): boolean {
return true;
}
public getIcpEnable(): boolean {
return false;
}
public getIcpJurisdictions(): string[] {
return ['', ''];
}
}
8 changes: 7 additions & 1 deletion projects/ccd-case-ui-toolkit/src/lib/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* istanbul ignore file */

// tslint:disable:variable-name
export interface AccessManagementBasicViewMockModel {
active?: boolean;
Expand Down Expand Up @@ -50,6 +51,8 @@ export abstract class AbstractAppConfig {
public abstract getActivityMaxRequestPerBatch(): number;
public abstract getCaseHistoryUrl(caseId: string, eventId: string): string;
public abstract getPrintServiceUrl(): string;
public abstract getIcpEnable(): boolean;
public abstract getIcpJurisdictions(): string[];

/**
* Dummy version replacing deprecated `getRemotePrintServiceUrl()`, to be removed in next major release
Expand Down Expand Up @@ -101,6 +104,7 @@ export abstract class AbstractAppConfig {
return 'prod';
}


public abstract getRefundsUrl(): string;
public abstract getNotificationUrl(): string;
public abstract getPaymentReturnUrl(): string;
Expand All @@ -116,7 +120,6 @@ export abstract class AbstractAppConfig {
public abstract getEnableRestrictedCaseAccessConfig(): boolean;
public abstract getEnableCaseFileViewVersion1_1(): boolean;
}

export class CaseEditorConfig {
public api_url: string;
public case_data_url: string;
Expand All @@ -140,6 +143,7 @@ export class CaseEditorConfig {
public activity_url: string;
public activity_max_request_per_batch: number;
public print_service_url: string;

/**
* remote_print_service_url marked as optional since deprecation, ahead of removal in next major release
* @deprecated
Expand Down Expand Up @@ -187,4 +191,6 @@ export class CaseEditorConfig {
public case_data_store_api_url: string;
public enable_restricted_case_access: boolean;
public enable_case_file_view_version_1_1: boolean;
public icp_enabled: boolean;
public icp_jurisdictions: string[];
}
Loading

0 comments on commit 4b1bec9

Please sign in to comment.