Skip to content

Commit

Permalink
Release 0.9.4 (#723)
Browse files Browse the repository at this point in the history
* new i18n

* Final fixes

* Refactor wallets page.

* Refactor wallets page.

* Rename component.

* Created wallet page and started implement logic.

* new i18n

* Created wallet detail widget.

* Added Transactions table on wallet page.

* Widget tokens list. WIP

* Complete wallet page for main wallet.

* Implemented multisig wallets in list on wallets page.

* Started create pending txs widget.

* open sendToken from wallets list

* remove unused dashboard page

* open sendTokenForm from wallets page

* Complete pending txs widget

* Created owners widget.

* Fix layout errors.

* open sendTokenForm from wallets page

* Implement new functional in receive form.

* Created add wallet page and basic components set.

* sendToken for Ethereum

* Fix colors.

* sendToken fixes

* merge with develop fixes

* Created selector of wallets type. Created selector of eth wallets type. Changes fonts.

* merge with develop fixes

* Fix errors

* Improved trace readability

Added info about server URL into trace log

* Error Handling improvement: catch and trace HTTP errors 502 from ChronoBank middlewares
Also enhanced trace messages (added module names)

* Fix BigNumber error and tokens sorter and other.

* WIP.
Created form for Multisig wallet.

* Create an empty i18nJson file during the build

* Missed i18n features

* Complete multisig wallet form.

* Change logic in Add wallet form. Implement action for back button on top.

* fix mainWallet layout in wallets list

* fix mainWallet layout in wallets list

* Release 0.8.1

* bitcoin logic for sendToken form

* MINT-1057 implemented

* improvements & fixes on sendToken form

* Implement form for time-locked wallets and some fixes.

* fixed new layout errors

* Changes in yarn.lock.

* fix createTxModel is not a function error

* Created layout for custom wallet.

* MINT-1057 improvements

* minor fixes v1

* minor fixes v1

* minor bug fixes

* remove unnecessary code in new layout

* Keys management refactoring

* WIP

* Changes on private key login

* Change derive path

* Implement action for create new wallets from derive path.

* fixes ERC20 token estimateGas

* Implement save and load wallets list to LS.

* Changes in yarn.lock

* Added filter for wallet.

* Implement logic for wallets with custom tokens.

* sendToken multisig fix

* Implemented action for create btc/ltc wallet

* application fixes

* Added logic for ltc and some fixes

* Fixed in Send tokens form.

* wallet changes

* Implemented send for derived Eth wallets.

* Start implement watchers.

* ETH advanced mode

* Added watcher for new derive wallets.

* Fix confirmations component and other fixes.

* Fix transactions table for derive wallets.

* Fixed small bugs.

* ETH advanced mode

* Start implement logic for add wallet in runtime.

* confirmTxDialog improvements

* ETH advanced mode

* Fix login to testnet

* fixes ETH confirmationForm

* Implemented logic for add new wallets in runtime.

* ETH advanced mode

* Implemented wallet name functional.

* BTC fixes

* delete LTC condition

* Fix estimate fee logic.

* Layout fixes.

* added based on gasLimit text

* fix walletContent open form error

* Fix estimate fee action.

* Fix filter for transactions list.

* remove slider from confirmation modal

* Fixes after merge

* HWWallets fixes after merge

* remove slider from confirmation modal

* Rework in transactions.

* Removed console.log.

* tx fixes

* Fixes in confirm dialog.

* fix transition to Wallet page from left menu

* Fixes in deposit.

* Small Fixes

* fix WalletsCount on left menu

* Added warning widget for 2fa.

* fix WalletsCount on left menu

* Relogin issues ugly fix

* Added 2fa wallet form. Some other fixes.

* Added second and third steps for 2fa wallet form.

* Added 2fa enable form.

* Added license in files.

* Ugly hack to make metamask work again

* Added action for create 2fa wallet.

* WIP

* Implemented actions for confirm tx.
Implemented popup fro confirm tx.
Implemented action for create 2fa wallet.
Changed transfer for 2fa wallet.
Implemented action for getting secret code.

* save

* Implemented new api from Middleware.
Implemented all process for 2fa without confirm tx.

* Few fixes after merge

* cleanup

* Completed 2fa process.

* Layouts fixes.

* Created compact view for wallets list.

* Added some selectors and implement price layout.

* Added some selectors and implement tokens count component.

* Initial Waves commit

* Fix after PR review

* Small fixes

* Small fixes.

* Implemented signing for btc/ltc derived wallets.
Start implementing watchers.

* Start implementing watchers.
Also, fixed value in btc-like transactions.

* Implement start version of refactoring.

* Small Fixes.

* Fix re-render in main menu.

* Fix frequent re-render on wallet detail page.

* Waves support added, still need some fix and refactoring

* Cleanup

* Fixed balances for Derived wallets.

* Refactor selectors.

* Added last block watcher for btc-like coins.

* Fix comments and other improvements.

* Fix comments.

* Remove useless constants and method. Moved constants to another file.

* Remove default tokens list.

* Some fixes.

* Small fixes

* Package.json update

* Create types file and fix types.

* Package.json fix

* Travis.yml fix

* Package.json fix

* Small fix.

* Fix balances in 2fa wallets.
Fix send for btc wallets.

* Otpauth changed.

* Small fixes

* Cleanup

* Change buttons styles.

* Changed version

* Fixed login.

* Fixed login.

* Fix waves init for pkey and wallet providers

* Cleanup

* Fix.

* Changed derived path.

* Waves asset transfer fix

* Release 0.9.1

* Waves assets transfer added

* Small i18n fix for waves

* Cleanup

* Change version.

* MINT-1703 fix i18n loading problem
  • Loading branch information
wAISw committed Jul 31, 2018
1 parent 4212430 commit 0ced503
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chronobank/mint",
"version": "0.9.3",
"version": "0.9.4",
"description": "Control panel for ChronoBank",
"private": true,
"author": "chronobank",
Expand Down
5 changes: 3 additions & 2 deletions src/layouts/partials/LocaleDropDown/LocaleDropDown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Menu, MenuItem, Popover } from 'material-ui'
import PropTypes from 'prop-types'
import React, { PureComponent } from 'react'
import { connect } from 'react-redux'
import i18n from 'i18n'
import { Button } from 'components'
import { changeMomentLocale } from 'redux/ui/actions'

