Skip to content

Commit f8e2e26

Browse files
committed
feat: another round of dashboard tweaks
1) add "CodeFlare <version>" 2) swap order of that and the github icon 3) add Tuatara and Linen themes 4) remove Carbon and Core themes (no time to get charts looking good) 5) restore gpu temperature chart 6) use interpolation in charts 7) initial chart tooltip (needs some work in formatting)
1 parent 375da0e commit f8e2e26

File tree

24 files changed

+808
-156
lines changed

24 files changed

+808
-156
lines changed

package-lock.json

Lines changed: 0 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,9 @@
110110
"@kui-shell/client": "file:./plugins/plugin-client-default",
111111
"@kui-shell/core": "11.5.0-dev-20220623-110659",
112112
"@kui-shell/plugin-bash-like": "11.5.0-dev-20220623-110659",
113-
"@kui-shell/plugin-carbon-themes": "11.5.0-dev-20220623-110659",
114113
"@kui-shell/plugin-client-common": "11.5.0-dev-20220623-110659",
115114
"@kui-shell/plugin-codeflare": "file:./plugins/plugin-codeflare",
116115
"@kui-shell/plugin-core-support": "11.5.0-dev-20220623-110659",
117-
"@kui-shell/plugin-core-themes": "11.5.0-dev-20220623-110659",
118116
"@kui-shell/plugin-electron-components": "11.5.0-dev-20220623-110659",
119117
"@kui-shell/plugin-kubectl": "11.5.0-dev-20220623-110659",
120118
"@kui-shell/plugin-madwizard": "file:./plugins/plugin-madwizard",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"defaultTheme": "PatternFly4 Dark"
2+
"defaultTheme": "Tuatara"
33
}

plugins/plugin-client-default/notebooks/dashboard.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,22 @@ layout:
5151

5252
---
5353

54-
=== "GPU Metrics"
54+
=== "GPU Charts"
5555
```shell
5656
---
5757
execute: now
58+
maximize: true
5859
outputOnly: true
5960
---
60-
chart gpu "$LOGDIR/resources/gpu.txt"
61+
chart gpu "${LOGDIR}/resources/gpu.txt"
6162
```
6263

63-
=== "Node Metrics"
64+
=== "CPU Charts"
6465
```shell
6566
---
6667
execute: now
68+
maximize: true
6769
outputOnly: true
6870
---
69-
chart vmstat "$LOGDIR/resources/pod-vmstat.txt"
71+
chart vmstat "${LOGDIR}/resources/pod-vmstat.txt"
7072
```

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
import { Search } from "@kui-shell/plugin-electron-components"
3333

3434
import { version } from "@kui-shell/client/package.json"
35-
import { productTitle } from "@kui-shell/client/config.d/name.json"
35+
import { productName, productTitle } from "@kui-shell/client/config.d/name.json"
3636

3737
/**
3838
* We will set this bit when the user dismisses the Welcome to Kui
@@ -66,8 +66,8 @@ export default function renderMain(props: KuiProps) {
6666
toplevel={!Capabilities.inBrowser() && <Search />}
6767
>
6868
<ContextWidgets>
69+
<TextWithIconWidget text={`${productName} ${version}`} viewLevel="normal" />
6970
<GitHubIcon />
70-
<TextWithIconWidget text={version} viewLevel="normal" />
7171
{/* <CurrentContext />
7272
<CurrentNamespace /> */}
7373
</ContextWidgets>

0 commit comments

Comments
 (0)