-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1711 from MyCryptoHQ/develop
Tag Release Candidate 2
- Loading branch information
Showing
124 changed files
with
1,400 additions
and
576 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,28 @@ | ||
import * as interfaces from './actionTypes'; | ||
import { TypeKeys } from './constants'; | ||
import { ISignedMessage } from 'libs/signing'; | ||
|
||
export type TSignMessageRequested = typeof signMessageRequested; | ||
export function signMessageRequested(payload: string): interfaces.SignMessageRequestedAction { | ||
return { | ||
type: TypeKeys.SIGN_MESSAGE_REQUESTED, | ||
payload | ||
}; | ||
} | ||
|
||
export type TSignLocalMessageSucceeded = typeof signLocalMessageSucceeded; | ||
export function signLocalMessageSucceeded( | ||
payload: ISignedMessage | ||
): interfaces.SignLocalMessageSucceededAction { | ||
return { | ||
type: TypeKeys.SIGN_LOCAL_MESSAGE_SUCCEEDED, | ||
payload | ||
}; | ||
} | ||
|
||
export type TSignMessageFailed = typeof signMessageFailed; | ||
export function signMessageFailed(): interfaces.SignMessageFailedAction { | ||
return { | ||
type: TypeKeys.SIGN_MESSAGE_FAILED | ||
}; | ||
} |
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,22 @@ | ||
import { TypeKeys } from './constants'; | ||
import { ISignedMessage } from 'libs/signing'; | ||
|
||
export interface SignMessageRequestedAction { | ||
type: TypeKeys.SIGN_MESSAGE_REQUESTED; | ||
payload: string; | ||
} | ||
|
||
export interface SignLocalMessageSucceededAction { | ||
type: TypeKeys.SIGN_LOCAL_MESSAGE_SUCCEEDED; | ||
payload: ISignedMessage; | ||
} | ||
|
||
export interface SignMessageFailedAction { | ||
type: TypeKeys.SIGN_MESSAGE_FAILED; | ||
} | ||
|
||
/*** Union Type ***/ | ||
export type MessageAction = | ||
| SignMessageRequestedAction | ||
| SignLocalMessageSucceededAction | ||
| SignMessageFailedAction; |
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 TypeKeys { | ||
SIGN_MESSAGE_REQUESTED = 'SIGN_MESSAGE_REQUESTED', | ||
SIGN_LOCAL_MESSAGE_SUCCEEDED = 'SIGN_LOCAL_MESSAGE_SUCCEEDED', | ||
SIGN_MESSAGE_FAILED = 'SIGN_MESSAGE_FAILED' | ||
} |
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 * from './actionCreators'; | ||
export * from './constants'; | ||
export * from './actionTypes'; |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export enum TypeKeys { | ||
PARITY_SIGNER_REQUEST_SIGNATURE = 'PARITY_SIGNER_REQUEST_SIGNATURE', | ||
PARITY_SIGNER_REQUEST_TX_SIGNATURE = 'PARITY_SIGNER_REQUEST_TX_SIGNATURE', | ||
PARITY_SIGNER_REQUEST_MSG_SIGNATURE = 'PARITY_SIGNER_REQUEST_MSG_SIGNATURE', | ||
PARITY_SIGNER_FINALIZE_SIGNATURE = 'PARITY_SIGNER_FINALIZE_SIGNATURE' | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@import 'common/sass/variables'; | ||
@import 'common/sass/mixins'; | ||
|
||
.AppAlpha { | ||
@include cover-message; | ||
background: $brand-info; | ||
left: $electron-sidebar-width - 1; | ||
|
||
&-content { | ||
h2 { | ||
text-align: center; | ||
} | ||
|
||
p { | ||
text-align: justify; | ||
} | ||
|
||
&-btn { | ||
display: block; | ||
width: 100%; | ||
max-width: 280px; | ||
margin: 40px auto 0; | ||
border: none; | ||
padding: 0; | ||
transition: $transition; | ||
height: 60px; | ||
line-height: 60px; | ||
font-size: 22px; | ||
background: rgba(#fff, 0.96); | ||
color: $gray-dark; | ||
border-radius: 4px; | ||
|
||
&:hover { | ||
background: #fff; | ||
color: $gray-darker; | ||
} | ||
} | ||
} | ||
|
||
// Fade out | ||
&.is-fading { | ||
pointer-events: none; | ||
opacity: 0; | ||
background: #fff; | ||
transition: all 500ms ease 400ms; | ||
|
||
.AppAlpha-content { | ||
opacity: 0; | ||
transform: translateY(15px); | ||
transition: all 500ms ease; | ||
} | ||
} | ||
} |
Oops, something went wrong.