Blueprints: Add import Wizard (HMS-3690)
This commit is contained in:
parent
0e74de53fa
commit
3018d64df6
7 changed files with 368 additions and 12 deletions
|
|
@ -12,13 +12,16 @@ const LandingPage = lazy(() => import('./Components/LandingPage/LandingPage'));
|
|||
const CreateImageWizard = lazy(() =>
|
||||
import('./Components/CreateImageWizard/CreateImageWizard')
|
||||
);
|
||||
const ImportImageWizard = lazy(() =>
|
||||
import('./Components/CreateImageWizardV2/ImportImageWizard')
|
||||
);
|
||||
const CreateImageWizardV2 = lazy(() =>
|
||||
import('./Components/CreateImageWizardV2')
|
||||
);
|
||||
|
||||
export const Router = () => {
|
||||
const edgeParityFlag = useFlag('edgeParity.image-list');
|
||||
|
||||
const importExportFlag = useFlag('image-builder.import.enabled');
|
||||
const experimentalFlag = useExperimentalFlag();
|
||||
return (
|
||||
<Routes>
|
||||
|
|
@ -33,6 +36,16 @@ export const Router = () => {
|
|||
<Route path="share/:composeId" element={<ShareImageModal />} />
|
||||
</Route>
|
||||
|
||||
{importExportFlag && experimentalFlag && (
|
||||
<Route
|
||||
path="imagewizard/import"
|
||||
element={
|
||||
<Suspense>
|
||||
<ImportImageWizard />
|
||||
</Suspense>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<Route
|
||||
path="imagewizard/:composeId?"
|
||||
element={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue