View on GitHub
File Changes
m
+1/-1

                      
### Features

                      
-
- Implemented "Transfer funds" wizard for Incentivized Testnet version of Daedalus ([PR 1634](https://github.com/input-output-hk/daedalus/pull/1634))
- Implemented cancel pending transaction V2 API endpoint and UI ([PR 1633](https://github.com/input-output-hk/daedalus/pull/1633))
+
- Implemented "Transfer funds" wizard for Incentivized Testnet version of Daedalus ([PR 1634](https://github.com/input-output-hk/daedalus/pull/1634), [PR 1659](https://github.com/input-output-hk/daedalus/pull/1659))
- Implemented "Network info" overlay ([PR 1655](https://github.com/input-output-hk/daedalus/pull/1655))
- Disable "Manual update" notification for Incentivized Testnet version of Daedalus ([PR 1652](https://github.com/input-output-hk/daedalus/pull/1652))
- Update rewards screen for incentivized testnet ([PR 1643](https://github.com/input-output-hk/daedalus/pull/1643))
  onTransferFunds?: Function,
  onWalletAdd?: Function,
  hasAnyWallets?: boolean,
+
  onLearnMore?: Function,
};

                      
@observer
      hasAnyWallets,
      onTransferFunds,
      onWalletAdd,
+
      onLearnMore,
    } = this.props;

                      
    const topBarStyles = classNames([
        </div>
        {hasLegacyNotification && (
          <LegacyNotification
-
            onLearnMore={() => null}
+
            onLearnMore={onLearnMore}
            onTransferFunds={onTransferFundsFn}
            hasAnyWallets={hasAnyWallets}
            onWalletAdd={onWalletAdd}
    defaultMessage: '!!!Move all of the ada from this wallet',
    description: 'Add wallet action of legacy notification.',
  },
+
  learnMoreLinkUrl: {
+
    id: 'wallet.legacy.notification.learnMore.url',
+
    defaultMessage: '!!!https://iohk.zendesk.com/hc/en-us',
+
    description: '"Learn more" link URL',
+
  },
});

                      
type Props = {
    intl: intlShape.isRequired,
  };

                      
+
  onLearnMore = () => {
+
    const { intl } = this.context;
+
    const learnMoreLinkUrl = intl.formatMessage(messages.learnMoreLinkUrl);
+
    this.props.onLearnMore(learnMoreLinkUrl);
+
  };
+

                      
  render() {
    const { intl } = this.context;
-
    const {
-
      onLearnMore,
-
      onTransferFunds,
-
      hasAnyWallets,
-
      onWalletAdd,
-
    } = this.props;
+
    const { onTransferFunds, hasAnyWallets, onWalletAdd } = this.props;
    const title = intl.formatMessage(messages.title);
    const description = intl.formatMessage(messages.description);
    const actionLearnMore = intl.formatMessage(messages.actionLearnMore);
          <Button
            className={styles.actionLearnMore}
            label={actionLearnMore}
-
            onClick={onLearnMore}
+
            onClick={this.onLearnMore}
            skin={ButtonSkin}
          />
          {
    const {
      currentRoute,
      environment: { isMainnet, network },
+
      openExternalLink,
    } = app;
    const hasAnyWallets = allWallets.length > allLegacyWallets.length;
    const walletRoutesMatch = matchRoute(
        onTransferFunds={onTransferFunds}
        hasAnyWallets={hasAnyWallets}
        onWalletAdd={onWalletAdd}
+
        onLearnMore={openExternalLink}
      >
        {testnetLabel}
        <NodeSyncStatusIcon networkStatus={networkStatus} />
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!anfordern",
          "column": 13,
          "line": 32
        }
+
      },
+
      {
+
        "defaultMessage": "!!!https://iohk.zendesk.com/hc/en-us",
+
        "description": "\"Learn more\" link URL",
+
        "end": {
+
          "column": 3,
+
          "line": 41
+
        },
+
        "file": "source/renderer/app/components/notifications/LegacyNotification.js",
+
        "id": "wallet.legacy.notification.learnMore.url",
+
        "start": {
+
          "column": 20,
+
          "line": 37
+
        }
      }
    ],
    "path": "source/renderer/app/components/notifications/LegacyNotification.json"
  "wallet.legacy.notification.actionMove": "Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "Add wallet",
  "wallet.legacy.notification.description": "This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "Move funds from the legacy wallet",
  "wallet.navigation.more": "More",
  "wallet.navigation.receive": "Receive",
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!primi",
  "wallet.legacy.notification.actionMove": "すべてのADAをこのウォレットから移す",
  "wallet.legacy.notification.addWallet": "ウォレットを追加",
  "wallet.legacy.notification.description": "これは旧アドレスを使用している旧タイプのウォレットであり、新機能をサポートしていません。 このウォレットに含まれるすべてのADAを、新機能の使用が可能な新タイプのウォレットに移してください。既存のウォレットへ移動させたくない場合は、新規にウォレットを作成することもできます。画面の指示に従って手続きをしてください。",
+
  "wallet.legacy.notification.learnMore.url": "https://iohk.zendesk.com/hc/ja",
  "wallet.legacy.notification.title": "旧ウォレットから資金を移してください",
  "wallet.navigation.more": "その他",
  "wallet.navigation.receive": "入金",
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!Receive",
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!Receive",