Design system / Organisms
Organism / Management and configuration
CatalogueSettingsManager
CatalogueSettingsManager edits catalogue hero copy, image and destination while displaying the current draft preview and save feedback.
Intent and composition
useCatalogueSettings owns settings draft and persistence behavior. The view holds preview image state and composes BannerImageUploader. It renders main and h1; the owning route must account for those landmarks and supply authorized initial settings and operation context.
Coordinated concerns: Hero image, editable copy/destination, preview and save feedback.
useCatalogueSettings owns the settings draft/save lifecycle; preview image state is local. This feature view also owns main and h1; the route supplies its initial settings and operation path.
Real component specimen
Actual manager with fictional settings, isolated to preserve main/h1. The base-light-theme specimen is inert; image upload and settings saves cannot run.
Real component, fictional data. Product operations are not enabled.
Supported inputs and ownership
| Input | Responsibility |
|---|---|
| settings | Initial hero settings with a resolved image URL. |
| tenantSlug / settingsPath | Authorized asset context and settings operation. |
This is an integration summary, not a replacement for the implementation's complete prop types. A disabled control or hidden destination does not enforce permission.
Using it in a page
Integrate the section through its supported props and context requirements. Routes supply permitted data; instances bind product copy and behavior; templates arrange slots. Keep feature hooks and operations with their feature owner. Generic layouts must not load business data or enforce product policy.
Related page assemblies: Tenant settings and management.
Implementation
Repository path: src/components/catalogue/catalogue-settings-manager.tsx