Expand All @@ -16,6 +15,7 @@ import './LocaleDropDown.scss'
function mapStateToProps (state) {
return {
locale: state.get('i18n').locale,
translations: state.get('i18n').translations,
}
}

Expand All @@ -32,6 +32,7 @@ export default class LocaleDropDown extends PureComponent {
static propTypes = {
locale: PropTypes.string,
onChangeLocale: PropTypes.func,
translations: PropTypes.arrayOf(PropTypes.object),
}

constructor (props) {
Expand Down Expand Up @@ -64,7 +65,7 @@ export default class LocaleDropDown extends PureComponent {
}

render () {
const locales = Object.entries(i18n).map(([ name, dictionary ]) => ({
const locales = Object.entries(this.props.translations).map(([ name, dictionary ]) => ({
name,
title: dictionary.title,
}))
Expand Down
2 changes: 1 addition & 1 deletion src/redux/i18n/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const loadI18n = (locale) => async (dispatch, getState) => {
const translationsFiltered = {}
Object.entries(translations).filter((t) => {
return typeof t[1] === 'object' && Object.keys(t[1]).length
}).map((t) => translationsFiltered[t[0]] = t[1])
}).map((t) => translationsFiltered[t[0]] = merge({}, currentI18n.translations['en'], t[1]))

// i18nJson is global object getting from ./i18nJson.js file
dispatch(loadTranslations(merge({}, currentI18n.translations, translationsFiltered, i18nJson)))
Expand Down

0 comments on commit 0ced503

Please sign in to comment.