From 98db6899dbf94b062ff3bb50de8313ac1b39de88 Mon Sep 17 00:00:00 2001 From: Chaim Date: Sat, 28 Mar 2026 19:30:40 +0000 Subject: [PATCH] feat: UI improvements - default to customers tab, refresh button, installed extensions first --- dashboard/src/App.jsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index d6df477..a88bbb2 100644 --- a/dashboard/src/App.jsx +++ b/dashboard/src/App.jsx @@ -215,6 +215,9 @@ function CustomerDetail({ customerId }) { const installedNames = new Set(exts.filter(e => e.installed_version).map(e => e.name)) const sorted = [...exts].sort((a, b) => { + const aInstalled = a.installed_version ? 0 : 1 + const bInstalled = b.installed_version ? 0 : 1 + if (aInstalled !== bInstalled) return aInstalled - bInstalled const ia = order.indexOf(a.name) const ib = order.indexOf(b.name) return (ia === -1 ? 999 : ia) - (ib === -1 ? 999 : ib) @@ -308,6 +311,11 @@ function CustomerDetail({ customerId }) {

{customer.name}

{customer.espocrm_url}

+