Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
c0a908a
api spec
alexnuttall Feb 9, 2026
51ff36f
component
alexnuttall Feb 9, 2026
5f57e24
frontend v10 changes
alexnuttall Feb 9, 2026
eda7618
wip
alexnuttall Feb 10, 2026
7bbcf52
init
alexnuttall Feb 10, 2026
a1ecdcb
axios update
alexnuttall Feb 10, 2026
73a462b
npm update axios
alexnuttall Feb 10, 2026
807596b
Merge remote-tracking branch 'origin/main' into feature/13494-render-…
alexnuttall Feb 10, 2026
8491192
Merge remote-tracking branch 'origin/feature/13494-page-width' into f…
alexnuttall Feb 10, 2026
50baa79
post merge fix
alexnuttall Feb 10, 2026
75fa89a
component test
alexnuttall Feb 10, 2026
84386a3
restore pdf letter
alexnuttall Feb 10, 2026
a3441ac
add missing dev pages
alexnuttall Feb 11, 2026
657397a
Merge remote-tracking branch 'origin/feature/13494-page-width' into f…
alexnuttall Feb 11, 2026
09fd7b9
move state to tabs
alexnuttall Feb 11, 2026
3da924d
Merge branch 'main' into feature/13494-page-width
alexnuttall Feb 11, 2026
25b821f
example names
alexnuttall Feb 11, 2026
cee6fba
Merge remote-tracking branch 'origin/feature/13494-page-width' into f…
alexnuttall Feb 11, 2026
75b01f7
rm plan files
alexnuttall Feb 11, 2026
8c197d9
coverage
alexnuttall Feb 11, 2026
eb5e6fc
component test
alexnuttall Feb 11, 2026
7127f4b
fmt
alexnuttall Feb 11, 2026
667a5a4
example json
alexnuttall Feb 11, 2026
f047e0f
allow iframe csp
alexnuttall Feb 11, 2026
dd46d47
fix layout script
alexnuttall Feb 11, 2026
b7eeafb
example fix
alexnuttall Feb 11, 2026
b6bbf1a
rm initAll
alexnuttall Feb 11, 2026
24b53df
fork component
alexnuttall Feb 12, 2026
444c58d
rm init script
alexnuttall Feb 12, 2026
6dd80e3
refactoring page test
alexnuttall Feb 12, 2026
b8b0e0c
refactoring page test
alexnuttall Feb 12, 2026
0698de2
refactoring page test
alexnuttall Feb 12, 2026
b10e69d
tabs tests
alexnuttall Feb 12, 2026
91d3df9
refactoring tests
alexnuttall Feb 12, 2026
10e5da9
test refactor
alexnuttall Feb 12, 2026
c62edc4
unit test fix
alexnuttall Feb 12, 2026
4cad12e
rm stray example file
alexnuttall Feb 12, 2026
5725b05
rm test case
alexnuttall Feb 12, 2026
96a7b10
rm defer
alexnuttall Feb 12, 2026
d462587
try next/script
alexnuttall Feb 12, 2026
8fdfe14
hardcode frontend-enabled
alexnuttall Feb 12, 2026
09014dc
revert to imported tabs
alexnuttall Feb 12, 2026
b471c72
use inline
alexnuttall Feb 13, 2026
3afc18f
use Form components
alexnuttall Feb 13, 2026
abf40de
fmt
alexnuttall Feb 13, 2026
2dd8530
revert provider changes
alexnuttall Feb 13, 2026
11eaf1c
fmt
alexnuttall Feb 13, 2026
e9500c1
fix DatabaseTemplate
alexnuttall Feb 13, 2026
a49ca7b
hardcoded
alexnuttall Feb 13, 2026
cfe8d09
unused var
alexnuttall Feb 13, 2026
7ceda4e
improve page object
alexnuttall Feb 13, 2026
55630ae
Merge remote-tracking branch 'origin/main' into feature/13494-render-…
alexnuttall Feb 13, 2026
654cc42
Merge remote-tracking branch 'origin/main' into feature/13494-render-…
alexnuttall Feb 13, 2026
8b345da
fix test post merge
alexnuttall Feb 13, 2026
5892791
fix another test
alexnuttall Feb 13, 2026
d102b2d
Merge remote-tracking branch 'origin/main' into feature/13494-render-…
alexnuttall Feb 13, 2026
9d13514
fix component test
alexnuttall Feb 13, 2026
57a3f2b
move error summary inside main
alexnuttall Feb 13, 2026
9075191
page snaps
alexnuttall Feb 13, 2026
0187a6d
cleanup
alexnuttall Feb 14, 2026
12ad858
cleanup
alexnuttall Feb 16, 2026
fb4025d
Merge remote-tracking branch 'origin/main' into feature/13494-render-…
alexnuttall Feb 16, 2026
09a94f4
fix typecheck
alexnuttall Feb 16, 2026
db3ca3d
cov fix
alexnuttall Feb 16, 2026
40aa305
cov ignore line
alexnuttall Feb 16, 2026
0344273
comment fix
alexnuttall Feb 16, 2026
f9b1e2e
rename unnecessary authoring prefix from render type
alexnuttall Feb 17, 2026
c6da625
rm stray file
alexnuttall Feb 17, 2026
46feede
regen types
alexnuttall Feb 17, 2026
1e7845e
review comments
alexnuttall Feb 17, 2026
0cbbe1e
rm stray file
alexnuttall Feb 17, 2026
6138c24
use file type from template type
alexnuttall Feb 17, 2026
77bd416
add page container
alexnuttall Feb 17, 2026
f53d8b7
cves
alexnuttall Feb 18, 2026
206c5ec
fix sandbox_auth
alexnuttall Feb 18, 2026
b6f5ae2
merge
alexnuttall Feb 18, 2026
5ccd147
fix up types
alexnuttall Feb 18, 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
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CVE-2026-1615 # https://avd.aquasec.com/nvd/cve-2026-1615 - jsonpath - fixed version not available. This is a dev-dependecy brought in by pa11y. pa11y will be removed soon (TODO: CCM-13084)
1 change: 0 additions & 1 deletion frontend/public/lib/nhs-frontend-js-check.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,18 @@ const mockTemplate: TemplateDto = {
lockNumber: 5,
language: 'en',
letterType: 'x0',
sidesCount: 2,
createdAt: '2026-01-01T00:00:00.000Z',
updatedAt: '2026-01-01T00:00:00.000Z',
clientId: 'client-123',
campaignId: 'Campaign 1',
files: {
initialRender: {
pageCount: 2,
currentVersion: 'version',
fileName: 'name.pdf',
status: 'RENDERED',
},
},
};

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { redirect, RedirectType } from 'next/navigation';
import { TemplateDto } from 'nhs-notify-backend-client';
import type { AuthoringLetterTemplate } from 'nhs-notify-web-template-management-utils';
import { fetchClient } from '@utils/server-features';
import { getTemplate } from '@utils/form-actions';
import { verifyFormCsrfToken } from '@utils/csrf-utils';
Expand All @@ -14,7 +14,7 @@ jest.mock('@utils/form-actions');
jest.mock('@app/edit-template-name/[templateId]/server-action');
jest.mock('@utils/csrf-utils');

const mockTemplate: TemplateDto = {
const mockTemplate: AuthoringLetterTemplate = {
id: 'template-123',
name: 'Original Template Name',
templateType: 'LETTER',
Expand All @@ -23,10 +23,18 @@ const mockTemplate: TemplateDto = {
lockNumber: 5,
language: 'en',
letterType: 'x0',
sidesCount: 2,
createdAt: '2026-01-01T00:00:00.000Z',
updatedAt: '2026-01-01T00:00:00.000Z',
clientId: 'client-123',
files: {
initialRender: {
fileName: 'render.pdf',
currentVersion: 'v1',
status: 'RENDERED',
pageCount: 2,
},
},
systemPersonalisation: [],
};

beforeEach(() => {
Expand Down
Loading