Skip to content

Commit b5d59ed

Browse files
committed
fix: add keyboard shortcut hints
1 parent c7c9f6d commit b5d59ed

File tree

1 file changed

+21
-5
lines changed
  • plugins/plugin-codeflare-dashboard/src/components/Top

1 file changed

+21
-5
lines changed

Diff for: plugins/plugin-codeflare-dashboard/src/components/Top/Header.tsx

+21-5
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,22 @@ export default class Header extends React.PureComponent<Props> {
2626
return (
2727
<Box flexDirection="column">
2828
<Box>
29-
<Text>
30-
<Text color="blue" bold>
31-
{"Cluster " /* Cheapo alignment with "Namespace" */}
29+
<Box>
30+
<Text>
31+
<Text color="magenta" bold>
32+
{"Cluster " /* Cheapo alignment with "Namespace" */}
33+
</Text>
34+
{this.props.cluster.replace(/:\d+$/, "")}
3235
</Text>
33-
{this.props.cluster.replace(/:\d+$/, "")}
34-
</Text>
36+
</Box>
3537

3638
<Spacer />
39+
40+
<Box marginLeft={1} justifyContent="flex-end">
41+
<Text dimColor color="magenta">
42+
<Text bold>PageUp/PageDown</Text>
43+
</Text>
44+
</Box>
3745
</Box>
3846

3947
<Box>
@@ -45,6 +53,14 @@ export default class Header extends React.PureComponent<Props> {
4553
{this.props.namespace}
4654
</Text>
4755
</Box>
56+
57+
<Spacer />
58+
59+
<Box marginLeft={1} justifyContent="flex-end">
60+
<Text dimColor color="blue">
61+
<Text bold>Left/Right</Text>
62+
</Text>
63+
</Box>
4864
</Box>
4965
</Box>
5066
)

0 commit comments

Comments
 (0)