feat: highlight notes created via API with red background

- Add created_via column to notes table (values: 'web' or 'api')
- Mark notes created via POST /api/notes/full as 'api'
- Display light red background for API-created notes in dashboard
- Add "API" badge with lightning icon for visual identification
This commit is contained in:
Claude committed 2025-12-21 16:50:56 +00:00
1 parent 239232c33c
commit 478b206be9
4 files changed
+24 -5

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ export interface Note {
title: string;
content: string;
archived?: boolean;
created_via?: 'web' | 'api';
created_at?: string;
updated_at?: string;
todos: Todo[];