Skip to content

Commit 053de28

Browse files
authored
Merge branch 'develop' into feature/jest-unit-tests
2 parents 5ad6763 + daa63d5 commit 053de28

File tree

105 files changed

+3730
-1238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+3730
-1238
lines changed

CHANGELOG.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
1-
Changelog
2-
=========
1+
# Changelog
32

4-
## vNext
3+
## 4.4.0
4+
5+
### Features
6+
7+
- Implemented the wallet Tokens dedicated screen ([PR 2671](https://github.com/input-output-hk/daedalus/pull/2671), [PR 2701](https://github.com/input-output-hk/daedalus/pull/2701), [PR 2703](https://github.com/input-output-hk/daedalus/pull/2703))
8+
9+
### Fixes
10+
11+
- Fixed wallet settings screen - no space at the bottom when scrolled down ([PR 2686](https://github.com/input-output-hk/daedalus/pull/2686))
12+
- Fixed the missing text for the DAPP static screens ([PR 2693](https://github.com/input-output-hk/daedalus/pull/2693))
13+
14+
### Chores
15+
16+
- Added the possibility to unpair a hardware wallet from Daedalus ([PR 2676](https://github.com/input-output-hk/daedalus/pull/2676))
17+
18+
## 4.3.2
519

620
### Features
721

822
- Implemented static screens for signing dApp interaction transactions ([PR 2626](https://github.com/input-output-hk/daedalus/pull/2626))
923

1024
### Fixes
1125

26+
- Fixed font used for unavailable staking while updating messages ([PR 2680](https://github.com/input-output-hk/daedalus/pull/2680))
1227
- Fixed crash when Yubikey is connected ([PR 2673](https://github.com/input-output-hk/daedalus/pull/2673))
1328
- Updated Electron and related packages ([PR 2206](https://github.com/input-output-hk/daedalus/pull/2206))
1429
- Fixed some Japanese translations for the external currencies ([PR 2667](https://github.com/input-output-hk/daedalus/pull/2667))
1530

1631
### Chores
1732

33+
- Updated `cardano-wallet` to version `2021-09-29` which includes `cardano-node` 1.30.1
1834
- Updated `trezor-connect` dependency to version `8.2.0` ([PR 2675](https://github.com/input-output-hk/daedalus/pull/2675))
1935

2036
## 4.3.1
@@ -1104,7 +1120,7 @@ Changelog
11041120
- Fixed paper wallet certificate restoration ([PR 1055](https://github.com/input-output-hk/daedalus/pull/1055))
11051121
- Reduce layout re-renderings ([PR 1595](https://github.com/input-output-hk/daedalus/pull/1595))
11061122
- Fixed green Cardano theme white color and borders color ([PR 1584](https://github.com/input-output-hk/daedalus/pull/1584))
1107-
- Fixed flat button color ([PR 1586](https://github.com/input-output-hk/daedalus/pull/1586))
1123+
- Fixed flat button color ([PR 1586](https://github.com/input-output-hk/daedalus/pull/1586))
11081124

11091125
## 0.15.1
11101126

@@ -1506,6 +1522,7 @@ Changelog
15061522
## 0.9.1
15071523

15081524
### Features
1525+
15091526
- New Edit section in system menu with copy & paste and related actions ([PR 817](https://github.com/input-output-hk/daedalus/pull/817))
15101527

15111528
### Fixes
@@ -1853,15 +1870,15 @@ Changelog
18531870

18541871
- Added wallet creation screen that appears when there is no wallet yet
18551872
- Updated to the latest design specs and refactor to
1856-
[react-toolbox](http://react-toolbox.com/) instead of
1857-
material-ui for the UI components. This gives us much better style
1858-
customization and theming options.
1873+
[react-toolbox](http://react-toolbox.com/) instead of
1874+
material-ui for the UI components. This gives us much better style
1875+
customization and theming options.
18591876
- Cleaned up the boilerplate app menus
18601877
- Added basic form validations using [mobx-react-form](https://github.com/foxhound87/mobx-react-form)
18611878
- Added i18n support with [react-intl](https://github.com/yahoo/react-intl)
18621879
- Added wallet send / receive / transactions screens
18631880
- Form submitting UX updated to the design specifications with introduction of button loading spinners
1864-
and support for submitting the form with enter key
1881+
and support for submitting the form with enter key
18651882
- Added cut, copy & paste application menu items and keyboard shortcuts
18661883

18671884
### Fixes

nix/sources.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"homepage": null,
3030
"owner": "input-output-hk",
3131
"repo": "cardano-wallet",
32-
"rev": "011a258c1b5ba57ca70f13346109ce3074820032",
33-
"sha256": "14l6fyjp7pxpjc7ga33bakg19fqy8dna6hmmrzp2f73hw27xg4dj",
32+
"rev": "6626489542ce442a8451fb46fb5339346e62b4ee",
33+
"sha256": "0n1vgbz3m73v33462ifg3qas9djwlpcvi1m0qxc7j15l3w5qhlw5",
3434
"type": "tarball",
35-
"url": "https://github.com/input-output-hk/cardano-wallet/archive/011a258c1b5ba57ca70f13346109ce3074820032.tar.gz",
35+
"url": "https://github.com/input-output-hk/cardano-wallet/archive/6626489542ce442a8451fb46fb5339346e62b4ee.tar.gz",
3636
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737
},
3838
"gitignore": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "daedalus",
33
"productName": "Daedalus",
4-
"version": "4.3.1",
4+
"version": "4.4.0",
55
"description": "Cryptocurrency Wallet",
66
"main": "./dist/main/index.js",
77
"scripts": {

shell.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ let
113113
ln -svf $(type -P cardano-wallet)
114114
ln -svf $(type -P cardano-cli)
115115
mkdir -p ${BUILDTYPE}/
116-
ln -sv $PWD/node_modules/usb/build/${BUILDTYPE}/usb_bindings.node ${BUILDTYPE}/
117-
ln -sv $PWD/node_modules/node-hid/build/${BUILDTYPE}/HID.node ${BUILDTYPE}/
118-
ln -sv $PWD/node_modules/node-hid/build/${BUILDTYPE}/HID_hidraw.node ${BUILDTYPE}/
116+
ln -svf $PWD/node_modules/usb/build/${BUILDTYPE}/usb_bindings.node ${BUILDTYPE}/
117+
ln -svf $PWD/node_modules/node-hid/build/${BUILDTYPE}/HID.node ${BUILDTYPE}/
118+
ln -svf $PWD/node_modules/node-hid/build/${BUILDTYPE}/HID_hidraw.node ${BUILDTYPE}/
119119
${pkgs.lib.optionalString (nodeImplementation == "cardano") ''
120120
source <(cardano-node --bash-completion-script `type -p cardano-node`)
121121
''}

source/common/config/electron-store.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const STORAGE_KEYS: {
2929
STAKING_INFO_WAS_OPEN: 'ALONZO-INFO-WAS-OPEN',
3030
TERMS_OF_USE_ACCEPTANCE: 'TERMS-OF-USE-ACCEPTANCE',
3131
THEME: 'THEME',
32+
TOKEN_FAVORITES: 'TOKEN-FAVORITES',
3233
USER_DATE_FORMAT_ENGLISH: 'USER-DATE-FORMAT-ENGLISH',
3334
USER_DATE_FORMAT_JAPANESE: 'USER-DATE-FORMAT-JAPANESE',
3435
USER_LOCALE: 'USER-LOCALE',

source/common/types/electron-store.types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export type StorageKey =
1919
| 'SMASH-SERVER'
2020
| 'TERMS-OF-USE-ACCEPTANCE'
2121
| 'THEME'
22+
| 'TOKEN-FAVORITES'
2223
| 'USER-DATE-FORMAT-ENGLISH'
2324
| 'USER-DATE-FORMAT-JAPANESE'
2425
| 'USER-LOCALE'

source/main/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const isDevelopment = checkIsDevelopment(NETWORK);
3939
const isWatchMode = process.env.IS_WATCH_MODE;
4040
const keepLocalClusterRunning = process.env.KEEP_LOCAL_CLUSTER_RUNNING;
4141
const API_VERSION = process.env.API_VERSION || 'dev';
42-
const NODE_VERSION = '1.29.0'; // TODO: pick up this value from process.env
42+
const NODE_VERSION = '1.30.1'; // TODO: pick up this value from process.env
4343
const mainProcessID = get(process, 'ppid', '-');
4444
const rendererProcessID = process.pid;
4545
const PLATFORM = os.platform();

source/renderer/app/Routes.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import WalletSummaryPage from './containers/wallet/WalletSummaryPage';
3030
import WalletSendPage from './containers/wallet/WalletSendPage';
3131
import WalletReceivePage from './containers/wallet/WalletReceivePage';
3232
import WalletTransactionsPage from './containers/wallet/WalletTransactionsPage';
33+
import WalletTokensPage from './containers/wallet/WalletTokensPage';
3334
import WalletSettingsPage from './containers/wallet/WalletSettingsPage';
3435
import WalletUtxoPage from './containers/wallet/WalletUtxoPage';
3536
import VotingRegistrationPage from './containers/voting/VotingRegistrationPage';
@@ -64,15 +65,16 @@ export const Routes = withRouter(() => (
6465
path={ROUTES.WALLETS.SUMMARY}
6566
component={WalletSummaryPage}
6667
/>
67-
<Route
68-
path={ROUTES.WALLETS.TRANSACTIONS}
69-
component={WalletTransactionsPage}
70-
/>
7168
<Route path={ROUTES.WALLETS.SEND} component={WalletSendPage} />
7269
<Route
7370
path={ROUTES.WALLETS.RECEIVE}
7471
component={WalletReceivePage}
7572
/>
73+
<Route path={ROUTES.WALLETS.TOKENS} component={WalletTokensPage} />
74+
<Route
75+
path={ROUTES.WALLETS.TRANSACTIONS}
76+
component={WalletTransactionsPage}
77+
/>
7678
<Route
7779
path={ROUTES.WALLETS.SETTINGS}
7880
component={WalletSettingsPage}

source/renderer/app/actions/assets-actions.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,14 @@ export default class AssetsActions {
1111
decimals: number,
1212
}> = new Action();
1313
onAssetSettingsCancel: Action<any> = new Action();
14+
onOpenAssetSend: Action<{ uniqueId: string }> = new Action();
15+
onCopyAssetParam: Action<{ param: string, fullValue: string }> = new Action();
16+
onToggleFavorite: Action<{
17+
uniqueId: string,
18+
isFavorite: boolean,
19+
}> = new Action();
20+
copyAssetParamNotification: Action<{
21+
param: string,
22+
shortValue: string,
23+
}> = new Action();
1424
}

source/renderer/app/actions/wallets-actions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export default class WalletsActions {
8282
copyWalletPublicKey: Action<{ publicKey: string }> = new Action();
8383
copyICOPublicKey: Action<{ publicKey: string }> = new Action();
8484
copyAddress: Action<{ address: string }> = new Action();
85-
copyAssetItem: Action<{ assetItem: string, value: string }> = new Action();
8685
updateCertificateStep: Action<any> = new Action();
8786
closeCertificateGeneration: Action<any> = new Action();
8887
closeRewardsCsvGeneration: Action<any> = new Action();

0 commit comments

Comments
 (0)