From 24c1cc6ba4fdbde9b2c6a3cb7c45adb5da5d8073 Mon Sep 17 00:00:00 2001 From: Maxwell Lasky Date: Thu, 5 Aug 2021 13:35:33 -0600 Subject: [PATCH] Adds release notes fixes small bugs --- .../images/release-assets/n3_support_dark.svg | 34 +++++++++++ .../release-assets/n3_support_light.svg | 38 ++++++++++++ .../ReleaseNotesModal/ReleaseNotesModal.jsx | 61 +++++++++++++++++++ app/containers/Home/Home.jsx | 2 +- app/containers/Send/index.js | 3 +- 5 files changed, 136 insertions(+), 2 deletions(-) create mode 100644 app/assets/images/release-assets/n3_support_dark.svg create mode 100644 app/assets/images/release-assets/n3_support_light.svg diff --git a/app/assets/images/release-assets/n3_support_dark.svg b/app/assets/images/release-assets/n3_support_dark.svg new file mode 100644 index 000000000..248ac58e9 --- /dev/null +++ b/app/assets/images/release-assets/n3_support_dark.svg @@ -0,0 +1,34 @@ + + + Group 8 + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/assets/images/release-assets/n3_support_light.svg b/app/assets/images/release-assets/n3_support_light.svg new file mode 100644 index 000000000..632b58e41 --- /dev/null +++ b/app/assets/images/release-assets/n3_support_light.svg @@ -0,0 +1,38 @@ + + + Group 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx b/app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx index bfcd81271..4a883dcbd 100644 --- a/app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx +++ b/app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx @@ -12,6 +12,9 @@ import Github from '../../../assets/images/release-assets/github.svg' import PatchLight from '../../../assets/images/release-assets/patch-light.svg' import PatchDark from '../../../assets/images/release-assets/patch-dark.svg' +import N3SupportLight from '../../../assets/images/release-assets/n3_support_light.svg' +import N3SupportDark from '../../../assets/images/release-assets/n3_support_dark.svg' + const electron = require('electron').remote type Props = { @@ -42,6 +45,64 @@ const ReleaseNotesModal = ({ hideModal, theme }: Props) => ( )} >
+
+
+ Aug 5th 2021 +

Release v2.7.4

+ +

+ In this update you will find the following updates: +
+
+ {/* eslint-disable-next-line */} +

  • Support for N3 main and test nets 🎉🎉
  • +
  • Under the hood dependency updates
  • +
  • Performance enhancements
  • +
    + View full details of this release on GitHub +
    +

    + + + electron.shell.openExternal( + 'https://github.com/CityOfZion/neon-wallet/releases/tag/v2.7.4', + ) + } + /> +
    +
    + {theme === 'Light' ? : } +
    +
    + +
    +
    + Dec 1st 2020 +

    Patch v2.6.1

    + +

    + In this update you will find the following minor improvements: +
    +
    +

  • Updates RPC node list
  • +
  • Fixes edge case balance bugs
  • +
  • Adds Dora and Neotube to explorers
  • +
    + View full details of this release on GitHub +
    +

    + + + electron.shell.openExternal( + 'https://github.com/CityOfZion/neon-wallet/releases/tag/v2.6.1', + ) + } + /> +
    +
    +
    Jan 18th 2021 diff --git a/app/containers/Home/Home.jsx b/app/containers/Home/Home.jsx index cbdd3a8b5..ba698de08 100644 --- a/app/containers/Home/Home.jsx +++ b/app/containers/Home/Home.jsx @@ -64,7 +64,7 @@ const LOGIN_OPTIONS = { // NOTE: all other solutions seemed to be overly // complex... Revisit this if it becomes painful const shouldRenderReleaseNotes = version => { - const displayWhitelist = ['2.6.0', '2.6.1', '2.6.2'] + const displayWhitelist = ['2.6.0', '2.6.1', '2.6.2', '2.7.4'] if ( displayWhitelist.includes(version) && !localStorage.getItem(`hasSeenReleaseNotes-${version}`) diff --git a/app/containers/Send/index.js b/app/containers/Send/index.js index be4f5edac..23f3339e1 100644 --- a/app/containers/Send/index.js +++ b/app/containers/Send/index.js @@ -1,7 +1,7 @@ // @flow import { compose } from 'recompose' import { values, omit } from 'lodash-es' -import { withData } from 'spunky' +import { withData, withCall } from 'spunky' import { connect, type MapStateToProps } from 'react-redux' import { bindActionCreators } from 'redux' import { injectIntl } from 'react-intl' @@ -88,6 +88,7 @@ export default compose( withTokensData(), withBalancesData(mapBalanceDataToProps), withCurrencyData('currencyCode'), + withCall(contactsActions), withData(contactsActions, mapContactsDataToProps), withPricesData(mapPricesDataToProps), withNetworkData(),