Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(*): new onboarding process #194

Merged
merged 55 commits into from
Jan 20, 2022
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
3db9577
feat(*) setup basics of new onboarding process
tomaszwylezek Jul 22, 2021
498a876
feat(*) provide more pages
tomaszwylezek Jul 23, 2021
af9e7d9
feat(*) use kradio
tomaszwylezek Jul 26, 2021
271326a
feat(*) add tests
tomaszwylezek Jul 26, 2021
7c8771c
feat(*) dataplanes overview adjustments
tomaszwylezek Jul 26, 2021
3cc76e7
feat(*) add tests
tomaszwylezek Jul 27, 2021
0f9d385
feat(*) add sample diagram
tomaszwylezek Jul 28, 2021
bb263d1
feat(*) style adjustmets and last step
tomaszwylezek Jul 28, 2021
3177a5c
feat(*) add hoverable svg wrapper
tomaszwylezek Aug 10, 2021
5661ee3
feat(*) add global onboarding page wrapper
tomaszwylezek Aug 10, 2021
6139c88
refactor(*) remove old onboarding
tomaszwylezek Sep 14, 2021
0909439
feat(*) adjustment of main containers
tomaszwylezek Sep 15, 2021
9aead75
feat(onboarding) add new header
tomaszwylezek Sep 15, 2021
8bd8326
feat(onboarding) adjust navigation and page
tomaszwylezek Sep 16, 2021
e4136fe
feat(onboarding) adjust views navigation/forms and titles
tomaszwylezek Sep 16, 2021
f915f56
feat(onboarding) adjust not found and header
tomaszwylezek Sep 16, 2021
12eee12
feat(onboarding) add animation/extend tailwind
tomaszwylezek Sep 16, 2021
0116b15
feat(onboarding) add first graph and example animtion
tomaszwylezek Sep 16, 2021
2f4ea61
feat(onboarding) add rest graphs
tomaszwylezek Sep 16, 2021
d924f18
feat(onboarding) add demo options
tomaszwylezek Sep 20, 2021
4650665
feat(onboarding) code cleanup
tomaszwylezek Sep 20, 2021
da7eac7
feat(onboarding) add tests and small cleanups
tomaszwylezek Sep 22, 2021
20b8b57
feat(onboarding) change loader and overall adjustments
tomaszwylezek Sep 23, 2021
0be6423
(fix) adjust selector
tomaszwylezek Oct 12, 2021
2b090e1
wip
tomaszwylezek Oct 19, 2021
7710430
feat(onboarding) add welcome screen
tomaszwylezek Oct 22, 2021
9ead1e6
feat(onboarding) adjust welcome screen
tomaszwylezek Oct 22, 2021
998c945
feat(onboarding) adjust welcome screen
tomaszwylezek Oct 22, 2021
3fc959c
feat(onboarding) css adjustments
tomaszwylezek Oct 22, 2021
6881c1c
feat(onbaording) fix tests
tomaszwylezek Oct 25, 2021
e7e3214
feat(onbaording) cleanup
tomaszwylezek Oct 29, 2021
ff16fb8
feat(onbaording) extract variables
tomaszwylezek Oct 29, 2021
2299fd2
feat(onbaording) animation adjustments
tomaszwylezek Oct 29, 2021
721879d
Merge branch 'master' into feat/new-onboarding-process
tomaszwylezek Nov 10, 2021
9283e2b
Merge branch 'master' into feat/new-onboarding-process
tomaszwylezek Nov 15, 2021
34385b4
feat(onboarding) add review changes
tomaszwylezek Nov 18, 2021
2daea89
Merge branch 'master' into feat/new-onboarding-process
tomaszwylezek Nov 18, 2021
3a956bc
feat(onboarding) adjust api
tomaszwylezek Nov 18, 2021
e2adceb
Merge branch 'master' into feat/new-onboarding-process
tomaszwylezek Nov 29, 2021
2144f27
feat(onboarding) adjust descriptions
tomaszwylezek Nov 30, 2021
813b452
feat(onboarding) add multizone step
tomaszwylezek Dec 8, 2021
beec0a2
feat(onboarding) add multizone status step
tomaszwylezek Dec 8, 2021
bab082b
tests(onboarding) fix onboarding test
tomaszwylezek Dec 8, 2021
6f28e1b
fix(onboarding) scss variable adjustement
tomaszwylezek Dec 8, 2021
ae12a0c
fix(onboarding) complete onboarding
tomaszwylezek Dec 9, 2021
e9f7149
feat(onboarding) code adjustments and new loading option
tomaszwylezek Jan 4, 2022
383a9e0
feat(onboarding) temporary disable routing to enable checks on netlify
tomaszwylezek Jan 4, 2022
ed2c352
feat(onboarding) text adjustments
tomaszwylezek Jan 13, 2022
e736a19
feat(onboarding) disable router mocks
tomaszwylezek Jan 14, 2022
75b2846
Merge branch 'master' into feat/new-onboarding-process
tomaszwylezek Jan 14, 2022
6658c40
feat(onboarding) demo adjustments
tomaszwylezek Jan 17, 2022
fb4033d
Merge branch 'master' into feat/new-onboarding-process
tomaszwylezek Jan 17, 2022
600f63f
fix(onboarding) typo
tomaszwylezek Jan 17, 2022
ca2a6f2
feat(onboarding) small adjustments
tomaszwylezek Jan 19, 2022
2174f19
feat(onboarding) adjust naming
tomaszwylezek Jan 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@kongponents/kicon": "^5.0.7",
"@kongponents/kmodal": "^4.0.2",
"@kongponents/kpop": "^4.0.2",
"@kongponents/kradio": "^4.0.2",
"@kongponents/krumbs": "^4.0.2",
"@kongponents/ktable": "^4.0.2",
"@kongponents/ktabs": "^4.0.2",
Expand Down
10 changes: 4 additions & 6 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@
<KLoader />
</div>

