Skip to content

Commit

Permalink
Merge branch 'develop' into debug-appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaglumac committed Mar 11, 2019
2 parents 698855e + 51a2237 commit c1214cf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Changelog
- New validation message for transactions which are to big in data size ([PR 1308](https://github.com/input-output-hk/daedalus/pull/1308), [PR 1331](https://github.com/input-output-hk/daedalus/pull/1331))
- Structured logging for Daedalus in JSON format, matching the structured logging format used in Cardano SL ([PR 1299](https://github.com/input-output-hk/daedalus/pull/1299))
- Additional instructions for paper wallet certificate creation ([PR 1309](https://github.com/input-output-hk/daedalus/pull/1309))
- Performant rendering of big lists using virtual lists, applied to lists of transactions and addresses ([PR 1276](https://github.com/input-output-hk/daedalus/pull/1276), [PR 1303](https://github.com/input-output-hk/daedalus/pull/1303), [PR 1305](https://github.com/input-output-hk/daedalus/pull/1305), [PR 1306](https://github.com/input-output-hk/daedalus/pull/1306), [PR 1312](https://github.com/input-output-hk/daedalus/pull/1312), [PR 1313](https://github.com/input-output-hk/daedalus/pull/1313))
- Performant rendering of big lists using virtual lists, applied to lists of transactions and addresses ([PR 1276](https://github.com/input-output-hk/daedalus/pull/1276), [PR 1303](https://github.com/input-output-hk/daedalus/pull/1303), [PR 1305](https://github.com/input-output-hk/daedalus/pull/1305), [PR 1306](https://github.com/input-output-hk/daedalus/pull/1306), [PR 1312](https://github.com/input-output-hk/daedalus/pull/1312), [PR 1313](https://github.com/input-output-hk/daedalus/pull/1313), [PR 1340](https://github.com/input-output-hk/daedalus/pull/1340))
- "System-info.json" file saved in the public log folder, containing the system specification of the user's computer running Daedalus ([PR 1292](https://github.com/input-output-hk/daedalus/pull/1292))
- Block storage consolidation status screen, available from the application menu ([PR 1275](https://github.com/input-output-hk/daedalus/pull/1275), [PR 1294](https://github.com/input-output-hk/daedalus/pull/1294))
- Application menu in English and Japanese ([PR 1262](https://github.com/input-output-hk/daedalus/pull/1262), [PR 1296](https://github.com/input-output-hk/daedalus/pull/1296))
Expand Down
4 changes: 2 additions & 2 deletions cardano-sl-src.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"url": "https://github.com/input-output-hk/cardano-sl",
"rev": "0e51690a30bf510c2a9a6249a80324d18e7bb6c4",
"sha256": "1ldrph59iwnm3v0hfrx1rzd3rhp7w9a4ayifvh04f75sjdx3lp2q",
"rev": "35e8f14b88733a39e4abc7e06d55562ef10986ee",
"sha256": "0iirlrrm84h6s3h30x5021n0p2ljvqwpmf03s3wik8lgb0hfy1y3",
"fetchSubmodules": false
}
4 changes: 2 additions & 2 deletions source/renderer/app/containers/Root.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Root extends Component<Props> {

const isPageThatDoesntNeedWallets = (
isBlockConsolidationStatusPage ||
(isAdaRedemptionPage && hasLoadedWallets)
(isAdaRedemptionPage && hasLoadedWallets && isSynced)
);

// In case node is in stopping sequence we must show the "Connecting" screen
Expand All @@ -42,7 +42,7 @@ export default class Root extends Component<Props> {

if (
!isSynced ||
!wallets.hasLoadedWallets ||
!hasLoadedWallets ||
!isSystemTimeCorrect ||
isNotEnoughDiskSpace
) {
Expand Down
2 changes: 2 additions & 0 deletions source/renderer/app/stores/NetworkStatusStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ export default class NetworkStatusStore extends Store {
}
Logger.debug('NetworkStatusStore: Connection Lost. Reconnecting...');
} else if (this.hasBeenConnected) {
// Make sure all wallets data is fully reloaded after the connection is re-established
this.stores.wallets.resetWalletsData();
Logger.debug('NetworkStatusStore: Connection Restored');
}
}
Expand Down
6 changes: 6 additions & 0 deletions source/renderer/app/stores/WalletsStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,12 @@ export default class WalletsStore extends Store {
}
};

@action resetWalletsData = () => {
this.walletsRequest.reset();
this.stores.addresses.addressesRequests = [];
this.stores.transactions.transactionsRequests = [];
};

@action _setIsRestoreActive = (restoringWalletId: ?string) => {
this.isRestoreActive = restoringWalletId !== null;
this.restoringWalletId = restoringWalletId;
Expand Down

0 comments on commit c1214cf

Please sign in to comment.