From 6aa496b60879526b51fdf736c38f09aede283bde Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 02:49:55 +0900 Subject: feat(client): add NoteTypeEditor component with field management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a comprehensive editor for note types that allows users to: - Edit note type name and templates - Add, remove, and reorder fields - Toggle the reversible card option The editor fetches note type details including fields from the API, enabling full CRUD operations for note type configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/client/components/DeleteNoteTypeModal.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/components/DeleteNoteTypeModal.test.tsx') diff --git a/src/client/components/DeleteNoteTypeModal.test.tsx b/src/client/components/DeleteNoteTypeModal.test.tsx index d5d536a..b7159ab 100644 --- a/src/client/components/DeleteNoteTypeModal.test.tsx +++ b/src/client/components/DeleteNoteTypeModal.test.tsx @@ -203,7 +203,9 @@ describe("DeleteNoteTypeModal", () => { mockFetch.mockResolvedValue({ ok: false, status: 409, - json: async () => ({ error: "Cannot delete note type with existing notes" }), + json: async () => ({ + error: "Cannot delete note type with existing notes", + }), }); render(); -- cgit v1.2.3-70-g09d2