Run Use without changes through name, description, and photo so final review never holds an editable field.
This commit is contained in:
1 parent
53e27ef122
commit
6bf890fa78
13 files changed
+156
-145
No files matched your search
@@ -57,9 +57,10 @@ export type UseTemplateReviewActionsResult = {
|
||||
*/
|
||||
handleCustomize: () => Promise<void>;
|
||||
/**
|
||||
* Use without changes: seed the template's cards and go to final review.
|
||||
* Direct entry clears leftover identity so the Rule card can collect name,
|
||||
* photo, and description. In-flow keeps the community answers already given.
|
||||
* Use without changes: seed the template's cards and go to the name screen,
|
||||
* then description and photo, then final review. Direct entry clears leftover
|
||||
* identity. In-flow keeps the community answers already given so those
|
||||
* screens are pre-filled.
|
||||
*/
|
||||
handleUseWithoutChanges: () => Promise<void>;
|
||||
customizeDialog: TemplateCustomizeDialogModel | null;
|
||||
@@ -256,7 +257,7 @@ export function useTemplateReviewActions({
|
||||
: undefined,
|
||||
}),
|
||||
);
|
||||
router.push(createFlowStepPath("final-review"));
|
||||
router.push(createFlowStepPath("community-name"));
|
||||
}, [
|
||||
confirmReplaceDraft,
|
||||
keepInFlowIdentity,
|
||||
|
||||
Reference in new issue
Block a user