Skip to content

Commit f7111bc

Browse files
authored
Merge pull request #1574 from input-output-hk/release/0.15.0
Release/0.15.0
2 parents f5b5bdb + b972280 commit f7111bc

File tree

402 files changed

+33458
-15936
lines changed

Some content is hidden

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

402 files changed

+33458
-15936
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ steps:
66
env:
77
NIX_SSL_CERT_FILE: /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
88
agents:
9+
queue: daedalus
910
system: x86_64-darwin
1011
- label: 'daedalus-x86_64-linux'
1112
command: 'scripts/build-installer-unix.sh --build-id $BUILDKITE_BUILD_NUMBER'

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ main.js
55
logs
66
node_modules
77
translations
8-
tests
8+
./tests
99
features/tests/e2e/documents/*
1010
mainnet-genesis-dryrun-with-stakeholders.json
1111
source/renderer/app/i18n/locales

.stylelintrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"plugins": [
3+
"stylelint-order",
4+
],
5+
"rules": {
6+
"order/order": [
7+
"custom-properties",
8+
"declarations"
9+
],
10+
"order/properties-alphabetical-order": true
11+
}
12+
}

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,55 @@
11
Changelog
22
=========
33

4+
## 0.15.0
5+
6+
### Features
7+
8+
- Implemented "Newsfeed" feature ([PR 1570](https://github.com/input-output-hk/daedalus/pull/1570), [PR 1578](https://github.com/input-output-hk/daedalus/pull/1578), [PR 1580](https://github.com/input-output-hk/daedalus/pull/1580))
9+
- Implemented "Wallet recovery phrase verification" feature ([PR 1565](https://github.com/input-output-hk/daedalus/pull/1565), [PR 1623](https://github.com/input-output-hk/daedalus/pull/1623)
10+
- Implemented new "Automated update" notification design ([PR 1491](https://github.com/input-output-hk/daedalus/pull/1491))
11+
- Improved "Wallets" list scrollbar UX ([PR 1475](https://github.com/input-output-hk/daedalus/pull/1475))
12+
- Removed "Ada Redemption" feature ([PR 1510](https://github.com/input-output-hk/daedalus/pull/1510))
13+
- Updated behavior of system dialogs ([PR 1494](https://github.com/input-output-hk/daedalus/pull/1494))
14+
15+
### Fixes
16+
17+
- Fixed the "Numeric input" component caret positioning issues ([PR 1511](https://github.com/input-output-hk/daedalus/pull/1511))
18+
- Fixed the "Feature Request" menu item Japanese translation ([PR 1533](https://github.com/input-output-hk/daedalus/pull/1533))
19+
- Implemented disk space check error handling ([PR 1562](https://github.com/input-output-hk/daedalus/pull/1562))
20+
- Implemented platform specific main window minimum heights ([PR 1485](https://github.com/input-output-hk/daedalus/pull/1485))
21+
- Implemented pluralization for number of confirmations in transaction details ([PR 1531](https://github.com/input-output-hk/daedalus/pull/1531))
22+
- Minor UI fixes:
23+
- Fixed external and copy icons positioning inconsistencies ([PR 1512](https://github.com/input-output-hk/daedalus/pull/1512))
24+
- Fixed minor UI issues across different themes ([PR 1547](https://github.com/input-output-hk/daedalus/pull/1547))
25+
- Fixed "White" theme styling ([PR 1532](https://github.com/input-output-hk/daedalus/pull/1532))
26+
- Removed select dropdown arrow ([PR 1550](https://github.com/input-output-hk/daedalus/pull/1550))
27+
- Removed tooltip from connection error message on "Daedalus Diagnostics" screen ([PR 1535](https://github.com/input-output-hk/daedalus/pull/1535))
28+
- Storybook fixes:
29+
- Fixed Storybook dialog content overflow issues in Chrome 76+ versions ([PR 1536](https://github.com/input-output-hk/daedalus/pull/1536))
30+
- Fixed Storybook "Wallets" stories ([PR 1473](https://github.com/input-output-hk/daedalus/pull/1473))
31+
32+
### Chores
33+
34+
- Implemented automatic sorting of CSS properties ([PR 1483](https://github.com/input-output-hk/daedalus/pull/1483))
35+
- Improved "Netlify" build setup ([PR 1509](https://github.com/input-output-hk/daedalus/pull/1509))
36+
- Unified "Support request" data handling ([PR 1472](https://github.com/input-output-hk/daedalus/pull/1472))
37+
- Updated Storybook to the latest version ([PR 1426](https://github.com/input-output-hk/daedalus/pull/1426))
38+
- Updated "Buildkite" to use "daedalus" queue for macOS builds ([PR 1568](https://github.com/input-output-hk/daedalus/pull/1568))
39+
- Theming improvements:
40+
- Improved scalability of theme management code ([PR 1502](https://github.com/input-output-hk/daedalus/pull/1502))
41+
- Renamed `themes:check` script and updated "Daedalus Theme Management" documentation ([PR 1525](https://github.com/input-output-hk/daedalus/pull/1525))
42+
43+
### Specifications
44+
45+
- Newsfeed ([PR 1569](https://github.com/input-output-hk/daedalus/pull/1569))
46+
- New "Wallet Creation" process ([PR 1499](https://github.com/input-output-hk/daedalus/pull/1499), [PR 1515](https://github.com/input-output-hk/daedalus/pull/1515), [PR 1530](https://github.com/input-output-hk/daedalus/issues/1530))
47+
- "Delegation" screens UI:
48+
- Improved "Delegation setup" wizard ([PR 1503](https://github.com/input-output-hk/daedalus/pull/1503))
49+
- Implemented "Stake pools" screen "Search and Filtering" logic ([PR 1468](https://github.com/input-output-hk/daedalus/pull/1468))
50+
- Implemented "Delegation countdown" design update ([PR 1481](https://github.com/input-output-hk/daedalus/pull/1481))
51+
- Fixed minor UI issues on the "Delegation center" screen and "Delegation setup" wizard ([PR 1545](https://github.com/input-output-hk/daedalus/pull/1545))
52+
453
## 0.14.0
554

655
### Features
@@ -60,6 +109,7 @@ Changelog
60109
### Chores
61110

62111
- Code improvements:
112+
- Implemented Storybook menu using queryStrings over localStorage ([PR 1426](https://github.com/input-output-hk/daedalus/pull/1426))
63113
- Implemented Storybook build script for deployment to "Netlify" ([1391](https://github.com/input-output-hk/daedalus/pull/1391))
64114
- Implemented Storybook theme and language selection ([PR 1408](https://github.com/input-output-hk/daedalus/pull/1408))
65115
- Implemented `prettier` formatting tool and set up automation for basic maintainance tasks ([PR 1335](https://github.com/input-output-hk/daedalus/pull/1335), [PR 1347](https://github.com/input-output-hk/daedalus/pull/1347), [PR 1352](https://github.com/input-output-hk/daedalus/pull/1352), [PR 1375](https://github.com/input-output-hk/daedalus/pull/1375))

cardano-sl-src.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"url": "https://github.com/input-output-hk/cardano-sl",
3-
"rev": "51ad7c0503b1c52a75a6eb36096c407934136468",
4-
"date": "2019-08-10T03:35:47+00:00",
5-
"sha256": "0cqaxk3k8i5z4q4b5na0pcln9fblglmn7900vp1xdzmw75pp1rrz",
3+
"rev": "1a792d7cd0f0c93a0f0c28f66372bce3c3808dbd",
4+
"date": "2019-09-25T010:53:54+00:00",
5+
"sha256": "1vk71zn9bnkgkhgcyj59wzrp28crjwcd0lgnm013mhzpvxycgn61",
66
"fetchSubmodules": false
77
}

default.nix

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,14 @@ let
5757
);
5858
throwSystem = throw "Unsupported system: ${pkgs.stdenv.hostPlatform.system}";
5959
ghcWithCardano = cardanoSL.haskellPackages.ghcWithPackages (ps: [ ps.cardano-sl ps.cardano-sl-x509 ]);
60+
daedalus-bridge = cardanoSL.daedalus-bridge.overrideAttrs (oldAttrs: {
61+
buildCommand = ''
62+
${oldAttrs.buildCommand}
63+
cp ${./installers/cardano-configuration.yaml} $out/config/configuration.yaml
64+
'';
65+
});
6066
packages = self: {
61-
inherit cluster pkgs version;
62-
inherit (cardanoSL) daedalus-bridge;
67+
inherit cluster pkgs version daedalus-bridge;
6368

6469
# a cross-compiled fastlist for the ps-list package
6570
fastlist = pkgs.pkgsCross.mingwW64.callPackage ./fastlist.nix {};
@@ -72,7 +77,7 @@ let
7277
# the native makensis binary, with cross-compiled windows stubs
7378
nsis = nsisNixPkgs.callPackage ./nsis.nix {};
7479

75-
unsignedUnpackedCardano = cardanoSL.daedalus-bridge;
80+
unsignedUnpackedCardano = daedalus-bridge;
7681
unpackedCardano = if dummyInstaller then self.dummyUnpacked else (if needSignedBinaries then self.signedCardano else self.unsignedUnpackedCardano);
7782
signFile = file: let
7883
localSigningScript = pkgs.writeScript "signing-script" ''
@@ -235,8 +240,7 @@ let
235240

236241
## TODO: move to installers/nix
237242
hsDaedalusPkgs = import ./installers {
238-
inherit (cardanoSL) daedalus-bridge;
239-
inherit localLib system;
243+
inherit localLib system daedalus-bridge;
240244
};
241245
daedalus-installer = pkgs.haskell.lib.justStaticExecutables self.hsDaedalusPkgs.daedalus-installer;
242246
daedalus = self.callPackage ./installers/nix/linux.nix {};
@@ -248,7 +252,7 @@ let
248252
rawapp = self.callPackage ./yarn2nix.nix {
249253
inherit buildNum;
250254
api = "ada";
251-
apiVersion = cardanoSL.daedalus-bridge.version;
255+
apiVersion = daedalus-bridge.version;
252256
};
253257
rawapp-win64 = self.rawapp.override { win64 = true; };
254258
source = builtins.filterSource cleanSourceFilter ./.;
@@ -368,7 +372,7 @@ let
368372
inherit (self) postInstall preInstall cluster rawapp;
369373
inherit pkgs;
370374
installationSlug = installPath;
371-
installedPackages = [ daedalus' self.postInstall self.namespaceHelper daedalus'.cfg self.daedalus-bridge daedalus'.daedalus-frontend self.xdg-open ];
375+
installedPackages = [ daedalus' self.postInstall self.namespaceHelper daedalus'.cfg daedalus-bridge daedalus'.daedalus-frontend self.xdg-open ];
372376
nix-bundle = self.nix-bundle;
373377
}).installerBundle;
374378
};

features/ada-redemption.feature

Lines changed: 0 additions & 105 deletions
This file was deleted.

features/data-layer-migration.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Feature: Data Layer Migration
1515
| Wallet | |
1616
Then I should see the Data Layer Migration screen
1717
When I click the migration button
18-
Then I should see the initial screen
18+
Then I should see the main ui
1919
When I refresh the main window
2020
Then I should not see the Data Layer Migration screen

features/newsfeed.feature

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
@e2e @newsfeed @noReload
2+
Feature: Newsfeed
3+
4+
Newsfeed delivers important information to Daedalus users, like information about network failures, bugs and other
5+
issues, information about upcoming and recent releases and so on. News are categorised in 4 types:
6+
incident, alert, announcement and info. Incidents and alerts cover the whole user interface,
7+
announcements and info are delivered in the newsfeed part of the user interface.
8+
9+
Background:
10+
Given I have completed the basic setup
11+
12+
@reconnectApp
13+
Scenario: Newsfeed icon is visible on the connecting screen
14+
Given im on the connecting screen
15+
Then i should see the newsfeed icon
16+
17+
@reconnectApp
18+
Scenario: Newsfeed icon is visible on the syncing screen
19+
Given im on the syncing screen
20+
Then i should see the newsfeed icon
21+
22+
Scenario: Newsfeed icon is visible in the main ui
23+
Given I should see the main ui
24+
Then i should see the newsfeed icon
25+
26+
Scenario: Newsfeed icon is highlighted when there are unread infos
27+
Given there are unread infos
28+
Then the newsfeed icon is highlighted
29+
30+
Scenario: Newsfeed icon is highlighted when there are unread announcements
31+
Given there are unread announcements
32+
Then the newsfeed icon is highlighted
33+
34+
Scenario: Newsfeed icon is not highlighted when all infos have been read
35+
Given there are read infos
36+
Then the newsfeed icon is not highlighted
37+
38+
Scenario: Open the newsfeed by clicking the newsfeed icon
39+
Given I click on the newsfeed icon
40+
Then the newsfeed is open
41+
42+
Scenario: No news available in the feed
43+
Given there is no news
44+
When I open the newsfeed
45+
Then the newsfeed is empty
46+
47+
Scenario: Only read infos available in the feed
48+
Given there are 2 read infos
49+
When I open the newsfeed
50+
Then the newsfeed contains 2 read infos
51+
52+
Scenario: Displaying an incident
53+
Given there is an incident
54+
Then the incident will cover the screen
55+
56+
Scenario: Dismissing an alert
57+
Given there is 1 unread alert
58+
When I dismiss the alert
59+
Then the alert disappears
60+
61+
Scenario: Opening and dismissing a read alert
62+
Given there is 1 read alert
63+
When I open the newsfeed
64+
When I click on the alert in the newsfeed
65+
Then the alert overlay opens
66+
When I dismiss the alert
67+
Then the alert disappears
68+
69+
Scenario: Reading an announcement
70+
Given there is 1 unread announcement
71+
When I open the newsfeed
72+
And I click on the unread announcement to expand it
73+
Then the announcement content is shown
74+
And the announcement is marked as read
75+
76+
Scenario: Reading an info
77+
Given there is 1 unread info
78+
When I open the newsfeed
79+
And I click on the unread info to expand it
80+
Then the info content is shown
81+
And the info is marked as read
82+
And the newsfeed icon is not highlighted
83+
84+
Scenario: News unavailable
85+
Given the newsfeed server is unreachable
86+
When I open the newsfeed
87+
Then no news are available

0 commit comments

Comments
 (0)