<div v-else>
<div v-else-if="status !== 'OK'">
<GlobalHeader />
<router-view v-if="status === 'OK'" />
<main
v-else
class="main-content"
>
<main class="main-content">
<ApiErrorMessage />
</main>
</div>

<router-view v-else />
</div>
</template>

Expand Down
13 changes: 0 additions & 13 deletions src/Cache.ts

This file was deleted.

Binary file added src/assets/images/kuma_gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions src/assets/images/new-service-demo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/assets/images/new-service-manually.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions src/assets/images/onboarding-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions src/assets/styles/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@
padding: 44px;
transition: var(--transitionTiming) margin var(--transition);
}
.page {
max-width: 76rem;
margin: 0 auto;
}

.main-content-container {
max-width: var(--global-content-max-width);
margin: 0 auto;
Expand Down
7 changes: 0 additions & 7 deletions src/assets/styles/main.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/* Base */

html {
/* font-size: var(--base-font-size-root); */
}

body {
padding-top: var(--topbar-height);
font-family: var(--base-font-family);
/* font-size: var(--base-font-size); */
}

button, [type=button], [type=reset], [type=submit] {
Expand Down
3 changes: 1 addition & 2 deletions src/assets/styles/transitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

.fade-enter-active,
.fade-leave-active {
/* transition: opacity .12s linear; */
transition: opacity 0 linear;
transition: opacity .2s linear;
}

.fade-enter,
Expand Down
7 changes: 0 additions & 7 deletions src/assets/styles/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@

/* New for Kuma */

.arrow-link {
display: flex;
align-items: center;
text-decoration: none;
color: var(--blue-4);
}

.k-button {
font-weight: normal !important;
display: flex;
Expand Down
37 changes: 36 additions & 1 deletion src/assets/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
--subnavWidth: 210px;
--subnavHorizontalMargin: 1rem;
--sidebarBackground: var(--white);
--headerHeight: var(--topbar-height);
--transition: cubic-bezier(1.0, 0.5, 0.8, 1.0);
--transitionTiming: 0.1s; // 100ms

Expand Down Expand Up @@ -150,4 +149,40 @@

// Empty State
--KEmptyStateContentWidth: 85%;

// Onboarding

--kuma-purple-1: #260D50;
--kuma-purple-1-rgb: 38, 13, 80;

--kuma-purple-2: #822DC5;
--kuma-purple-2-rgb: 130, 45, 197;

--kuma-gradient: var(--kuma-purple-1), var(--kuma-purple-2);

--onboarding-green: #5da46f;
--onboarding-green-darken: #539464;

--onboarding-blueish: #f6f8fd;
--onboarding-blueish-darken: #e1e8f8;

--OnboardingTitle: var(--kuma-gradient);

--OnboardingRadio: var(--onboarding-green);

--OnboardingPageGraphBackground: var(--onboarding-blueish);

--OnboardingNextButton: var(--onboarding-green);
--OnboardingNextButtonHover: var(--onboarding-green-darken);

--OnboardingBackButton: var(--onboarding-blueish);
--OnboardingBackButtonHover: var(--onboarding-blueish-darken);

--OnboardingSkipSetupButton: rgba(var(--kuma-purple-1-rgb), 0.3);

--OnbordingBoxBorder: #7b2bbc;

--OnboardingLoading: var(--kuma-purple-2-rgb);

--OnboardingShadow: 4px 4px 14px 4px rgba(103, 71, 128, 0.11);
}
10 changes: 4 additions & 6 deletions src/components/Breadcrumbs.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<template>
<div>
<Krumbs
v-if="!hideBreadcrumbs"
:items="routes"
/>
</div>
<Krumbs
v-if="!hideBreadcrumbs"
:items="routes"
/>
</template>

<script>
Expand Down
6 changes: 6 additions & 0 deletions src/components/Global/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ export default {
return Boolean(this.env && this.apiUrl)
},
},
mounted() {
document.body.style.paddingTop = 'var(--topbar-height)'
},
destroyed() {
document.body.style.paddingTop = ''
},
tomaszwylezek marked this conversation as resolved.
Show resolved Hide resolved
}
</script>

Expand Down
Loading