From 0772c7fca3ac1bca5b23a6854b1074a554162561 Mon Sep 17 00:00:00 2001 From: Riz Ashraf Date: Sun, 27 Sep 2026 22:12:25 +0100 Subject: [PATCH] fix(ui): inject correct JS loaders for pinned files and milestones lists in NRT --- server/src/dashboard.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/server/src/dashboard.html b/server/src/dashboard.html index 159c2a1..be267aa 100644 --- a/server/src/dashboard.html +++ b/server/src/dashboard.html @@ -1078,6 +1078,23 @@ } function loadAllExtras() { + + loadGenericList('/api/pinned_files', 'pinned-container', item => + +
Pinned at:
+
+ ); + + loadGenericList('/api/milestones', 'milestones-container', item => { + const statusColor = item.status === 'completed' ? '#2ecc71' : (item.status === 'in_progress' ? '#3498db' : '#f39c12'); + return +
+ () +
+
+ ; + }); + loadGenericList('/api/tech_debts', 'techdebt-container', item => ` ${item.id} ${item.is_resolved ? '(Resolved)' : '(Open)'}
Description: ${item.description}