From 80c9fca6e9e7cd286aa87c3f808f3f67e28e82e1 Mon Sep 17 00:00:00 2001 From: Trey t Date: Sat, 29 Nov 2025 11:28:36 -0600 Subject: [PATCH] Show full device token in admin panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - API now returns full registration_id instead of truncated version - Added Device Token column to devices table in admin panel - Device tokens are displayed with word-wrap for long tokens - Added Devices link to sidebar navigation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- admin/src/app/(dashboard)/devices/page.tsx | 10 ++++++++-- admin/src/components/app-sidebar.tsx | 2 ++ internal/admin/handlers/device_handler.go | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/admin/src/app/(dashboard)/devices/page.tsx b/admin/src/app/(dashboard)/devices/page.tsx index 710dd25..efaab66 100644 --- a/admin/src/app/(dashboard)/devices/page.tsx +++ b/admin/src/app/(dashboard)/devices/page.tsx @@ -272,6 +272,7 @@ export default function DevicesPage() { Name User Device ID + Device Token Active Created Actions @@ -280,13 +281,13 @@ export default function DevicesPage() { {isLoading ? ( - + Loading... ) : data?.data?.length === 0 ? ( - + No devices found @@ -323,6 +324,11 @@ export default function DevicesPage() { {device.device_id.substring(0, 12)}... + + + {device.registration_id} + +