From 3ef9ca14c12e1051bb92de77d759b62512258108 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Sun, 7 Dec 2025 13:17:51 +0100 Subject: [PATCH] Add icons to action buttons and improve button styling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FileUpload: - Added FolderOpenIcon to "Choose PES File" button ProgressMonitor: - Start Sewing button takes 2x space (flex-[2]) as primary action - Trace Again button takes 1x space (flex-1) as secondary action - Added PlayIcon to Start/Resume Sewing buttons - Added ArrowPathIcon to Trace Again button - Buttons fill full width with proper flex distribution - Sizing consistent with rest of UI (text-xs, px-3 py-2) Header: - Disconnect button turns red on hover for clear destructive action 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/App.tsx | 2 +- src/components/FileUpload.tsx | 7 +++++-- src/components/ProgressMonitor.tsx | 15 +++++++++------ 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index b4edf53..cb797ac 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -146,7 +146,7 @@ function App() { <> )} - {/* Start Sewing - primary action */} + {/* Start Sewing - primary action, takes more space */} {canStartSewing(machineStatus) && !canResumeSewing(machineStatus) && ( )} @@ -301,9 +303,10 @@ export function ProgressMonitor({ )}