Skip to content

Conversation

@AJFrio
Copy link
Owner

@AJFrio AJFrio commented Jan 26, 2026

This PR replaces the traditional form-based Store Settings page with a modern, dual-pane editor. Users can now edit store settings (Theme, Identity, Info, Hero, About, Contact) in a sidebar and see the changes reflected immediately in a live preview of the storefront.

Key changes:

  • src/components/admin/StoreSettingsEditor.jsx: New component implementing the editor logic and UI.
  • src/pages/admin/AdminDashboard.jsx: Replaced StoreSettingsForm with StoreSettingsEditor.
  • src/components/storefront/Hero.jsx, Navbar.jsx, Footer.jsx, ProductCard.jsx: Updated to accept props for preview mode (previewSettings to inject data, disableNavigation to prevent link clicks).
  • src/index.css: Added styles for animations used in the preview.

This improves the user experience by providing immediate visual feedback on configuration changes.


PR created automatically by Jules for task 6834279948351490435 started by @AJFrio

Replaces the form-based Store Settings page with a dual-pane editor featuring a sidebar for configuration and a live preview area.
- Created `StoreSettingsEditor.jsx` component.
- Updated `AdminDashboard.jsx` to use the new editor.
- Refactored `Hero`, `Navbar`, `Footer`, and `ProductCard` components to support `previewSettings` and `disableNavigation` props for safe rendering in the admin context.
- Verified changes with Playwright tests.

Co-authored-by: AJFrio <20246916+AJFrio@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 2 commits January 26, 2026 23:16
Replaces the form-based Store Settings page with a dual-pane editor featuring a sidebar for configuration and a live preview area.
- Created `StoreSettingsEditor.jsx` component.
- Updated `AdminDashboard.jsx` to use the new editor.
- Refactored `Hero`, `Navbar`, `Footer`, and `ProductCard` components to support `previewSettings` and `disableNavigation` props for safe rendering in the admin context.
- Verified changes with Playwright tests.

Co-authored-by: AJFrio <20246916+AJFrio@users.noreply.github.com>
@AJFrio AJFrio merged commit ebf986e into main Jan 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants