create-interview-cockpit 0.28.0 → 0.30.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/awsGovernanceIamLab.ts +526 -0
- package/template/client/src/codeowners.ts +120 -0
- package/template/client/src/components/ChatView.tsx +18 -7
- package/template/client/src/components/GithubActionsLabModal.tsx +80 -39
- package/template/client/src/components/LabsPanel.tsx +21 -0
- package/template/client/src/components/PullRequestPanel.tsx +125 -0
- package/template/client/src/components/SettingsPanel.tsx +4 -1
- package/template/client/src/githubActionsLab.ts +1926 -0
- package/template/client/src/index.css +71 -0
- package/template/client/src/types.ts +6 -0
- package/template/cockpit.json +1 -1
|
@@ -59,3 +59,74 @@ body {
|
|
|
59
59
|
.prose code {
|
|
60
60
|
color: #67e8f9 !important;
|
|
61
61
|
}
|
|
62
|
+
|
|
63
|
+
/* GitHub Lab markdown preview — keep typography readable in the
|
|
64
|
+
dark theme. Mirrors core GitHub-style spacing without dragging in a
|
|
65
|
+
full markdown.css dependency. */
|
|
66
|
+
.gha-md-preview {
|
|
67
|
+
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
line-height: 1.65;
|
|
70
|
+
color: #e2e8f0;
|
|
71
|
+
}
|
|
72
|
+
.gha-md-preview h1,
|
|
73
|
+
.gha-md-preview h2,
|
|
74
|
+
.gha-md-preview h3,
|
|
75
|
+
.gha-md-preview h4 {
|
|
76
|
+
color: #f8fafc;
|
|
77
|
+
font-weight: 600;
|
|
78
|
+
margin: 1.4em 0 0.6em;
|
|
79
|
+
line-height: 1.25;
|
|
80
|
+
}
|
|
81
|
+
.gha-md-preview h1 { font-size: 1.6rem; border-bottom: 1px solid rgba(148,163,184,0.18); padding-bottom: 0.3em; }
|
|
82
|
+
.gha-md-preview h2 { font-size: 1.3rem; border-bottom: 1px solid rgba(148,163,184,0.12); padding-bottom: 0.25em; }
|
|
83
|
+
.gha-md-preview h3 { font-size: 1.1rem; }
|
|
84
|
+
.gha-md-preview h4 { font-size: 1rem; }
|
|
85
|
+
.gha-md-preview p { margin: 0.7em 0; }
|
|
86
|
+
.gha-md-preview ul,
|
|
87
|
+
.gha-md-preview ol { margin: 0.6em 0 0.6em 1.4em; }
|
|
88
|
+
.gha-md-preview li { margin: 0.2em 0; }
|
|
89
|
+
.gha-md-preview a { color: #7dd3fc; text-decoration: underline; text-underline-offset: 2px; }
|
|
90
|
+
.gha-md-preview code {
|
|
91
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
92
|
+
background: rgba(148, 163, 184, 0.14);
|
|
93
|
+
color: #fde68a;
|
|
94
|
+
padding: 0.1em 0.35em;
|
|
95
|
+
border-radius: 4px;
|
|
96
|
+
font-size: 0.88em;
|
|
97
|
+
}
|
|
98
|
+
.gha-md-preview pre {
|
|
99
|
+
background: #0b1220;
|
|
100
|
+
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
101
|
+
border-radius: 8px;
|
|
102
|
+
padding: 0.85em 1em;
|
|
103
|
+
overflow-x: auto;
|
|
104
|
+
margin: 0.9em 0;
|
|
105
|
+
}
|
|
106
|
+
.gha-md-preview pre code {
|
|
107
|
+
background: transparent;
|
|
108
|
+
padding: 0;
|
|
109
|
+
color: #e2e8f0;
|
|
110
|
+
font-size: 0.85rem;
|
|
111
|
+
}
|
|
112
|
+
.gha-md-preview blockquote {
|
|
113
|
+
margin: 0.9em 0;
|
|
114
|
+
padding: 0.2em 1em;
|
|
115
|
+
border-left: 3px solid rgba(251, 191, 36, 0.55);
|
|
116
|
+
color: #cbd5e1;
|
|
117
|
+
background: rgba(251, 191, 36, 0.05);
|
|
118
|
+
}
|
|
119
|
+
.gha-md-preview table {
|
|
120
|
+
border-collapse: collapse;
|
|
121
|
+
margin: 0.9em 0;
|
|
122
|
+
font-size: 0.92em;
|
|
123
|
+
}
|
|
124
|
+
.gha-md-preview th,
|
|
125
|
+
.gha-md-preview td {
|
|
126
|
+
border: 1px solid rgba(148, 163, 184, 0.22);
|
|
127
|
+
padding: 0.45em 0.8em;
|
|
128
|
+
text-align: left;
|
|
129
|
+
}
|
|
130
|
+
.gha-md-preview th { background: rgba(148, 163, 184, 0.1); }
|
|
131
|
+
.gha-md-preview hr { border: 0; border-top: 1px solid rgba(148, 163, 184, 0.18); margin: 1.5em 0; }
|
|
132
|
+
.gha-md-preview img { max-width: 100%; border-radius: 6px; }
|
|
@@ -300,6 +300,12 @@ export interface GithubLabPullRequest {
|
|
|
300
300
|
lastCheckRun?: GithubLabCheckRun;
|
|
301
301
|
/** Optional PR title for display purposes. */
|
|
302
302
|
title?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Markdown body of the PR description. On github.com this is auto-
|
|
305
|
+
* populated from a pull request template file in the repo (see
|
|
306
|
+
* `findPullRequestTemplates` for the discovery rules we mirror).
|
|
307
|
+
*/
|
|
308
|
+
body?: string;
|
|
303
309
|
}
|
|
304
310
|
|
|
305
311
|
export interface WorkspaceMeta {
|
package/template/cockpit.json
CHANGED