Skip to content

Commit d5aaef0

Browse files
committed
fix: don't show kui welcome on load
1 parent 3db2c10 commit d5aaef0

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ import { productName } from '@kui-shell/client/config.d/name.json'
3636
*/
3737
// const welcomeBit = 'plugin-client-default.welcome-was-dismissed'
3838

39+
// to replay a guidebook on startup, add this <Kui/> property
40+
// commandLine={
41+
// props.commandLine || [
42+
// 'replay',
43+
// // '-r', // with this, AnimalApp opens showing only the animalapp.json notebook
44+
// '/kui/welcome.md'
45+
// ]
46+
// }
47+
3948
/**
4049
* Format our body, with extra status stripe widgets
4150
* - <CurrentGitBranch />
@@ -51,13 +60,6 @@ export default function renderMain(props: KuiProps) {
5160
{...props}
5261
toplevel={!Capabilities.inBrowser() && <Search />}
5362
guidebooks={guidebooks.submenu}
54-
commandLine={
55-
props.commandLine || [
56-
'replay',
57-
// '-r', // with this, AnimalApp opens showing only the animalapp.json notebook
58-
'/kui/welcome.md'
59-
]
60-
}
6163
>
6264
<ContextWidgets>
6365
<CurrentWorkingDirectory />

0 commit comments

Comments
 (0)