Skip to content

Commit 68f1074

Browse files
committed
CCM-11474: initial message plan create form
1 parent dee3e74 commit 68f1074

File tree

48 files changed

+1373
-119
lines changed

Some content is hidden

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

48 files changed

+1373
-119
lines changed

frontend/src/__tests__/app/edit-nhs-app-template/page.test.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import EditNhsAppTemplatePage, {
99
generateMetadata,
1010
} from '@app/edit-nhs-app-template/[templateId]/page';
1111
import { TemplateDto } from 'nhs-notify-backend-client';
12-
import { EMAIL_TEMPLATE, LETTER_TEMPLATE, SMS_TEMPLATE } from '../../helpers';
12+
import {
13+
EMAIL_TEMPLATE,
14+
LETTER_TEMPLATE,
15+
SMS_TEMPLATE,
16+
} from '../../helpers/helpers';
1317
import content from '@content/content';
1418

1519
const { editPageTitle } = content.components.templateFormNhsApp;

frontend/src/__tests__/app/letter-template-submitted/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import LetterTemplateSubmittedPage, {
66
} from '@app/letter-template-submitted/[templateId]/page';
77
import content from '@content/content';
88
import { TemplateSubmitted } from '@molecules/TemplateSubmitted/TemplateSubmitted';
9-
import { LETTER_TEMPLATE } from '@testhelpers';
9+
import { LETTER_TEMPLATE } from '../../helpers/helpers';
1010
import { getTemplate } from '@utils/form-actions';
1111
import { redirect } from 'next/navigation';
1212

frontend/src/__tests__/app/preview-email-template/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
LETTER_TEMPLATE,
1515
NHS_APP_TEMPLATE,
1616
SMS_TEMPLATE,
17-
} from '../../helpers';
17+
} from '../../helpers/helpers';
1818
import content from '@content/content';
1919
import { serverIsFeatureEnabled } from '@utils/server-features';
2020

frontend/src/__tests__/app/preview-letter-template/page.test.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import { type LetterTemplate } from 'nhs-notify-web-template-management-utils';
99
import { redirect } from 'next/navigation';
1010
import { getTemplate } from '@utils/form-actions';
1111
import { Language, LetterType, TemplateDto } from 'nhs-notify-backend-client';
12-
import { EMAIL_TEMPLATE, NHS_APP_TEMPLATE, SMS_TEMPLATE } from '../../helpers';
12+
import {
13+
EMAIL_TEMPLATE,
14+
NHS_APP_TEMPLATE,
15+
SMS_TEMPLATE,
16+
} from '../../helpers/helpers';
1317
import content from '@content/content';
1418

1519
const { pageTitle } = content.components.previewLetterTemplate;

frontend/src/__tests__/app/preview-nhs-app-template/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
LETTER_TEMPLATE,
1515
NHS_APP_TEMPLATE,
1616
SMS_TEMPLATE,
17-
} from '../../helpers';
17+
} from '../../helpers/helpers';
1818
import content from '@content/content';
1919
import { serverIsFeatureEnabled } from '@utils/server-features';
2020

frontend/src/__tests__/app/preview-submitted-email-template/page.test.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import { EmailTemplate } from 'nhs-notify-web-template-management-utils';
99
import { getTemplate } from '@utils/form-actions';
1010
import { redirect } from 'next/navigation';
1111
import { TemplateDto } from 'nhs-notify-backend-client';
12-
import { EMAIL_TEMPLATE, NHS_APP_TEMPLATE, SMS_TEMPLATE } from '../../helpers';
12+
import {
13+
EMAIL_TEMPLATE,
14+
NHS_APP_TEMPLATE,
15+
SMS_TEMPLATE,
16+
} from '../../helpers/helpers';
1317
import content from '@content/content';
1418

1519
const { pageTitle } = content.components.previewEmailTemplate;

frontend/src/__tests__/app/preview-submitted-letter-template/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
NHS_APP_TEMPLATE,
1515
SMS_TEMPLATE,
1616
LETTER_TEMPLATE,
17-
} from '../../helpers';
17+
} from '../../helpers/helpers';
1818
import content from '@content/content';
1919

2020
const { pageTitle } = content.components.previewLetterTemplate;

frontend/src/__tests__/app/preview-submitted-nhs-app-template/page.test.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import { NHSAppTemplate } from 'nhs-notify-web-template-management-utils';
99
import { getTemplate } from '@utils/form-actions';
1010
import { redirect } from 'next/navigation';
1111
import { TemplateDto } from 'nhs-notify-backend-client';
12-
import { EMAIL_TEMPLATE, NHS_APP_TEMPLATE, SMS_TEMPLATE } from '../../helpers';
12+
import {
13+
EMAIL_TEMPLATE,
14+
NHS_APP_TEMPLATE,
15+
SMS_TEMPLATE,
16+
} from '../../helpers/helpers';
1317
import content from '@content/content';
1418

1519
const { pageTitle } = content.components.previewNHSAppTemplate;

frontend/src/__tests__/app/preview-submitted-text-message-template/page.test.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import { SMSTemplate } from 'nhs-notify-web-template-management-utils';
99
import { getTemplate } from '@utils/form-actions';
1010
import { redirect } from 'next/navigation';
1111
import { TemplateDto } from 'nhs-notify-backend-client';
12-
import { EMAIL_TEMPLATE, NHS_APP_TEMPLATE, SMS_TEMPLATE } from '../../helpers';
12+
import {
13+
EMAIL_TEMPLATE,
14+
NHS_APP_TEMPLATE,
15+
SMS_TEMPLATE,
16+
} from '../../helpers/helpers';
1317
import content from '@content/content';
1418

1519
const { pageTitle } = content.components.previewSMSTemplate;

frontend/src/__tests__/app/preview-text-message-template/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
LETTER_TEMPLATE,
1515
NHS_APP_TEMPLATE,
1616
SMS_TEMPLATE,
17-
} from '../../helpers';
17+
} from '../../helpers/helpers';
1818
import content from '@content/content';
1919
import { serverIsFeatureEnabled } from '@utils/server-features';
2020

0 commit comments

Comments
 (0)