Skip to content

Commit

Permalink
Merge branch 'develop' into fix/ddw-331-update-api-request-breaking-c…
Browse files Browse the repository at this point in the history
…hanges
  • Loading branch information
nikolaglumac committed Aug 3, 2020
2 parents 64ce6c0 + 6a0ff84 commit 2f18ad3
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 13 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,17 @@
Changelog
=========

## vNext

### Features

- Disabled creating Byron wallets ([PR 2126](https://github.com/input-output-hk/daedalus/pull/2126))

### Fixes

- Fixed Daedalus logo animation on the "Loading" screen ([PR 2124](https://github.com/input-output-hk/daedalus/pull/2124))
- Fixed text copy on the "Delegation center" screen ([PR 2125](https://github.com/input-output-hk/daedalus/pull/2125))

## 2.0.0

### Features
Expand Down
Expand Up @@ -27,12 +27,12 @@ $adaLogoWidth: 43px;
}

.daedalusLogo {
height: 135px;
margin: 0 114px;
width: 173px;
height: 140px;
margin: 0 110px;
width: 180px;
svg {
height: 135px;
width: 173px;
height: 140px;
width: 180px;
}
}

Expand Down
7 changes: 6 additions & 1 deletion source/renderer/app/components/wallet/WalletAdd.js
Expand Up @@ -100,6 +100,7 @@ type Props = {
isMainnet: boolean,
isTestnet: boolean,
isProduction: boolean,
isShelleyActivated: boolean,
};

@observer
Expand All @@ -123,6 +124,7 @@ export default class WalletAdd extends Component<Props> {
isMainnet,
isTestnet,
isProduction,
isShelleyActivated,
} = this.props;

const componentClasses = classnames([styles.component, 'WalletAdd']);
Expand All @@ -146,7 +148,10 @@ export default class WalletAdd extends Component<Props> {
? intl.formatMessage(messages.createDescriptionItn)
: intl.formatMessage(messages.createDescription)
}
isDisabled={isMaxNumberOfWalletsReached}
isDisabled={
isMaxNumberOfWalletsReached ||
(!isIncentivizedTestnet && !isShelleyActivated)
}
/>
<BigButtonForDialogs
className="joinWalletButton"
Expand Down
4 changes: 2 additions & 2 deletions source/renderer/app/components/widgets/splash/Splash.scss
Expand Up @@ -68,10 +68,10 @@
z-index: 2000;

.daedalusIcon {
height: 135px;
height: 140px;
margin-bottom: 30px;
object-fit: contain;
width: 173px;
width: 180px;

svg {
path {
Expand Down
6 changes: 3 additions & 3 deletions source/renderer/app/containers/wallet/WalletAddPage.js
Expand Up @@ -31,17 +31,16 @@ export default class WalletAddPage extends Component<Props> {

render() {
const { actions, stores } = this.props;
const { wallets, walletMigration, uiDialogs } = stores;
const { networkStatus, wallets, walletMigration, uiDialogs } = stores;
const {
createWalletStep,
createWalletUseNewProcess,
restoreWalletStep,
restoreWalletUseNewProcess,
environment,
} = wallets;

const { isShelleyActivated } = networkStatus;
const { walletMigrationStep } = walletMigration;

const { isMainnet, isTestnet, isProduction } = environment;

const onCreateWallet = createWalletUseNewProcess
Expand Down Expand Up @@ -84,6 +83,7 @@ export default class WalletAddPage extends Component<Props> {
isMainnet={isMainnet}
isTestnet={isTestnet}
isProduction={isProduction}
isShelleyActivated={isShelleyActivated}
/>
{activeDialog}
</Layout>
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/en-US.json
Expand Up @@ -283,7 +283,7 @@
"staking.delegationCenter.bodyTitle": "Wallets",
"staking.delegationCenter.currentSlot": "Current slot",
"staking.delegationCenter.delegate": "Delegate",
"staking.delegationCenter.description": "Changes to delegation preferences will take effect after both the current and next Cardano epochs have completed. Epochs on the Shelley Testnet last six hours. Any changes made now will take effect in {timeUntilFutureEpoch}.",
"staking.delegationCenter.description": "Changes to delegation preferences will take effect after both the current and next Cardano epochs have completed. Epochs on the Cardano mainnet last 5 days. Any changes made now will take effect in {timeUntilFutureEpoch}.",
"staking.delegationCenter.epoch": "Epoch",
"staking.delegationCenter.headingLeft": "Next Cardano epoch starts in",
"staking.delegationCenter.headingRight": "Current Cardano epoch",
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/ja-JP.json
Expand Up @@ -283,7 +283,7 @@
"staking.delegationCenter.bodyTitle": "ウォレット",
"staking.delegationCenter.currentSlot": "現行スロット",
"staking.delegationCenter.delegate": "委任する",
"staking.delegationCenter.description": "変更した委任設定は、現行の次のCardanoエポックが終了すると有効になります。Shelleyテストネットのエポックの継続時間は6時間です。今回の変更はすべて{timeUntilFutureEpoch}後に有効になります。",
"staking.delegationCenter.description": "変更した委任設定は、現行の次のCardanoエポックが終了すると有効になります。Cardanoメインネットにおける1エポックは5日です。今回の変更はすべて{timeUntilFutureEpoch}後に有効になります。",
"staking.delegationCenter.epoch": "エポック",
"staking.delegationCenter.headingLeft": "次のCardanoエポック開始まであと",
"staking.delegationCenter.headingRight": "現在のCardanoエポック",
Expand Down
1 change: 1 addition & 0 deletions storybook/stories/wallets/addWallet/Add.stories.js
Expand Up @@ -26,6 +26,7 @@ storiesOf('Wallets|Add Wallet', module)
onImport={() => {}}
isMainnet={boolean('isMainnet', true)}
isTestnet={boolean('isTestnet', false)}
isShelleyActivated={boolean('isShelleyActivated', true)}
isProduction
isIncentivizedTestnet={isIncentivizedTestnetTheme(props.currentTheme)}
isMaxNumberOfWalletsReached={boolean(
Expand Down

0 comments on commit 2f18ad3

Please sign in to comment.