-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
feb697f
commit 05d446e
Showing
31 changed files
with
621 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { useParams } from "react-router-dom"; | ||
import { StackComponentsDetailHeader } from "../../../components/stack-components/component-detail/Header"; | ||
import { StackComponentTabs } from "@/components/stack-components/component-detail/Tabs"; | ||
import { StackList } from "../../stacks/StackList"; | ||
|
||
export default function ComponentDetailPage() { | ||
const { componentId } = useParams() as { componentId: string }; | ||
|
||
return ( | ||
<div className="@container"> | ||
<StackComponentsDetailHeader isPanel={false} componentId={componentId} /> | ||
<StackComponentTabs | ||
isPanel={false} | ||
stacksTabContent={<StackList fixedQueryParams={{ component_id: componentId }} />} | ||
componentId={componentId} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { useState } from "react"; | ||
import { parseWizardData } from "./create/new-infrastructure/persist"; | ||
import { parseWizardData as parseTerraform } from "./create/terraform/persist"; | ||
import { ResumeStackBanner } from "./ResumeStackBanner"; | ||
import { ResumeTerraformBanner } from "./ResumeTerraformBanner"; | ||
|
||
export function ResumeBanners() { | ||
const [hasResumeableStack, setResumeableStack] = useState(parseWizardData().success); | ||
const [hasResumeableTerraform, setResumeableTerraform] = useState<boolean>( | ||
parseTerraform().success | ||
); | ||
|
||
return ( | ||
<div className="space-y-5"> | ||
{hasResumeableStack && <ResumeStackBanner setHasResumeableStack={setResumeableStack} />} | ||
{hasResumeableTerraform && ( | ||
<ResumeTerraformBanner setHasResumeableTerraform={setResumeableTerraform} /> | ||
)} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 0 additions & 78 deletions
78
src/components/stack-components/ComponentFallbackDialog.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.