Skip setup questions on the template path and collect name, photo, and description without recommendations.
Customize opens a dialog then walks the template decks; Use without changes lands on final review with Has Name Field. Template cards stay first, the engine is not called, and the catalog no longer shows a recommended tag.
This commit is contained in:
1 parent
53d236d0d5
commit
6498d52541
37 files changed
+1450
-733
No files matched your search
@@ -52,6 +52,17 @@ const RuleContainer = memo<RuleProps>(
|
||||
fluidWidth = false,
|
||||
descriptionAtBottom = false,
|
||||
surfaceColor,
|
||||
hasNameField = false,
|
||||
nameValue,
|
||||
nameLabel,
|
||||
namePlaceholder,
|
||||
onNameChange,
|
||||
descriptionLabel,
|
||||
descriptionPlaceholder,
|
||||
descriptionHelperText,
|
||||
onDescriptionChange,
|
||||
onLogoClick,
|
||||
logoUploadAriaLabel,
|
||||
}) => {
|
||||
const size = sizeProp ?? "L";
|
||||
const isInteractive = interactive ?? !hasBottomLinks;
|
||||
@@ -123,6 +134,17 @@ const RuleContainer = memo<RuleProps>(
|
||||
surfaceColor={surfaceColor}
|
||||
cardAriaLabel={cardAriaLabel}
|
||||
recommendedLabel={recommendedLabel}
|
||||
hasNameField={hasNameField}
|
||||
nameValue={nameValue}
|
||||
nameLabel={nameLabel}
|
||||
namePlaceholder={namePlaceholder}
|
||||
onNameChange={onNameChange}
|
||||
descriptionLabel={descriptionLabel}
|
||||
descriptionPlaceholder={descriptionPlaceholder}
|
||||
descriptionHelperText={descriptionHelperText}
|
||||
onDescriptionChange={onDescriptionChange}
|
||||
onLogoClick={onLogoClick}
|
||||
logoUploadAriaLabel={logoUploadAriaLabel}
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user