setTitle(e.target.value)}
- placeholder="z. B. Erste Notiz"
+ placeholder="z. B. Besprechung mit Max"
autoFocus
style={{
width: '100%',
padding: 8,
- fontSize: 16,
+ fontSize: 15,
border: '1px solid #ccc',
borderRadius: 4,
boxSizing: 'border-box',
@@ -110,19 +235,19 @@ ${fullBody}
-
+
-
+
+
+
+
@@ -177,16 +309,17 @@ ${fullBody}
onClick={handleSave}
disabled={saving}
style={{
- padding: '8px 16px',
+ padding: '8px 20px',
background: saving ? '#ccc' : '#5AD8A6',
color: '#fff',
border: 'none',
borderRadius: 4,
cursor: saving ? 'default' : 'pointer',
fontSize: 14,
+ fontWeight: 600,
}}
>
- {saving ? 'Speichere...' : 'Speichern'}
+ {saving ? 'Verarbeite & Sende...' : autoSync ? 'Speichern & Sync 🚀' : 'Speichern'}
diff --git a/webapp/src/notes-api.ts b/webapp/src/notes-api.ts
index fb9407f..c5e8346 100644
--- a/webapp/src/notes-api.ts
+++ b/webapp/src/notes-api.ts
@@ -66,3 +66,36 @@ export async function listNotes(): Promise