mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-15 03:07:29 +02:00
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:
4 files changed
+24
-5
No files matched your search
@@ -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[];
|
||||
|
||||
Reference in new issue
Block a user