@checkstack/gitops-frontend 0.3.8 → 0.4.1
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/CHANGELOG.md +108 -0
- package/package.json +8 -7
- package/src/components/GitOpsLockBanner.tsx +16 -5
- package/src/components/GitOpsSourceBadge.tsx +77 -0
- package/src/components/ProvenanceStatus.tsx +2 -2
- package/src/components/ProviderList.tsx +34 -6
- package/src/components/SecretList.tsx +23 -2
- package/src/hooks/useProvenanceLocks.ts +43 -0
- package/src/index.tsx +5 -0
- package/tsconfig.json +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
# @checkstack/gitops-frontend
|
|
2
2
|
|
|
3
|
+
## 0.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [9016526]
|
|
8
|
+
- @checkstack/common@0.10.0
|
|
9
|
+
- @checkstack/gitops-common@0.4.0
|
|
10
|
+
- @checkstack/frontend-api@0.5.1
|
|
11
|
+
- @checkstack/tips-frontend@0.2.1
|
|
12
|
+
- @checkstack/ui@1.8.1
|
|
13
|
+
|
|
14
|
+
## 0.4.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- f6f9a5c: Surface the source repository for GitOps-managed entities and gate the
|
|
19
|
+
system→group remove button on the system's lock state.
|
|
20
|
+
|
|
21
|
+
- `provenanceSchema` now carries a `sourceUrl` field, derived on the
|
|
22
|
+
backend from the provider type, baseUrl, repository and filePath. URLs
|
|
23
|
+
are constructed for github.com / gitlab.com and self-hosted
|
|
24
|
+
GitHub/GitLab where the API base ends in `/api/v3` or `/api/v4`. Other
|
|
25
|
+
baseUrls fall back to `null` so the UI keeps showing the raw path.
|
|
26
|
+
- New `useProvenanceLocks` hook (bulk variant of `useProvenanceLock`)
|
|
27
|
+
for views that render many entities and need to look up locks
|
|
28
|
+
client-side.
|
|
29
|
+
- New `<GitOpsSourceBadge>` popover component that replaces the bare
|
|
30
|
+
GitBranch icon on system and group catalog cards. The popover
|
|
31
|
+
surfaces the repository, file path, and a "View in source provider"
|
|
32
|
+
deep link.
|
|
33
|
+
- `<GitOpsLockBanner>` repo line is now a real link when a sourceUrl is
|
|
34
|
+
available.
|
|
35
|
+
- The system→group remove button in the catalog now disables itself
|
|
36
|
+
when the system is GitOps-managed, matching the backend lock that was
|
|
37
|
+
already in place.
|
|
38
|
+
|
|
39
|
+
- 3547670: Wire the new tips infrastructure across the frontends:
|
|
40
|
+
|
|
41
|
+
**Empty-state coaching.** Replace generic "no items" copy with onboarding
|
|
42
|
+
guidance — short description, three numbered steps and a primary CTA — on
|
|
43
|
+
every EmptyState that has a meaningful next action. Affects: catalog
|
|
44
|
+
(systems + groups), dashboard, health-check page, integrations (subscriptions
|
|
45
|
+
|
|
46
|
+
- provider connections), GitOps providers + secrets, GitOps provenance,
|
|
47
|
+
SLO config + overview, maintenance config, satellites, plugin manager,
|
|
48
|
+
incident config, announcements. Read-only EmptyStates (incident history,
|
|
49
|
+
maintenance history, plugin events) get clearer descriptions explaining
|
|
50
|
+
what would populate them.
|
|
51
|
+
|
|
52
|
+
**First-run anchored tips.** Add `<Tip>` popovers to the most important
|
|
53
|
+
"Create" affordances so first-time users see a one-line explanation of
|
|
54
|
+
what they're about to make and why it matters: catalog “Add System” /
|
|
55
|
+
“Add Group”, healthcheck “Create Check”, integrations “New Subscription”,
|
|
56
|
+
GitOps “Add Provider”, SLO “Create SLO”, maintenance “Create Maintenance”,
|
|
57
|
+
satellite “Create Satellite”, plugin-manager “Install plugin”, incident
|
|
58
|
+
“Report Incident”, announcement “New Announcement”. Each tip is dismissed
|
|
59
|
+
per user (server-backed when signed in, localStorage otherwise) and
|
|
60
|
+
namespaced through `qualifyTipId(plugin, …)` so it cannot escape the
|
|
61
|
+
plugin's own namespace.
|
|
62
|
+
|
|
63
|
+
**Welcome banner on the dashboard.** A `<TipBanner>` at the top of the
|
|
64
|
+
dashboard introduces Checkstack's main flow ("add a system, then a health
|
|
65
|
+
check") with a one-click jump into the catalog.
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- 950d6ec: Fix mobile UserMenu items rendering at zero height, group menu items by
|
|
70
|
+
section, and unstack cramped card headers on small viewports.
|
|
71
|
+
|
|
72
|
+
- **UserMenu mobile bug**: On mobile, the user-menu Sheet rendered every
|
|
73
|
+
menu item as a grid row, which combined with `flex-shrink: 1` on each
|
|
74
|
+
item collapsed the buttons whose internal layout uses `display: flex`
|
|
75
|
+
(the items registered with `useNavigate` rather than `<Link>`) to zero
|
|
76
|
+
content height. Switched the mobile container to a flex column with
|
|
77
|
+
`[&>*]:shrink-0` and added `min-h-0` so the sheet scrolls correctly
|
|
78
|
+
when the list overflows.
|
|
79
|
+
|
|
80
|
+
- **UserMenu grouping**: Slot extensions now accept an optional `group`
|
|
81
|
+
field. The user menu buckets `UserMenuItemsSlot` extensions by `group`
|
|
82
|
+
and renders each group under a labeled header (`Workspace`,
|
|
83
|
+
`Reliability`, `Configuration`, `Documentation`, `Account`). Existing
|
|
84
|
+
core plugins are tagged with the appropriate group; third-party plugins
|
|
85
|
+
can pick any of these or supply their own label. Untagged extensions
|
|
86
|
+
render last with no header. `UserMenuItemsBottomSlot` is unaffected.
|
|
87
|
+
|
|
88
|
+
- **Card header responsiveness**: `CardHeaderRow` (the primitive shared by
|
|
89
|
+
Incident, Maintenance, Auth, Catalog, GitOps and other config cards) now
|
|
90
|
+
stacks vertically on narrow viewports and only switches to a single row
|
|
91
|
+
at the `sm` breakpoint, so titles and adjacent filter controls (e.g.
|
|
92
|
+
status `Select`, "Show resolved" checkbox) no longer cram together on
|
|
93
|
+
mobile. Refactored the Incident and Maintenance config pages to use the
|
|
94
|
+
primitive instead of a hand-rolled `flex items-center justify-between`
|
|
95
|
+
row, and made their `Select` triggers full-width on mobile.
|
|
96
|
+
|
|
97
|
+
- Updated dependencies [42abfff]
|
|
98
|
+
- Updated dependencies [3547670]
|
|
99
|
+
- Updated dependencies [f6f9a5c]
|
|
100
|
+
- Updated dependencies [1ef2e79]
|
|
101
|
+
- Updated dependencies [aa89bc5]
|
|
102
|
+
- Updated dependencies [3547670]
|
|
103
|
+
- Updated dependencies [950d6ec]
|
|
104
|
+
- Updated dependencies [3547670]
|
|
105
|
+
- @checkstack/common@0.9.0
|
|
106
|
+
- @checkstack/ui@1.8.0
|
|
107
|
+
- @checkstack/gitops-common@0.3.0
|
|
108
|
+
- @checkstack/frontend-api@0.5.0
|
|
109
|
+
- @checkstack/tips-frontend@0.2.0
|
|
110
|
+
|
|
3
111
|
## 0.3.8
|
|
4
112
|
|
|
5
113
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/gitops-frontend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.tsx",
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
"lint:code": "eslint . --max-warnings 0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@checkstack/common": "0.
|
|
17
|
-
"@checkstack/frontend-api": "0.
|
|
18
|
-
"@checkstack/gitops-common": "0.
|
|
19
|
-
"@checkstack/
|
|
16
|
+
"@checkstack/common": "0.9.0",
|
|
17
|
+
"@checkstack/frontend-api": "0.5.0",
|
|
18
|
+
"@checkstack/gitops-common": "0.3.0",
|
|
19
|
+
"@checkstack/tips-frontend": "0.2.0",
|
|
20
|
+
"@checkstack/ui": "1.8.0",
|
|
20
21
|
"lucide-react": "^0.344.0",
|
|
21
22
|
"react": "^18.2.0",
|
|
22
23
|
"react-router-dom": "^6.22.0"
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"typescript": "^5.0.0",
|
|
26
27
|
"@types/react": "^18.2.0",
|
|
27
|
-
"@checkstack/tsconfig": "0.0.
|
|
28
|
-
"@checkstack/scripts": "0.1
|
|
28
|
+
"@checkstack/tsconfig": "0.0.7",
|
|
29
|
+
"@checkstack/scripts": "0.3.1"
|
|
29
30
|
}
|
|
30
31
|
}
|
|
@@ -23,12 +23,23 @@ export const GitOpsLockBanner: React.FC<GitOpsLockBannerProps> = ({
|
|
|
23
23
|
<span className="text-muted-foreground ml-1">
|
|
24
24
|
— edits are disabled. Changes must be made in Git.
|
|
25
25
|
</span>
|
|
26
|
-
|
|
27
|
-
<
|
|
26
|
+
{provenance.sourceUrl ? (
|
|
27
|
+
<a
|
|
28
|
+
href={provenance.sourceUrl}
|
|
29
|
+
target="_blank"
|
|
30
|
+
rel="noreferrer noopener"
|
|
31
|
+
className="text-xs text-primary hover:underline mt-0.5 flex items-center gap-1"
|
|
32
|
+
>
|
|
33
|
+
<span className="truncate">
|
|
34
|
+
{provenance.repository}/{provenance.filePath}
|
|
35
|
+
</span>
|
|
36
|
+
<ExternalLink className="w-3 h-3 shrink-0" />
|
|
37
|
+
</a>
|
|
38
|
+
) : (
|
|
39
|
+
<div className="text-xs text-muted-foreground mt-0.5 truncate">
|
|
28
40
|
{provenance.repository}/{provenance.filePath}
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
</div>
|
|
41
|
+
</div>
|
|
42
|
+
)}
|
|
32
43
|
</div>
|
|
33
44
|
</div>
|
|
34
45
|
);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GitBranch, ExternalLink } from "lucide-react";
|
|
3
|
+
import {
|
|
4
|
+
Popover,
|
|
5
|
+
PopoverContent,
|
|
6
|
+
PopoverTrigger,
|
|
7
|
+
} from "@checkstack/ui";
|
|
8
|
+
import type { Provenance } from "@checkstack/gitops-common";
|
|
9
|
+
|
|
10
|
+
interface GitOpsSourceBadgeProps {
|
|
11
|
+
provenance: Provenance;
|
|
12
|
+
iconClassName?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Badge that signals an entity is GitOps-managed and, on click, surfaces the
|
|
17
|
+
* source repository, file path, and (when derivable) a "View in <provider>"
|
|
18
|
+
* deep link. Used on catalog cards alongside disabled controls so users can
|
|
19
|
+
* jump straight to the file that owns the entity.
|
|
20
|
+
*/
|
|
21
|
+
export const GitOpsSourceBadge: React.FC<GitOpsSourceBadgeProps> = ({
|
|
22
|
+
provenance,
|
|
23
|
+
iconClassName,
|
|
24
|
+
}) => {
|
|
25
|
+
const { repository, filePath, sourceUrl } = provenance;
|
|
26
|
+
return (
|
|
27
|
+
<Popover>
|
|
28
|
+
<PopoverTrigger asChild>
|
|
29
|
+
<button
|
|
30
|
+
type="button"
|
|
31
|
+
aria-label="View GitOps source"
|
|
32
|
+
title="View GitOps source"
|
|
33
|
+
className="shrink-0 inline-flex items-center justify-center rounded hover:bg-muted/60 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 p-0.5"
|
|
34
|
+
>
|
|
35
|
+
<GitBranch
|
|
36
|
+
className={iconClassName ?? "w-4 h-4 text-primary"}
|
|
37
|
+
/>
|
|
38
|
+
</button>
|
|
39
|
+
</PopoverTrigger>
|
|
40
|
+
<PopoverContent className="w-80 p-3 space-y-2 text-sm">
|
|
41
|
+
<div className="flex items-center gap-2 font-medium text-foreground">
|
|
42
|
+
<GitBranch className="w-4 h-4 text-primary shrink-0" />
|
|
43
|
+
Managed by GitOps
|
|
44
|
+
</div>
|
|
45
|
+
<div className="space-y-1 text-xs">
|
|
46
|
+
<div>
|
|
47
|
+
<div className="text-muted-foreground">Repository</div>
|
|
48
|
+
<div className="font-mono text-foreground break-all">
|
|
49
|
+
{repository}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div>
|
|
53
|
+
<div className="text-muted-foreground">File</div>
|
|
54
|
+
<div className="font-mono text-foreground break-all">
|
|
55
|
+
{filePath}
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
{sourceUrl ? (
|
|
60
|
+
<a
|
|
61
|
+
href={sourceUrl}
|
|
62
|
+
target="_blank"
|
|
63
|
+
rel="noreferrer noopener"
|
|
64
|
+
className="inline-flex items-center gap-1.5 text-xs font-medium text-primary hover:underline"
|
|
65
|
+
>
|
|
66
|
+
<ExternalLink className="w-3.5 h-3.5" />
|
|
67
|
+
View in source provider
|
|
68
|
+
</a>
|
|
69
|
+
) : (
|
|
70
|
+
<p className="text-xs text-muted-foreground">
|
|
71
|
+
Open this file in your Git provider to make changes.
|
|
72
|
+
</p>
|
|
73
|
+
)}
|
|
74
|
+
</PopoverContent>
|
|
75
|
+
</Popover>
|
|
76
|
+
);
|
|
77
|
+
};
|
|
@@ -263,8 +263,8 @@ export const ProvenanceStatus = () => {
|
|
|
263
263
|
<div className="text-center py-8 text-muted-foreground">Loading...</div>
|
|
264
264
|
) : synced.length === 0 ? (
|
|
265
265
|
<EmptyState
|
|
266
|
-
title="
|
|
267
|
-
description="
|
|
266
|
+
title="Nothing synced from Git yet"
|
|
267
|
+
description="Once a sync run finds and applies YAML descriptors from your Git providers, the resulting Checkstack entities (systems, groups, health checks, …) appear here with provenance — what file they came from and which commit. That's how you know which resources are managed in Git versus created in the UI."
|
|
268
268
|
/>
|
|
269
269
|
) : (
|
|
270
270
|
renderEntryList(synced, false)
|
|
@@ -4,7 +4,12 @@ import {
|
|
|
4
4
|
useApi,
|
|
5
5
|
accessApiRef,
|
|
6
6
|
} from "@checkstack/frontend-api";
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
GitOpsApi,
|
|
9
|
+
gitopsAccess,
|
|
10
|
+
pluginMetadata as gitopsPluginMetadata,
|
|
11
|
+
} from "@checkstack/gitops-common";
|
|
12
|
+
import { Tip } from "@checkstack/tips-frontend";
|
|
8
13
|
import {
|
|
9
14
|
Card,
|
|
10
15
|
CardHeader,
|
|
@@ -151,10 +156,19 @@ export const ProviderList = () => {
|
|
|
151
156
|
<CardHeaderRow>
|
|
152
157
|
<CardTitle>Git Providers</CardTitle>
|
|
153
158
|
{canManage && (
|
|
154
|
-
<
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
159
|
+
<Tip
|
|
160
|
+
plugin={gitopsPluginMetadata}
|
|
161
|
+
id="providers.create"
|
|
162
|
+
title="Manage Checkstack from Git"
|
|
163
|
+
description="Connect a GitHub or GitLab repository and Checkstack will sync your YAML descriptors — systems, groups, health checks — into the platform. Reviews happen as PRs, history lives in commits, and rollbacks are a `git revert` away."
|
|
164
|
+
side="bottom"
|
|
165
|
+
align="end"
|
|
166
|
+
>
|
|
167
|
+
<Button size="sm" onClick={() => setIsEditorOpen(true)}>
|
|
168
|
+
<Plus className="w-4 h-4 mr-2" />
|
|
169
|
+
Add Provider
|
|
170
|
+
</Button>
|
|
171
|
+
</Tip>
|
|
158
172
|
)}
|
|
159
173
|
</CardHeaderRow>
|
|
160
174
|
</CardHeader>
|
|
@@ -165,8 +179,22 @@ export const ProviderList = () => {
|
|
|
165
179
|
</div>
|
|
166
180
|
) : !providers || providers.length === 0 ? (
|
|
167
181
|
<EmptyState
|
|
182
|
+
icon={<Github className="size-10" />}
|
|
168
183
|
title="No providers configured"
|
|
169
|
-
description="
|
|
184
|
+
description="GitOps lets you keep your Checkstack infrastructure (systems, groups, health checks, secrets) in a Git repository and sync it into the platform automatically — pull-request reviews, audit trail, rollbacks, all included."
|
|
185
|
+
steps={[
|
|
186
|
+
"Add a GitHub or GitLab provider with a token that can read the repository.",
|
|
187
|
+
"Create a sync target that points at a path in that repo containing your YAML descriptors.",
|
|
188
|
+
"Push a change and watch Checkstack apply it — provenance is tracked per resource.",
|
|
189
|
+
]}
|
|
190
|
+
actions={
|
|
191
|
+
canManage ? (
|
|
192
|
+
<Button onClick={() => setIsEditorOpen(true)}>
|
|
193
|
+
<Plus className="w-4 h-4 mr-2" />
|
|
194
|
+
Add Git provider
|
|
195
|
+
</Button>
|
|
196
|
+
) : undefined
|
|
197
|
+
}
|
|
170
198
|
/>
|
|
171
199
|
) : (
|
|
172
200
|
<div className="space-y-3">
|
|
@@ -160,8 +160,29 @@ export const SecretList = () => {
|
|
|
160
160
|
</div>
|
|
161
161
|
) : !secrets || secrets.length === 0 ? (
|
|
162
162
|
<EmptyState
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
icon={<KeyRound className="size-10" />}
|
|
164
|
+
title="No secrets yet"
|
|
165
|
+
description={
|
|
166
|
+
<>
|
|
167
|
+
Secrets keep credentials, tokens and API keys out of your
|
|
168
|
+
YAML descriptors and out of Git. Reference them from any
|
|
169
|
+
GitOps file with{" "}
|
|
170
|
+
<code className="text-xs">{"${{ secrets.NAME }}"}</code>.
|
|
171
|
+
</>
|
|
172
|
+
}
|
|
173
|
+
steps={[
|
|
174
|
+
"Add a secret with a recognisable name (e.g. PROD_API_TOKEN).",
|
|
175
|
+
"Reference it in any descriptor with the ${{ secrets.NAME }} syntax — values are resolved server-side at apply time.",
|
|
176
|
+
"Rotate by editing the secret here; descriptors don't have to change.",
|
|
177
|
+
]}
|
|
178
|
+
actions={
|
|
179
|
+
canManage ? (
|
|
180
|
+
<Button onClick={() => setIsEditorOpen(true)}>
|
|
181
|
+
<Plus className="w-4 h-4 mr-2" />
|
|
182
|
+
Add your first secret
|
|
183
|
+
</Button>
|
|
184
|
+
) : undefined
|
|
185
|
+
}
|
|
165
186
|
/>
|
|
166
187
|
) : (
|
|
167
188
|
<div className="space-y-3">
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { useMemo } from "react";
|
|
2
|
+
import { usePluginClient } from "@checkstack/frontend-api";
|
|
3
|
+
import { GitOpsApi, type Provenance } from "@checkstack/gitops-common";
|
|
4
|
+
|
|
5
|
+
export interface ProvenanceLock {
|
|
6
|
+
isLocked: boolean;
|
|
7
|
+
provenance: Provenance | null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const lockKey = ({ kind, entityId }: { kind: string; entityId: string }) =>
|
|
11
|
+
`${kind}::${entityId}`;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Bulk variant of `useProvenanceLock`. Issues a single `listProvenance` query
|
|
15
|
+
* for the whole tenant and returns a `getLock(kind, entityId)` lookup, so
|
|
16
|
+
* callers rendering many rows can avoid an N-query fan-out.
|
|
17
|
+
*/
|
|
18
|
+
export const useProvenanceLocks = () => {
|
|
19
|
+
const gitopsClient = usePluginClient(GitOpsApi);
|
|
20
|
+
|
|
21
|
+
const { data: provenances, isLoading } =
|
|
22
|
+
gitopsClient.listProvenance.useQuery();
|
|
23
|
+
|
|
24
|
+
const lockMap = useMemo(() => {
|
|
25
|
+
const map = new Map<string, Provenance>();
|
|
26
|
+
for (const p of provenances ?? []) {
|
|
27
|
+
if (p.status !== "synced") continue;
|
|
28
|
+
map.set(lockKey({ kind: p.kind, entityId: p.entityId }), p);
|
|
29
|
+
}
|
|
30
|
+
return map;
|
|
31
|
+
}, [provenances]);
|
|
32
|
+
|
|
33
|
+
const getLock = (params: {
|
|
34
|
+
kind: string;
|
|
35
|
+
entityId: string | undefined;
|
|
36
|
+
}): ProvenanceLock => {
|
|
37
|
+
if (!params.entityId) return { isLocked: false, provenance: null };
|
|
38
|
+
const provenance = lockMap.get(lockKey({ kind: params.kind, entityId: params.entityId })) ?? null;
|
|
39
|
+
return { isLocked: !!provenance, provenance };
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return { getLock, isLoading };
|
|
43
|
+
};
|
package/src/index.tsx
CHANGED
|
@@ -33,14 +33,19 @@ export const gitopsPlugin = createFrontendPlugin({
|
|
|
33
33
|
createSlotExtension(UserMenuItemsSlot, {
|
|
34
34
|
id: "gitops.user-menu.link",
|
|
35
35
|
component: GitOpsMenuItem,
|
|
36
|
+
metadata: { group: "Configuration" },
|
|
36
37
|
}),
|
|
37
38
|
createSlotExtension(UserMenuItemsSlot, {
|
|
38
39
|
id: "gitops.user-menu.kind-registry",
|
|
39
40
|
component: KindRegistryMenuItem,
|
|
41
|
+
metadata: { group: "Documentation" },
|
|
40
42
|
}),
|
|
41
43
|
],
|
|
42
44
|
});
|
|
43
45
|
|
|
44
46
|
// Public API for other frontend plugins
|
|
45
47
|
export { useProvenanceLock } from "./hooks/useProvenanceLock";
|
|
48
|
+
export { useProvenanceLocks } from "./hooks/useProvenanceLocks";
|
|
49
|
+
export type { ProvenanceLock } from "./hooks/useProvenanceLocks";
|
|
46
50
|
export { GitOpsLockBanner } from "./components/GitOpsLockBanner";
|
|
51
|
+
export { GitOpsSourceBadge } from "./components/GitOpsSourceBadge";
|