File tree Expand file tree Collapse file tree 3 files changed +48
-28
lines changed
plugin-client-default/notebooks
web/scss/components/Hello Expand file tree Collapse file tree 3 files changed +48
-28
lines changed Original file line number Diff line number Diff line change 22title : Hello
33className : codeflare--welcome-guidebook
44layout :
5- 1 :
6- position : default
5+ 1 : default
76 2 :
87 position : default
98 maximized : true
9+ 3 :
10+ position : default
11+ maximized : true
1012---
1113
12- <img alt =" CodeFlare Icon " src =" @kui-shell/client/icons/svg/codeflare.svg " width =" 100 " height =" 100 " align =" left " />
14+ <img alt =" CodeFlare Icon " src =" @kui-shell/client/icons/svg/codeflare.svg " width =" 128 " height =" 128 " align =" left " />
1315
14- [ CodeFlare] ( https://codeflare.dev ) is a framework to simplify the
16+ [ CodeFlare] ( https://codeflare.dev ) simplifies the
1517integration, scaling and acceleration of complex multi-step analytics
1618and machine learning pipelines on the cloud.
1719
18- > ### Next Steps
20+ > ### Getting Started
1921>
20- > To start running jobs against the Cloud, from your terminal, try
21- > ` codeflare ` . You may also try it out in the embedded terminal below.
22-
22+ > - Use the ` codeflare ` command in your
23+ > terminal, or the one embedded here :material-transfer-right:
24+ > - This CLI guides you through running a job, using a series of
25+ > questions.
26+ > - The answers to your questions are stored as a * profile* .
2327
2428---
2529
26-
27- === "Use the CodeFlare CLI"
30+ === "Your Profiles"
2831 ```shell
2932 ---
3033 execute: now
3134 outputOnly: true
32- maximize: true
3335 ---
34- codeflare terminal codeflare
36+ codeflare get profile
3537 ```
38+ ---
3639
37- === "Your Profiles "
40+ === "Use the CodeFlare CLI "
3841 ```shell
3942 ---
4043 execute: now
4144 outputOnly: true
45+ maximize: true
4246 ---
43- codeflare get profile
47+ codeflare terminal codeflare
4448 ```
4549
4650=== "Gallery"
Original file line number Diff line number Diff line change 1717import React from "react"
1818import prettyMillis from "pretty-ms"
1919import { Profiles } from "madwizard"
20- import { Gallery , GalleryItem , Tile } from "@patternfly/react-core"
20+ import { Grid , GridItem , Tile } from "@patternfly/react-core"
2121
2222import PlusIcon from "@patternfly/react-icons/dist/esm/icons/user-plus-icon"
2323import ProfileIcon from "@patternfly/react-icons/dist/esm/icons/user-icon"
@@ -28,21 +28,23 @@ export default async function getProfiles() {
2828
2929 return {
3030 react : (
31- < Gallery className = "flex-fill sans-serif top-pad left-pad right-pad bottom-pad" hasGutter >
32- < GalleryItem >
33- < Tile className = "codeflare--tile codeflare--tile-new" title = "New Profile" icon = { < PlusIcon /> } isStacked >
34- Customize a profile
35- </ Tile >
36- </ GalleryItem >
37-
31+ < Grid className = "codeflare--gallery-grid flex-fill sans-serif top-pad left-pad right-pad bottom-pad" hasGutter >
3832 { profiles . map ( ( _ ) => (
39- < GalleryItem key = { _ . profile . name } >
33+ < GridItem key = { _ . profile . name } >
4034 < Tile className = "codeflare--tile" title = { _ . profile . name } icon = { < ProfileIcon /> } isStacked >
4135 { `Last used ${ prettyMillis ( Date . now ( ) - _ . profile . lastUsedTime , { compact : true } ) } ago` }
4236 </ Tile >
43- </ GalleryItem >
37+ </ GridItem >
4438 ) ) }
45- </ Gallery >
39+
40+ {
41+ < GridItem >
42+ < Tile className = "codeflare--tile codeflare--tile-new" title = "New Profile" icon = { < PlusIcon /> } isStacked >
43+ Customize a profile
44+ </ Tile >
45+ </ GridItem >
46+ }
47+ </ Grid >
4648 ) ,
4749 }
4850}
Original file line number Diff line number Diff line change 2828 }
2929
3030 @include Split (3 ) {
31- grid-template-rows : 1 fr 1.5 fr 0.875 fr ;
32- grid-template-columns : 1fr ;
33- grid-template-areas : " T1" " T2" " T3" ;
31+ grid-template-rows : 2 fr 1 fr ;
32+ grid-template-columns : 1fr 2 fr ;
33+ grid-template-areas : " T1 T3 " " T2 T3" ;
3434 }
3535 }
3636}
@@ -112,6 +112,10 @@ $cell: 1.5em;
112112}
113113
114114.codeflare--welcome-guidebook {
115+ svg [icon = " Lightbulb" ] {
116+ fill : var (--color-text-02 );
117+ }
118+
115119 @include Hint {
116120 display : block ;
117121 .pf-c-hint__actions {
@@ -133,4 +137,14 @@ $cell: 1.5em;
133137 .pf-c-tile__body {
134138 color : var (--color-text-02 );
135139 }
140+
141+ /* * TODO move this somewhere else? */
142+ .codeflare--gallery-grid {
143+ grid-template-columns : repeat (auto-fill , minmax (10em , max-content ));
144+
145+ & > div {
146+ grid-column-start : unset ;
147+ grid-column-end : unset ;
148+ }
149+ }
136150}
You can’t perform that action at this time.
0 commit comments