fix: dashboard edit previews, migration journal, and notes comments
CI / checks (push) Failing after 2m8s
CI / build (push) Successful in 4m42s

Register drizzle journal entries for 0022/0023 so prod migrations apply.

Key edit-mode widget previews by index so bangs.stats shows live data.

Add comments to notes detail pages.
This commit is contained in:
ginnoir
2026-07-04 22:39:21 -05:00
parent 9e66c12eb7
commit 6183fb62c8
11 changed files with 72 additions and 17 deletions
+2
View File
@@ -77,6 +77,7 @@ export async function addComment(input: z.input<typeof commentInput>): Promise<C
if (!row) throw new Error("Comment was not created");
revalidatePath("/lists");
revalidatePath("/notes");
return {
id: row.id,
@@ -104,4 +105,5 @@ export async function deleteComment(input: { id: string }) {
await db.delete(comments).where(eq(comments.id, parsed.id));
revalidatePath("/lists");
revalidatePath("/notes");
}