-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Home onboarding logic with env setup (#5274)
* feature: Dashboard UI onboarding component * i18n * feature: Dashboard UI onboarding component * i18n * Fetch dateJoined from user query * Add handle check threshold date for new users * Refactor onboarding logic * Add onboarding step complete triggers * Add permissions checks to buttons * Fix links in buttons * Fix test and improve logic * add test to step modifications and small refactor * add toggle handling when step exists during toggling * Add example env * Improve toggle accordion logic and tests * Withdraw auth changes * Add changeset * Extract messages * Simplify code * Final fixes, refactors and tests * Fix calulcate expanded id * Add ONBOARDING_USER_JOINED_DATE_THRESHOLD to workflow * Fix include * Extract messages * Use vars instead of secrets * Remove env from pipelines * Add fallback to env date * Remove duplicated useOnboardingData.tsx --------- Co-authored-by: Wojciech <[email protected]> Co-authored-by: M.Graczyk <[email protected]>
- Loading branch information
1 parent
8bc92e3
commit 67687b3
Showing
29 changed files
with
895 additions
and
290 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"saleor-dashboard": patch | ||
--- | ||
|
||
User onboardng steps are now checking when user does required actions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ export const fragmentUser = gql` | |
firstName | ||
lastName | ||
isStaff | ||
dateJoined | ||
metadata { | ||
key | ||
value | ||
|
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 |
---|---|---|
|
@@ -212,6 +212,7 @@ export const UserFragmentDoc = gql` | |
firstName | ||
lastName | ||
isStaff | ||
dateJoined | ||
metadata { | ||
key | ||
value | ||
|
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.