From 596467628f23ccddc250cab344897c06e878c6c5 Mon Sep 17 00:00:00 2001
From: Chelsea
Date: Tue, 17 Feb 2026 04:37:13 +0000
Subject: [PATCH] feat: add Discord presence status indicator in settings
Add a visual status indicator showing:
- Online/offline status with colored dot indicator
- Last seen timestamp
- Typical wake time (if available)
The indicator now displays whenever Discord notifications are enabled,
not just when presence tracking is active.
---
.../src/app/dashboard/settings/page.tsx | 24 +++++++++++++------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/synculous-client/src/app/dashboard/settings/page.tsx b/synculous-client/src/app/dashboard/settings/page.tsx
index 631dc2d..338afad 100644
--- a/synculous-client/src/app/dashboard/settings/page.tsx
+++ b/synculous-client/src/app/dashboard/settings/page.tsx
@@ -527,14 +527,24 @@ export default function SettingsPage() {
)}
- {adaptiveMeds.presence_tracking_enabled && presence.typical_wake_time && (
+ {notif.discord_enabled && (
-
- Typical wake time: {presence.typical_wake_time}
-
-
- Status: {presence.is_online ? '🟢 Online' : '⚫ Offline'}
-
+
+
+
+
+ {presence.is_online ? 'Online' : 'Offline'}
+
+
+
+ {presence.last_online_at ? `Last seen: ${new Date(presence.last_online_at).toLocaleString()}` : 'Never seen online'}
+
+
+ {presence.typical_wake_time && (
+
+ Typical wake time: {presence.typical_wake_time}
+
+ )}
)}