From bd4c6e0c3a3a07305cffd15f7caa71614337aa5b Mon Sep 17 00:00:00 2001 From: Joshua Ryder Date: Mon, 8 Dec 2025 15:52:00 -0500 Subject: [PATCH] Color simplification and reordering save refresh --- frontend/src/components/SectionsManager.tsx | 34 ++++++++++----------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/frontend/src/components/SectionsManager.tsx b/frontend/src/components/SectionsManager.tsx index a7c2c499..8f3ee5ca 100644 --- a/frontend/src/components/SectionsManager.tsx +++ b/frontend/src/components/SectionsManager.tsx @@ -172,9 +172,8 @@ const SectionsManager: React.FC = ({ }; const ColorPicker = ({ selectedColor, onSelect }: { selectedColor: string; onSelect: (color: string) => void }) => ( -
-

Choose a color

-
+
+
{SECTION_COLORS.map(color => ( + style={{ backgroundColor: color.value }} + title={color.name} + /> ))}
); + const handleSaveAndClose = () => { + onSectionChange(); // Refresh parent state from server + onClose(); + }; + return (
@@ -208,10 +206,10 @@ const SectionsManager: React.FC = ({

Manage Sections