From 7b262f398c57748a9cf15c915ae42266d999fea0 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Wed, 20 Aug 2025 17:25:33 -0500 Subject: [PATCH] Simplify slide editor by removing layout change feature and add obvious edit buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove "Change Layout" buttons from slide editor header and content actions - Simplify user flow: layout selection only happens once when creating new slides - Existing slides go directly to content editing, skipping layout selection - Add prominent edit buttons to slide thumbnails and main slide view - Style edit buttons with blue theme to make them obvious primary actions - Add "Cancel editing" link styled as underlined text link for clear visual distinction - Improve responsive design for mobile with proper button spacing - Lock in layout choice after selection to prevent confusion and content loss Benefits: - Cleaner, more focused editing interface - Prevents accidental layout changes that could break content formatting - Clear visual hierarchy with obvious edit and cancel options - Faster editing workflow for existing slides 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../presentations/PresentationEditor.css | 24 ++++++++ .../presentations/PresentationEditor.tsx | 20 +++++++ src/components/presentations/SlideEditor.css | 55 ++++++++++++++++++- src/components/presentations/SlideEditor.tsx | 53 +++++++++--------- 4 files changed, 123 insertions(+), 29 deletions(-) diff --git a/src/components/presentations/PresentationEditor.css b/src/components/presentations/PresentationEditor.css index c44b531..b6c5f94 100644 --- a/src/components/presentations/PresentationEditor.css +++ b/src/components/presentations/PresentationEditor.css @@ -453,6 +453,18 @@ border-color: #cbd5e1; } +.thumbnail-action.edit { + background: #eff6ff; + border-color: #3b82f6; + color: #3b82f6; +} + +.thumbnail-action.edit:hover:not(:disabled) { + background: #dbeafe; + border-color: #2563eb; + color: #2563eb; +} + .thumbnail-action.delete:hover:not(:disabled) { background: #fef2f2; border-color: #fecaca; @@ -522,6 +534,18 @@ cursor: not-allowed; } +.control-button.edit-slide-button { + background: #3b82f6; + color: white; + border-color: #3b82f6; + font-weight: 600; +} + +.control-button.edit-slide-button:hover:not(:disabled) { + background: #2563eb; + border-color: #2563eb; +} + .slide-content-editor { flex: 1; display: flex; diff --git a/src/components/presentations/PresentationEditor.tsx b/src/components/presentations/PresentationEditor.tsx index ae7c1b4..b949646 100644 --- a/src/components/presentations/PresentationEditor.tsx +++ b/src/components/presentations/PresentationEditor.tsx @@ -307,6 +307,18 @@ export const PresentationEditor: React.FC = () => {
+
- {currentStep === 'content' && ( - - )}
- - +
+ +
+
+ +