-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(onboarding): project switcher and mobile friendly (#18634)
* show project switcher in top bar * move project switcher actions to topbarlogic so it's not dependent on having ingestionlogic around * set logic to make mobile friendly * only show continue button on instructions * if click back on instructions, show sdk options * make other products screen mobile friendly * use useWindowSize hook in sdks screen * fix width * make billinghero mobile friendly * make billing plan comparison mobile friendly * fix types
- Loading branch information
1 parent
6b1d662
commit 422e8f8
Showing
13 changed files
with
207 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { actions, kea, reducers, path } from 'kea' | ||
|
||
import type { topBarLogicType } from './topBarLogicType' | ||
|
||
export const topBarLogic = kea<topBarLogicType>([ | ||
path(['layout', 'navigation', 'TopBar', 'topBarLogic']), | ||
actions({ | ||
toggleProjectSwitcher: true, | ||
hideProjectSwitcher: true, | ||
}), | ||
reducers({ | ||
isProjectSwitcherShown: [ | ||
false, | ||
{ | ||
toggleProjectSwitcher: (state) => !state, | ||
hideProjectSwitcher: () => false, | ||
}, | ||
], | ||
}), | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,5 @@ | |
.BillingHero__hog__img { | ||
height: 200px; | ||
width: 200px; | ||
margin: -20px -30px; | ||
margin: -20px 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.