Skip to content

Commit

Permalink
Adds release notes fixes small bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
comountainclimber committed Aug 5, 2021
1 parent b64844f commit 24c1cc6
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 2 deletions.
34 changes: 34 additions & 0 deletions app/assets/images/release-assets/n3_support_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions app/assets/images/release-assets/n3_support_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -42,6 +45,64 @@ const ReleaseNotesModal = ({ hideModal, theme }: Props) => (
)}
>
<div className={styles.releaseNotesContents}>
<div className={styles.release}>
<div className={styles.releaseContent}>
<small className={styles.date}>Aug 5th 2021 </small>
<h3>Release v2.7.4</h3>

<p>
In this update you will find the following updates:
<br />
<br />
{/* eslint-disable-next-line */}
<li>Support for N3 main and test nets 🎉🎉</li>
<li>Under the hood dependency updates</li>
<li>Performance enhancements</li>
<br />
View full details of this release on GitHub
<br />
</p>

<Github
onClick={() =>
electron.shell.openExternal(
'https://github.com/CityOfZion/neon-wallet/releases/tag/v2.7.4',
)
}
/>
</div>
<div className={styles.marketingImage}>
{theme === 'Light' ? <n3SupportLight /> : <N3SupportDark />}
</div>
</div>

<div className={styles.release}>
<div className={styles.releaseContent}>
<small className={styles.date}>Dec 1st 2020 </small>
<h3>Patch v2.6.1</h3>

<p>
In this update you will find the following minor improvements:
<br />
<br />
<li>Updates RPC node list</li>
<li>Fixes edge case balance bugs</li>
<li>Adds Dora and Neotube to explorers</li>
<br />
View full details of this release on GitHub
<br />
</p>

<Github
onClick={() =>
electron.shell.openExternal(
'https://github.com/CityOfZion/neon-wallet/releases/tag/v2.6.1',
)
}
/>
</div>
</div>

<div className={styles.release}>
<div className={styles.releaseContent}>
<small className={styles.date}>Jan 18th 2021 </small>
Expand Down
2 changes: 1 addition & 1 deletion app/containers/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down
3 changes: 2 additions & 1 deletion app/containers/Send/index.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -88,6 +88,7 @@ export default compose(
withTokensData(),
withBalancesData(mapBalanceDataToProps),
withCurrencyData('currencyCode'),
withCall(contactsActions),
withData(contactsActions, mapContactsDataToProps),
withPricesData(mapPricesDataToProps),
withNetworkData(),
Expand Down

0 comments on commit 24c1cc6

Please sign in to comment.