-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/prepare-ui-step1' into feat/prepare-ui-step2
- Loading branch information
Showing
36 changed files
with
99 additions
and
99 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
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 was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/desktop/views/account/multi-step/SignTransaction.svelte
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
packages/desktop/views/implicit-account-creation/ImplicitAccountCreationRouterView.svelte
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,16 @@ | ||
<script lang="ts"> | ||
import { Platform } from '@core/app' | ||
import { ImplicitAccountCreationRoute, implicitAccountCreationRoute } from '@core/router' | ||
import features from '@features/features' | ||
import { Transition } from 'shared/components' | ||
import { MainView } from './views' | ||
$: if (features.analytics.implicitAccountCreationRoute.enabled && $implicitAccountCreationRoute) | ||
Platform.trackEvent('implicit-account-route', { route: $implicitAccountCreationRoute }) | ||
</script> | ||
|
||
{#if $implicitAccountCreationRoute === ImplicitAccountCreationRoute.Activate} | ||
<Transition> | ||
<MainView /> | ||
</Transition> | ||
{/if} |
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,4 @@ | ||
export { default as ImplicitAccountCreationRouterView } from './ImplicitAccountCreationRouterView.svelte' | ||
|
||
export * from './views' | ||
export * from './multi-step' |
1 change: 1 addition & 0 deletions
1
packages/desktop/views/implicit-account-creation/multi-step/AccountCreation.svelte
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 @@ | ||
<h1>AccountCreation</h1> |
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
4 changes: 4 additions & 0 deletions
4
packages/desktop/views/implicit-account-creation/multi-step/index.js
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,4 @@ | ||
export { default as OneTimeDeposit } from './OneTimeDeposit.svelte' | ||
export { default as FundConfirmation } from './FundConfirmation.svelte' | ||
export { default as AccountCreation } from './AccountCreation.svelte' | ||
export { default as MultiStep } from './MultiStep.svelte' |
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
File renamed without changes.
1 change: 1 addition & 0 deletions
1
packages/desktop/views/implicit-account-creation/views/index.js
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 @@ | ||
export * from './activate' |
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
File renamed without changes
File renamed without changes
File renamed without changes
5 changes: 0 additions & 5 deletions
5
packages/shared/lib/contexts/account/enums/account-state.enum.ts
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/shared/lib/contexts/implicit-account-creation/enums/account-state.enum.ts
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 @@ | ||
export enum ImplicitAccountCreationState { | ||
ONE_TIME_DEPOSIT = 'OneTimeDeposit', | ||
FUND_CONFIRMATION = 'FundConfirmation', | ||
ACCOUNT_CREATION = 'AccountCreation', | ||
} |
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
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
3 changes: 3 additions & 0 deletions
3
packages/shared/lib/core/router/enums/implicit-account-creation-route.enum.ts
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,3 @@ | ||
export enum ImplicitAccountCreationRoute { | ||
Activate = 'activate', | ||
} |
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 was deleted.
Oops, something went wrong.
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
12 changes: 12 additions & 0 deletions
12
packages/shared/lib/core/router/routers/implicit-account-creation-router.ts
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,12 @@ | ||
import { writable } from 'svelte/store' | ||
import { Router } from '../classes' | ||
import { ImplicitAccountCreationRoute } from '../enums' | ||
|
||
export const implicitAccountCreationRouter = writable<ImplicitAccountCreationRouter>(null) | ||
export const implicitAccountCreationRoute = writable<ImplicitAccountCreationRoute>(null) | ||
|
||
export class ImplicitAccountCreationRouter extends Router<ImplicitAccountCreationRoute> { | ||
constructor() { | ||
super(ImplicitAccountCreationRoute.Activate, implicitAccountCreationRoute) | ||
} | ||
} |
Oops, something went wrong.