Skip to content

Commit d7314bc

Browse files
committed
feat: add github icon and version to the status stripe
1 parent 2cf4f70 commit d7314bc

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

plugins/plugin-client-default/src/index.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@
1717
import React from "react"
1818

1919
import { Capabilities } from "@kui-shell/core"
20-
import { Kui, KuiProps, ContextWidgets, MeterWidgets, SpaceFiller } from "@kui-shell/plugin-client-common"
20+
import {
21+
Kui,
22+
KuiProps,
23+
ContextWidgets,
24+
GitHubIcon,
25+
MadeWithKui,
26+
MeterWidgets,
27+
SpaceFiller,
28+
TextWithIconWidget,
29+
} from "@kui-shell/plugin-client-common"
2130

2231
// import { CurrentContext, CurrentNamespace } from "@kui-shell/plugin-kubectl/components"
2332
import { Search } from "@kui-shell/plugin-electron-components"
@@ -57,12 +66,16 @@ export default function renderMain(props: KuiProps) {
5766
toplevel={!Capabilities.inBrowser() && <Search />}
5867
>
5968
<ContextWidgets>
69+
<GitHubIcon />
70+
<TextWithIconWidget text={version} viewLevel="normal" />
6071
{/* <CurrentContext />
6172
<CurrentNamespace /> */}
6273
</ContextWidgets>
6374

6475
<SpaceFiller />
65-
<MeterWidgets></MeterWidgets>
76+
<MeterWidgets>
77+
<MadeWithKui />
78+
</MeterWidgets>
6679
</Kui>
6780
)
6881
}

0 commit comments

Comments
 (0)