Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[DDW-857] Initial setup
- Loading branch information
1 parent
66f9ea0
commit 0a357d0
Showing
5 changed files
with
103 additions
and
54 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,29 @@ | ||
name: 'Chromatic' | ||
on: push | ||
jobs: | ||
chromatic-deployment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install dependencies | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
run: yarn install | ||
- name: Publish to Chromatic | ||
if: github.ref != 'refs/heads/develop' | ||
uses: chromaui/action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
exitZeroOnChanges: true | ||
- name: Publish to Chromatic and auto accept changes | ||
if: github.ref == 'refs/heads/develop' | ||
uses: chromaui/action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
autoAcceptChanges: true |
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
23 changes: 23 additions & 0 deletions
23
source/renderer/app/components/wallet/settings/ICOPublicKeyQRCodeDialog.messages.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,23 @@ | ||
// @flow | ||
import { defineMessages } from 'react-intl'; | ||
import type { ReactIntlMessage } from '../../../types/i18nTypes'; | ||
|
||
export const messages: { | ||
[string]: ReactIntlMessage, | ||
} = defineMessages({ | ||
dialogTitle: { | ||
id: 'wallet.settings.icoPublicKey', | ||
defaultMessage: '!!!ICO Public Key', | ||
description: 'Title for the "ICO Public Key QR Code" dialog.', | ||
}, | ||
copyPublicKeyLabel: { | ||
id: 'wallet.settings.copyICOPublicKey', | ||
defaultMessage: '!!!Copy ICO public key', | ||
description: 'Copy ICO public key label.', | ||
}, | ||
derivationPathTooltip: { | ||
id: 'wallet.settings.dialog.derivationPathTooltip', | ||
defaultMessage: '!!!Derivation path', | ||
description: 'Tooltip for the derivation path', | ||
}, | ||
}); |
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