create-interview-cockpit 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/client/src/codeowners.ts +912 -0
- package/template/client/src/components/ChatView.tsx +18 -7
- package/template/client/src/components/CodeContextPanel.tsx +44 -0
- package/template/client/src/components/DiagramsModal.tsx +839 -0
- package/template/client/src/components/GithubActionsLabModal.tsx +371 -303
- package/template/client/src/components/LabsPanel.tsx +10 -3
- package/template/client/src/components/PullRequestPanel.tsx +1267 -0
- package/template/client/src/components/SettingsPanel.tsx +1398 -0
- package/template/client/src/githubActionsLab.ts +2154 -3
- package/template/client/src/index.css +71 -0
- package/template/client/src/types.ts +225 -0
- package/template/client/tsconfig.tsbuildinfo +1 -1
- package/template/cockpit.json +1 -1
- package/template/server/src/gha-runner.ts +1 -1
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
} from "../infraLab";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_GHA_LAB,
|
|
12
|
+
GOVERNANCE_GHA_LAB,
|
|
12
13
|
parseGhaLabWorkspace,
|
|
13
14
|
REACT_VITE_TYPESCRIPT_GHA_LAB,
|
|
14
15
|
} from "../githubActionsLab";
|
|
@@ -678,11 +679,11 @@ export default function LabsPanel() {
|
|
|
678
679
|
bgClass="bg-cyan-500/10 border border-cyan-500/20"
|
|
679
680
|
/>
|
|
680
681
|
<Section
|
|
681
|
-
title="GitHub
|
|
682
|
+
title="GitHub"
|
|
682
683
|
icon={GitBranch}
|
|
683
684
|
iconColor="text-amber-400/70"
|
|
684
685
|
origin="github-actions"
|
|
685
|
-
emptyText="Save a GitHub
|
|
686
|
+
emptyText="Save a GitHub lab to reopen it here"
|
|
686
687
|
newLabMenu={[
|
|
687
688
|
{
|
|
688
689
|
label: "React Vite TypeScript Starter",
|
|
@@ -696,9 +697,15 @@ export default function LabsPanel() {
|
|
|
696
697
|
"Multi-job CI workflow with a local composite action and a matrix build",
|
|
697
698
|
onClick: () => openGhaLab(DEFAULT_GHA_LAB),
|
|
698
699
|
},
|
|
700
|
+
{
|
|
701
|
+
label: "Platform Governance Template",
|
|
702
|
+
description:
|
|
703
|
+
"PLF-style mono-repo: CODEOWNERS, PR template, Azure PIM/Policy + AWS IAM deploy workflows, offboarding",
|
|
704
|
+
onClick: () => openGhaLab(GOVERNANCE_GHA_LAB),
|
|
705
|
+
},
|
|
699
706
|
]}
|
|
700
707
|
onOpen={openGhaFile}
|
|
701
|
-
openTitle="Open in GitHub
|
|
708
|
+
openTitle="Open in GitHub Lab"
|
|
702
709
|
accentClass="text-amber-200"
|
|
703
710
|
bgClass="bg-amber-500/10 border border-amber-500/20"
|
|
704
711
|
/>
|