diff --git a/platform/frontend/src/external_layer/ui/app/assemble_space/components/element_assemble/components/ElementAssemble.res b/platform/frontend/src/external_layer/ui/app/assemble_space/components/element_assemble/components/ElementAssemble.res index a45c13bba..e2c3ce24f 100755 --- a/platform/frontend/src/external_layer/ui/app/assemble_space/components/element_assemble/components/ElementAssemble.res +++ b/platform/frontend/src/external_layer/ui/app/assemble_space/components/element_assemble/components/ElementAssemble.res @@ -387,13 +387,18 @@ let make = ( { - setOpenTour(_ => false) - - dispatchForElementAssembleStore( - ElementAssembleStoreType.EndCreateFromScratchTourPhase2, - ) - }} + // onClose={() => { + // // setOpenTour(_ => false) + + // // // dispatchForElementAssembleStore( + // // // ElementAssembleStoreType.EndCreateFromScratchTourPhase2, + // // // ) + + // GuideUtils.handleCloseCreateFromScratchTour( + // dispatchForAppStore, + // dispatchForElementAssembleStore, + // ) + // }} onChange={current => { switch Method.buildCreateFromScratchTourStepAndStepMapData()->Meta3dCommonlib.ArraySt.find( ((currentTourStep, _)) => { diff --git a/platform/frontend/src/external_layer/ui/app/user_center/components/UserCenter.res b/platform/frontend/src/external_layer/ui/app/user_center/components/UserCenter.res index dbfe4f47c..8aa22c7ae 100644 --- a/platform/frontend/src/external_layer/ui/app/user_center/components/UserCenter.res +++ b/platform/frontend/src/external_layer/ui/app/user_center/components/UserCenter.res @@ -176,9 +176,9 @@ let make = (~service: FrontendType.service) => { AppStoreType.UserCenterAction(UserCenterStoreType.StartCreateFromScratchTourPhase1), ) dispatchForElementAssembleStore(ElementAssembleStoreType.StartCreateFromScratchTourPhase2) - dispatch( - AppStoreType.UserCenterAction(UserCenterStoreType.StartCreateFromScratchTourPhase3), - ) + // dispatch( + // AppStoreType.UserCenterAction(UserCenterStoreType.StartCreateFromScratchTourPhase3), + // ) RescriptReactRouter.push("/UserCenter") } @@ -190,6 +190,11 @@ let make = (~service: FrontendType.service) => { dispatch( AppStoreType.UserCenterAction(UserCenterStoreType.EndCreateFromScratchTourPhase1), ) + // isInCreateFromScratchTourPhase1 && !GuideUtils.readIsFinishCreateFromScratchTour() + // ? dispatchForElementAssembleStore( + // ElementAssembleStoreType.StartCreateFromScratchTourPhase2, + // ) + // : () // TODO perf: use batchXxx to merge request _selectAllUIControls(service, dispatch)->Js.Promise.then_(() => { @@ -355,8 +360,16 @@ let make = (~service: FrontendType.service) => { | Some(info) => React.string(`${info}`) | None => <> - + + + +