From 5fdd366bc3f2b7c5077128fb3e43c53c4169a45d Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 18 Mar 2026 23:22:11 -0500 Subject: [PATCH] last cleanup --- CHANGELOG.md | 1 + client/src/modules/crm/CrmContactsPanel.tsx | 38 +++++++------ .../modules/settings/AdminDiagnosticsPage.tsx | 54 +++++++++---------- .../modules/settings/UserManagementPage.tsx | 54 +++++++++---------- 4 files changed, 73 insertions(+), 74 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0c1708..18f4e7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ This file is the running release and change log for CODEXIUM. Keep it updated wh - Continued density standardization across warehouse list/detail/editor screens and the manufacturing station surface, including tighter status blocks, denser location/station cards, and removal of older roomy header patterns - Continued density standardization across company settings and deeper manufacturing detail surfaces, including tighter admin/profile/theme sections, denser work-order execution panels, and compact issue/completion history cards - Continued density standardization across project cockpit/detail internals, including tighter cockpit cards, denser purchasing and readiness panels, and compact milestone, manufacturing-link, and activity-timeline surfaces +- Continued density standardization across admin diagnostics, user management, and CRM contacts, including tighter filter/forms, denser summary cards, and compact contact/account management surfaces - Project-side milestone and work-order rollups surfaced on project list and detail pages - Inventory SKU master builder with family-level sequence codes, branch-aware taxonomy management, and generated SKU previews on the item form - Thumbnail image attachment staging on inventory item create/edit pages, with upload-on-save and replacement/removal support diff --git a/client/src/modules/crm/CrmContactsPanel.tsx b/client/src/modules/crm/CrmContactsPanel.tsx index cbad09d..7923748 100644 --- a/client/src/modules/crm/CrmContactsPanel.tsx +++ b/client/src/modules/crm/CrmContactsPanel.tsx @@ -58,12 +58,11 @@ export function CrmContactsPanel({ entity, ownerId, contacts, onContactsChange } } return ( -
-

Contacts

-

People on this account

-
+
+

CONTACTS

+
{contacts.length === 0 ? ( -
+
No contacts have been added yet.
) : ( @@ -72,7 +71,7 @@ export function CrmContactsPanel({ entity, ownerId, contacts, onContactsChange }
- {contact.fullName} {contact.isPrimary ? • Primary : null} + {contact.fullName} {contact.isPrimary ? - PRIMARY : null}
{crmContactRoleOptions.find((option) => option.value === contact.role)?.label ?? contact.role}
@@ -86,22 +85,22 @@ export function CrmContactsPanel({ entity, ownerId, contacts, onContactsChange } )}
{canManage ? ( -
-
+ +
-
); } - diff --git a/client/src/modules/settings/AdminDiagnosticsPage.tsx b/client/src/modules/settings/AdminDiagnosticsPage.tsx index 47d7fee..0dd50cb 100644 --- a/client/src/modules/settings/AdminDiagnosticsPage.tsx +++ b/client/src/modules/settings/AdminDiagnosticsPage.tsx @@ -74,7 +74,7 @@ export function AdminDiagnosticsPage() { }, [token, supportLogLevel, supportLogSource, supportLogQuery, supportLogWindowDays]); if (!diagnostics || !backupGuidance) { - return
{status}
; + return
{status}
; } async function handleExportSupportSnapshot() { @@ -156,7 +156,7 @@ export function AdminDiagnosticsPage() { ]; return ( -
+
@@ -186,11 +186,11 @@ export function AdminDiagnosticsPage() {
-
+
{summaryCards.map(([label, value]) => ( -
+

{label}

-

{value}

+

{value}

))}
@@ -201,16 +201,16 @@ export function AdminDiagnosticsPage() {

BACKUP AND RESTORE

-
+
Data: {backupGuidance.dataPath}
DB: {backupGuidance.databasePath}
Uploads: {backupGuidance.uploadsPath}
-
-
+
+

Backup checklist

-
+
{backupGuidance.backupSteps.map((step) => (

{step.label}

@@ -219,9 +219,9 @@ export function AdminDiagnosticsPage() { ))}
-
+

Restore checklist

-
+
{backupGuidance.restoreSteps.map((step) => (

{step.label}

@@ -231,10 +231,10 @@ export function AdminDiagnosticsPage() {
-
-
+
+

Backup verification checklist

-
+
{backupGuidance.verificationChecklist.map((item) => (

{item.label}

@@ -244,9 +244,9 @@ export function AdminDiagnosticsPage() { ))}
-
+

Restore drill runbook

-
+
{backupGuidance.restoreDrillSteps.map((step) => (

{step.label}

@@ -268,7 +268,7 @@ export function AdminDiagnosticsPage() { {diagnostics.startup.status}
-
+
{diagnostics.startup.checks.map((check) => (
@@ -279,7 +279,7 @@ export function AdminDiagnosticsPage() {
))}
-
+
{startupSummaryCards.map(([label, value]) => (

{label}

@@ -291,7 +291,7 @@ export function AdminDiagnosticsPage() {

SYSTEM FOOTPRINT

-
+
{footprintCards.map(([label, value]) => (

{label}

@@ -310,9 +310,9 @@ export function AdminDiagnosticsPage() { {supportLogSummary ? `${supportLogSummary.filteredCount} of ${supportLogSummary.totalCount} entries` : "No entries loaded"}

-
+
-
+
Errors: {supportLogSummary?.levelCounts.ERROR ?? 0}
Warnings: {supportLogSummary?.levelCounts.WARN ?? 0}
Info: {supportLogSummary?.levelCounts.INFO ?? 0}
-
+
@@ -402,7 +402,7 @@ export function AdminDiagnosticsPage() {

{status}

-
+
diff --git a/client/src/modules/settings/UserManagementPage.tsx b/client/src/modules/settings/UserManagementPage.tsx index 727715f..092a9e8 100644 --- a/client/src/modules/settings/UserManagementPage.tsx +++ b/client/src/modules/settings/UserManagementPage.tsx @@ -272,7 +272,7 @@ export function UserManagementPage() { const reviewSessionCount = sessions.filter((session) => session.reviewState === "REVIEW").length; return ( -
+
@@ -290,7 +290,7 @@ export function UserManagementPage() {
-
+
@@ -310,9 +310,9 @@ export function UserManagementPage() {
-
+
-