From 29cd362b7afc3ea95052872b0b21737c84d4af6a Mon Sep 17 00:00:00 2001 From: Damien Sedgwick Date: Mon, 6 Oct 2025 19:46:44 +0100 Subject: [PATCH 1/4] add mise.toml to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 2345034e4..d9348de7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ node_modules .DS_store +mise.toml + /build /server-build .env From 2bb7c6c5c7b79fd0bf4572e3485ff69a7f8168f3 Mon Sep 17 00:00:00 2001 From: Damien Sedgwick Date: Mon, 6 Oct 2025 21:17:12 +0100 Subject: [PATCH 2/4] use image id for key & use unique images in seed --- .../users+/$username_+/notes.$noteId.tsx | 3 ++- prisma/seed.ts | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/routes/users+/$username_+/notes.$noteId.tsx b/app/routes/users+/$username_+/notes.$noteId.tsx index db9849e78..b9a35d8bd 100644 --- a/app/routes/users+/$username_+/notes.$noteId.tsx +++ b/app/routes/users+/$username_+/notes.$noteId.tsx @@ -32,6 +32,7 @@ export async function loader({ params }: Route.LoaderArgs) { updatedAt: true, images: { select: { + id: true, altText: true, objectKey: true, }, @@ -123,7 +124,7 @@ export default function NoteRoute({