-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DDW-787] Discreet mode - Implement the Settings option #2740
[DDW-787] Discreet mode - Implement the Settings option #2740
Conversation
4a314d6
to
7a18fec
Compare
Great work! I would just add a storybook for Settings page. |
157eb37
to
4a82b96
Compare
6fcaac7
to
fefa1e8
Compare
393b2e6
to
fbde539
Compare
<PopOver | ||
visible={visible || isSettingsTooltipEnabled} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When visible prop is used manually, we cannot go back to an automatic hover effect due to a bug in the tippy library. This is why it was necessary to use a visible state.
source/renderer/app/components/widgets/notification-dot/NotificationDot.scss
Outdated
Show resolved
Hide resolved
@alexander-rukin I updated with dot disappearing on leave. |
def2c69
to
f35ce9e
Compare
* [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io>
* Added jest and couple of unit tests for DDW-706 * Applied code review suggestions * Fixed wrong dependencies * Added a new test and a default config file * unicode-property pump * [DDW-706] Move new jest specs into tests folder * [DDW-706] Add Github action workflow for jest tests * Fix build issues * [DDW-706] Use supported node version in Github actions * [DDW-706] fix github action node version * Fix yarn.lock * Fix CI issues * Fix CI issues * downgrade to jest 26 * fix lockfile * Testing adding the conflict dependency as primary * Downgrade of istanbul-lib-report * [DDW-815] Fix broken Ledger support on Linux (#2741) * fix yarn dev on linux * fix ledger on linux * [DDW-815] Adds CHANGELOG entery * fix windows builds * remove LD_PRELOAD to make the code more stable Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Fix wallet restore dialog and continue disable check (#2745) * Fix walleFix wallet restore dialog and continue disable check * Updated CHANGELOG Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Updated CHANGELOG.md * Change istanbul-lib-report resolution to 3.0.0 * Revert "Change istanbul-lib-report resolution to 3.0.0" This reverts commit 9f63133. * Reverted bump * Reverted bump * Merges release/4.5.1 into release/4.5.0 * Fixes CHANGELOG link * [DDW-771] Add apache license to npm package * [DDW-771] Remove apache license from package.json again * [DDW-771] refactor to multi-line template literals * [DDW-811] Normalize checkbox tick offset * [DDW-824] Introduce a fix for app update on specific platform * [DDW-824] Improve faked data loading * [DDW-824] CHANGELOG update * [DDW-824] Remove unnecessary comment * [DDW-847] Bump CWB to v2021-11-11 * [DDW-847] CHANGELOG update * [DDW-683] Adjusted slider onAfterChange * [DDW-683] Updated CHANGELOG * [DDW-683] Converted component from class to functional * Removed unstable rts flags * [DDW-824] Restrict FAKED news QA loader to DEV mode only * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-738] Setup feature-driven design Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-813] Move discreet mode behavior to its own feature * [DDW-738] Fix circular dependency * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-738] Move toggle component to discreet mode feature folder * [DDW-738] Update translations file * [DDW-738] Remove popOver from DiscreetToggle * [DDW-814] Discreet mode - hide sensitive information (#2742) * [DDW-814] Fix React Dev Tools installation * [DDW-814] Hide sensitive values * [DDW-814] Setup storybook * [DDW-814] Localstorage factory * [DDW-814] Hide token amount for decimal config * [DDW-814] Refactor discreet mode ui components * [DDW-814] Directly use discreet mode feature in toggle * [DDW-814] Introduce configurable replacer pattern * [DDW-814] Create LocalStorageFeatureProvider * [DDW-814] Fix flow * [DDW-814] Fix topbar * [DDW-814] React to state changes on WalletUTXO description * [DDW-814] Preseve Stake pools ranking slider value * [DDW-814] Hide filter input * [DDW-814] Prevent stake pools from refreshing * [DDW-814] Update README * [DDW-814] Hide wallets dropdown in discreet mode * [DDW-814] Disable All transactions button on Filter dialog * [DDW-814] Rename DiscreetToggle component * [DDW-814] Add unit tests for discreet replacers * [DDW-814] Cleanup minor issues * [DDW-814] Fix prettier * [DDW-814] Revert istanbul * [DDW-814] Fix flow errors * [DDW-814] Add discreet toggle mode knob Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-787] Discreet mode - Implement the Settings option (#2740) * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> * [DDW-738] Notification knob * [DDW-839] Discreet mode - automated tests (#2756) * [DDW-839] Discreet mode integration tests * [DDW-839] Remove aria-query from yarnlock * [DDW-839] Remove istanbul from yarnlock * [DDW-839] Tests for public api * [DDW-839] Run lockfile:fix * [DDW-839] Update changelog * [DDW-738] Fix font weights * [DDW-738] Fix button style * [DDW-738] Fix button style * [DDW-738] Pin package version * [DDW-738] Fix name/icon overlapping * [DDW-738] Update yarn.lock * [DDW-738] Review changes * [DDW-738] Fix yarn.lock * [DDW-738] Review changes * [DDW-738] Review changes - use lang selector * [DDW-738] Fix flow issue * [DDW-738] Fix discreet mode logic on filter component * [DDW-854] Init * [DDW-854] New line * [DDW-854] Adjustments * [DDW-854] Update copy * [DDW-854] Small fix * [DDW-854] Small adjustment * [DDW-854] Update icon size * [DDW-854] Fix sass lint * [DDW-854] Update description color * [DDW-854] Update changelog * [DDW-854] Update changelog * [DDW-854] Update message for verifyng stage * [DDW-854] Update colors * [DDW-796] Refactor and voting phases * [DDW-796] Remove closed voting logic * [DDW-796] Exclude js/ts files from nix-build glob * [DDW-796] Fund phase logic * [DDW-796] Fund phase components * [DDW-796] Fix lint issues * [DDW-796] Fix flow issues * [DDW-796] Style fix * [DDW-796] Add observer * [DDW-796] Remove unused * [DDW-796] Lazy validation * [DDW-796] Update text * [DDW-858] Fix eslint warnings * [DDW-796] Add jp translations * [DDW-796] Enable voting in all env for testing only * [DDW-796] Add function for external link * [DDW-796] Review changes * [DDW-796] VotingStore unit test * [DDW-796] Update story * [DDW-796] Test only * Revert "[DDW-796] Test only" This reverts commit 3140b65. * Revert "[DDW-796] Enable voting in all env for testing only" This reverts commit 454c7e1. * [DDW-854] Remove opacity property * [DDW-854] Added flow return type * Fixed duplicated text, wrong order * Bump version to 4.6.0 * Bump version to 4.6.0 (#2780) * Removed RTS Flags from CHANGELOG * Bump version to 4.6.0 Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> Co-authored-by: Nikola Glumac <niglumac@gmail.com> Co-authored-by: Michael Bishop <michael.bishop@iohk.io> Co-authored-by: Michael Chappell <michael.chappell@iohk.io> Co-authored-by: Daniel Main <daniel.main.cernhoff@icould.com> Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Lucas Araujo <lucas.araujo@iohk.io> Co-authored-by: Danilo Prates <daniloprates@gmail.com>
* Added jest and couple of unit tests for DDW-706 * Applied code review suggestions * Fixed wrong dependencies * Added a new test and a default config file * unicode-property pump * [DDW-706] Move new jest specs into tests folder * [DDW-706] Add Github action workflow for jest tests * Fix build issues * [DDW-706] Use supported node version in Github actions * [DDW-706] fix github action node version * Fix yarn.lock * Fix CI issues * Fix CI issues * downgrade to jest 26 * fix lockfile * Testing adding the conflict dependency as primary * Downgrade of istanbul-lib-report * [DDW-735] Merge and gix conflicts * [DDW-735] Merge and fix conflicts * [DDW-779] Update trezor-connect to the latest version 8.2.2-rc.1-multisig * [DDW-779] Add util-deprecate to yarn2nix * [DDW-815] Fix broken Ledger support on Linux (#2741) * fix yarn dev on linux * fix ledger on linux * [DDW-815] Adds CHANGELOG entery * fix windows builds * remove LD_PRELOAD to make the code more stable Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Fix wallet restore dialog and continue disable check (#2745) * Fix walleFix wallet restore dialog and continue disable check * Updated CHANGELOG Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Updated CHANGELOG.md * Change istanbul-lib-report resolution to 3.0.0 * Revert "Change istanbul-lib-report resolution to 3.0.0" This reverts commit 9f63133. * Reverted bump * Reverted bump * [DDW-779] Update trezor-connect to the 8.2.3-beta.3 version * [DDW-779] Remove hd-wallet from yarn2nix * [DDW-779] Update yarn.lock * [DDW-779] Remove hw-wallet from MacInstaller * [DDW-779] Remove merkle-lib from MacInstaller * [DDW-779] Remove multiple sub-dependencies from MacInstaller * [DDW-779] Remove secp256k1 from yarn2nix * [DDW-779] Replace secp256k1 with tiny-secp256k1 in yarn2nix * Merges release/4.5.1 into release/4.5.0 * Fixes CHANGELOG link * [DDW-779] Remove tiny-secp256k1 from yarn2nix * [DDW-779] Add bech32 to yarn2nix * [DDW-779] Add blake-hash to yarn2nix * [DDW-779] Add blake-hash to MacInstaller * [DDW-779] Add tiny-secp256k1 to MacInstaller * [DDW-779] Add bn.js to MacInstaller * [DDW-779] Add elliptic to MacInstaller * [DDW-779] Add minimalistic-assert to MacInstaller * [DDW-779] Add minimalistic-crypto-utils to MacInstaller * [DDW-779] Add minimalistic-crypto-utils to MacInstaller * [DDW-779] Add brorand to MacInstaller * [DDW-779] Add hash.js and hmac-drbg to MacInstaller * [DDW-779] Add int64-buffer to MacInstaller * [DDW-771] Add apache license to npm package * [DDW-771] Remove apache license from package.json again * [DDW-771] refactor to multi-line template literals * [DDW-811] Normalize checkbox tick offset * [DDW-824] Introduce a fix for app update on specific platform * [DDW-824] Improve faked data loading * [DDW-824] CHANGELOG update * [DDW-824] Remove unnecessary comment * fix linux build * [DDW-847] Bump CWB to v2021-11-11 * [DDW-847] CHANGELOG update * [DDW-683] Adjusted slider onAfterChange * [DDW-683] Updated CHANGELOG * [DDW-683] Converted component from class to functional * Removed unstable rts flags * [DDW-824] Restrict FAKED news QA loader to DEV mode only * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-738] Setup feature-driven design Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-813] Move discreet mode behavior to its own feature * [DDW-738] Fix circular dependency * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-738] Move toggle component to discreet mode feature folder * [DDW-738] Update translations file * [DDW-738] Remove popOver from DiscreetToggle * [DDW-814] Discreet mode - hide sensitive information (#2742) * [DDW-814] Fix React Dev Tools installation * [DDW-814] Hide sensitive values * [DDW-814] Setup storybook * [DDW-814] Localstorage factory * [DDW-814] Hide token amount for decimal config * [DDW-814] Refactor discreet mode ui components * [DDW-814] Directly use discreet mode feature in toggle * [DDW-814] Introduce configurable replacer pattern * [DDW-814] Create LocalStorageFeatureProvider * [DDW-814] Fix flow * [DDW-814] Fix topbar * [DDW-814] React to state changes on WalletUTXO description * [DDW-814] Preseve Stake pools ranking slider value * [DDW-814] Hide filter input * [DDW-814] Prevent stake pools from refreshing * [DDW-814] Update README * [DDW-814] Hide wallets dropdown in discreet mode * [DDW-814] Disable All transactions button on Filter dialog * [DDW-814] Rename DiscreetToggle component * [DDW-814] Add unit tests for discreet replacers * [DDW-814] Cleanup minor issues * [DDW-814] Fix prettier * [DDW-814] Revert istanbul * [DDW-814] Fix flow errors * [DDW-814] Add discreet toggle mode knob Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-787] Discreet mode - Implement the Settings option (#2740) * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> * [DDW-738] Notification knob * [DDW-839] Discreet mode - automated tests (#2756) * [DDW-839] Discreet mode integration tests * [DDW-839] Remove aria-query from yarnlock * [DDW-839] Remove istanbul from yarnlock * [DDW-839] Tests for public api * [DDW-839] Run lockfile:fix * [DDW-839] Update changelog * [DDW-738] Fix font weights * [DDW-738] Fix button style * [DDW-738] Fix button style * [DDW-738] Pin package version * [DDW-738] Fix name/icon overlapping * [DDW-738] Update yarn.lock * [DDW-738] Review changes * [DDW-738] Fix yarn.lock * [DDW-738] Review changes * [DDW-738] Review changes - use lang selector * [DDW-738] Fix flow issue * [DDW-738] Fix discreet mode logic on filter component * [DDW-854] Init * [DDW-854] New line * [DDW-854] Adjustments * [DDW-854] Update copy * [DDW-854] Small fix * [DDW-854] Small adjustment * [DDW-854] Update icon size * [DDW-854] Fix sass lint * [DDW-854] Update description color * [DDW-854] Update changelog * [DDW-854] Update changelog * [DDW-854] Update message for verifyng stage * [DDW-854] Update colors * [DDW-796] Refactor and voting phases * [DDW-796] Remove closed voting logic * [DDW-796] Exclude js/ts files from nix-build glob * [DDW-796] Fund phase logic * [DDW-796] Fund phase components * [DDW-796] Fix lint issues * [DDW-796] Fix flow issues * [DDW-796] Style fix * [DDW-796] Add observer * [DDW-796] Remove unused * [DDW-796] Lazy validation * [DDW-796] Update text * [DDW-858] Fix eslint warnings * [DDW-796] Add jp translations * [DDW-796] Enable voting in all env for testing only * [DDW-796] Add function for external link * [DDW-796] Review changes * [DDW-796] VotingStore unit test * [DDW-796] Update story * [DDW-796] Test only * Revert "[DDW-796] Test only" This reverts commit 3140b65. * Revert "[DDW-796] Enable voting in all env for testing only" This reverts commit 454c7e1. * [DDW-779] Update trezor connect to the official 8.2.3-extended version * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bytebuffer-old-fixed-webpack from MacInstaller * [DDW-779] Add babel-runtime 7.12.5 to yarn.lock * [DDW-854] Remove opacity property * [DDW-779] Rebuild yarn.lock * [DDW-779] Add protobufjs and bytebuffer to MacInstaller * [DDW-854] Added flow return type * [DDW-779] Update trezor-connect to 8.2.3-beta.8 version * Fixed duplicated text, wrong order * Bump version to 4.6.0 (#2780) * Removed RTS Flags from CHANGELOG * Bump version to 4.6.0 * [DDW-779] Update trezor-connect to v.8.2.4-extended and fix MacInstaller/yarn2nix * [DDW-779] Remove protobufjs from MacInstaller/yarn2nix * [DDW-779] Add @protobufjs * [DDW-779] CHANGELOG update * [DDW-821] Update packages with vulnerabilities (#2769) * [DDW-821] Upgrade packages with vulnerabilities * [DDW-821] Update node headers SHA checksum * [DDW-821] Update CHANGELOG.md * [DDW-821] Upgrade packages with vulnerabilities * [DDW-821] Update node headers SHA checksum * [DDW-821] Update CHANGELOG.md * [DDW-821] Downgrade electron-rebuild * Revert "[DDW-821] Downgrade electron-rebuild" This reverts commit ce4eabb. * Run lockfile:fix * Revert "Revert "[DDW-821] Downgrade electron-rebuild"" This reverts commit debe1c3. * [DDW-821] upgrate low severity vulnerabilities * [DDW-821] align babel config for private methods, class properties and object properties * [DDW-821] Remove explicit resolve-url installation * [DDW-821] Replace deprecated babel-eslint with @babel/eslint-parser * [DDW-821] Fix eslint error by wrapping util script in IIFE * [DDW-821] Fix yarn.lock Co-authored-by: Michael Chappell <michael.chappell@iohk.io> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> * [DDW-874] Update README with nix.conf for Apple M1 (only for development purposes) (#2792) * [DDW-874] Update README with nix.conf for Apple M1 * [DDW-874] Update README - simplify nix.conf for M1 chip * [DDW-874] Update README nix.conf Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-742] Fix receiver address validation (disallow rewards address) (#2781) * [DDW-882] Update cardano-wallet and cardano-node (#2799) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-857][DEBT] Integrate Chromatic (#2776) * [DDW-893] Update the PR checklist (#2811) * [DDW-892] Use fresh locale while rebuilding the application menu (#2813) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * Update develop with release 4.7.0 (#2819) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Lucas <lucas.araujo@iohk.io> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> * [DDW-891] update cardano-node to 1.33.0 (#2822) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-916] Change the message for syncing the blockchain (#2827) * [DDW-916] Update second message on the initial screen to in include part regarding the waiting time (#2831) * [DDW-862] Enable dynamic RTS flags setting (#2758) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Marcin Mazurek <marcin.mazurek@iohk.io> * Bump version to 4.8.0 * [DDW-918] Update blockchain verification progress (#2840) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Szymon Masłowski <szymon.maslowski@iohk.io> * [DDW-920] RTS flags UI/UX improvements (#2842) Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-867] Check disk space (release ver) (#2845) Work originally done by @lucas-barros all credits to him * [DDW-920] Reduce the RAM threshold for RTS mode recommendation (#2846) * [DDW-920] Missing Japanese translations for RTS flags (#2848) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> Co-authored-by: Nikola Glumac <niglumac@gmail.com> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> Co-authored-by: Michael Bishop <michael.bishop@iohk.io> Co-authored-by: Daniel Main <daniel.main.cernhoff@icould.com> Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Lucas Araujo <lucas.araujo@iohk.io> Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Przemysław Włodek <przem.wlodek.github@gmail.com> Co-authored-by: Marcin Mazurek <marcin@mazurek.pro> Co-authored-by: Szymon Masłowski <i.am.szymon.maslowski@gmail.com> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> Co-authored-by: Szymon Masłowski <szymon.maslowski@iohk.io> Co-authored-by: Marcin Mazurek <marcin.mazurek@iohk.io>
* Added jest and couple of unit tests for DDW-706 * Applied code review suggestions * Fixed wrong dependencies * Added a new test and a default config file * unicode-property pump * [DDW-706] Move new jest specs into tests folder * [DDW-706] Add Github action workflow for jest tests * Fix build issues * [DDW-706] Use supported node version in Github actions * [DDW-706] fix github action node version * Fix yarn.lock * Fix CI issues * Fix CI issues * downgrade to jest 26 * fix lockfile * Testing adding the conflict dependency as primary * Downgrade of istanbul-lib-report * [DDW-815] Fix broken Ledger support on Linux (#2741) * fix yarn dev on linux * fix ledger on linux * [DDW-815] Adds CHANGELOG entery * fix windows builds * remove LD_PRELOAD to make the code more stable Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Fix wallet restore dialog and continue disable check (#2745) * Fix walleFix wallet restore dialog and continue disable check * Updated CHANGELOG Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Updated CHANGELOG.md * Change istanbul-lib-report resolution to 3.0.0 * Revert "Change istanbul-lib-report resolution to 3.0.0" This reverts commit 9f63133. * Reverted bump * Reverted bump * Merges release/4.5.1 into release/4.5.0 * Fixes CHANGELOG link * [DDW-771] Add apache license to npm package * [DDW-771] Remove apache license from package.json again * [DDW-771] refactor to multi-line template literals * [DDW-811] Normalize checkbox tick offset * [DDW-824] Introduce a fix for app update on specific platform * [DDW-824] Improve faked data loading * [DDW-824] CHANGELOG update * [DDW-824] Remove unnecessary comment * [DDW-847] Bump CWB to v2021-11-11 * [DDW-847] CHANGELOG update * [DDW-683] Adjusted slider onAfterChange * [DDW-683] Updated CHANGELOG * [DDW-683] Converted component from class to functional * Removed unstable rts flags * [DDW-824] Restrict FAKED news QA loader to DEV mode only * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-738] Setup feature-driven design Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-813] Move discreet mode behavior to its own feature * [DDW-738] Fix circular dependency * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-738] Move toggle component to discreet mode feature folder * [DDW-738] Update translations file * [DDW-738] Remove popOver from DiscreetToggle * [DDW-814] Discreet mode - hide sensitive information (#2742) * [DDW-814] Fix React Dev Tools installation * [DDW-814] Hide sensitive values * [DDW-814] Setup storybook * [DDW-814] Localstorage factory * [DDW-814] Hide token amount for decimal config * [DDW-814] Refactor discreet mode ui components * [DDW-814] Directly use discreet mode feature in toggle * [DDW-814] Introduce configurable replacer pattern * [DDW-814] Create LocalStorageFeatureProvider * [DDW-814] Fix flow * [DDW-814] Fix topbar * [DDW-814] React to state changes on WalletUTXO description * [DDW-814] Preseve Stake pools ranking slider value * [DDW-814] Hide filter input * [DDW-814] Prevent stake pools from refreshing * [DDW-814] Update README * [DDW-814] Hide wallets dropdown in discreet mode * [DDW-814] Disable All transactions button on Filter dialog * [DDW-814] Rename DiscreetToggle component * [DDW-814] Add unit tests for discreet replacers * [DDW-814] Cleanup minor issues * [DDW-814] Fix prettier * [DDW-814] Revert istanbul * [DDW-814] Fix flow errors * [DDW-814] Add discreet toggle mode knob Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-787] Discreet mode - Implement the Settings option (#2740) * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> * [DDW-738] Notification knob * [DDW-839] Discreet mode - automated tests (#2756) * [DDW-839] Discreet mode integration tests * [DDW-839] Remove aria-query from yarnlock * [DDW-839] Remove istanbul from yarnlock * [DDW-839] Tests for public api * [DDW-839] Run lockfile:fix * [DDW-839] Update changelog * [DDW-738] Fix font weights * [DDW-738] Fix button style * [DDW-738] Fix button style * [DDW-738] Pin package version * [DDW-738] Fix name/icon overlapping * [DDW-738] Update yarn.lock * [DDW-738] Review changes * [DDW-738] Fix yarn.lock * [DDW-738] Review changes * [DDW-738] Review changes - use lang selector * [DDW-738] Fix flow issue * [DDW-738] Fix discreet mode logic on filter component * [DDW-854] Init * [DDW-854] New line * [DDW-854] Adjustments * [DDW-854] Update copy * [DDW-854] Small fix * [DDW-854] Small adjustment * [DDW-854] Update icon size * [DDW-854] Fix sass lint * [DDW-854] Update description color * [DDW-854] Update changelog * [DDW-854] Update changelog * [DDW-854] Update message for verifyng stage * [DDW-854] Update colors * [DDW-796] Refactor and voting phases * [DDW-796] Remove closed voting logic * [DDW-796] Exclude js/ts files from nix-build glob * [DDW-796] Fund phase logic * [DDW-796] Fund phase components * [DDW-796] Fix lint issues * [DDW-796] Fix flow issues * [DDW-796] Style fix * [DDW-796] Add observer * [DDW-796] Remove unused * [DDW-796] Lazy validation * [DDW-796] Update text * [DDW-858] Fix eslint warnings * [DDW-796] Add jp translations * [DDW-796] Enable voting in all env for testing only * [DDW-796] Add function for external link * [DDW-796] Review changes * [DDW-796] VotingStore unit test * [DDW-796] Update story * [DDW-796] Test only * Revert "[DDW-796] Test only" This reverts commit 3140b65. * Revert "[DDW-796] Enable voting in all env for testing only" This reverts commit 454c7e1. * [DDW-854] Remove opacity property * [DDW-854] Added flow return type * Fixed duplicated text, wrong order * Bump version to 4.6.0 * Bump version to 4.6.0 (#2780) * Removed RTS Flags from CHANGELOG * Bump version to 4.6.0 Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> Co-authored-by: Nikola Glumac <niglumac@gmail.com> Co-authored-by: Michael Bishop <michael.bishop@iohk.io> Co-authored-by: Michael Chappell <michael.chappell@iohk.io> Co-authored-by: Daniel Main <daniel.main.cernhoff@icould.com> Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Lucas Araujo <lucas.araujo@iohk.io> Co-authored-by: Danilo Prates <daniloprates@gmail.com>
* Added jest and couple of unit tests for DDW-706 * Applied code review suggestions * Fixed wrong dependencies * Added a new test and a default config file * unicode-property pump * [DDW-706] Move new jest specs into tests folder * [DDW-706] Add Github action workflow for jest tests * Fix build issues * [DDW-706] Use supported node version in Github actions * [DDW-706] fix github action node version * Fix yarn.lock * Fix CI issues * Fix CI issues * downgrade to jest 26 * fix lockfile * Testing adding the conflict dependency as primary * Downgrade of istanbul-lib-report * [DDW-735] Merge and gix conflicts * [DDW-735] Merge and fix conflicts * [DDW-779] Update trezor-connect to the latest version 8.2.2-rc.1-multisig * [DDW-779] Add util-deprecate to yarn2nix * [DDW-815] Fix broken Ledger support on Linux (#2741) * fix yarn dev on linux * fix ledger on linux * [DDW-815] Adds CHANGELOG entery * fix windows builds * remove LD_PRELOAD to make the code more stable Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Fix wallet restore dialog and continue disable check (#2745) * Fix walleFix wallet restore dialog and continue disable check * Updated CHANGELOG Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Updated CHANGELOG.md * Change istanbul-lib-report resolution to 3.0.0 * Revert "Change istanbul-lib-report resolution to 3.0.0" This reverts commit 9f63133. * Reverted bump * Reverted bump * [DDW-779] Update trezor-connect to the 8.2.3-beta.3 version * [DDW-779] Remove hd-wallet from yarn2nix * [DDW-779] Update yarn.lock * [DDW-779] Remove hw-wallet from MacInstaller * [DDW-779] Remove merkle-lib from MacInstaller * [DDW-779] Remove multiple sub-dependencies from MacInstaller * [DDW-779] Remove secp256k1 from yarn2nix * [DDW-779] Replace secp256k1 with tiny-secp256k1 in yarn2nix * Merges release/4.5.1 into release/4.5.0 * Fixes CHANGELOG link * [DDW-779] Remove tiny-secp256k1 from yarn2nix * [DDW-779] Add bech32 to yarn2nix * [DDW-779] Add blake-hash to yarn2nix * [DDW-779] Add blake-hash to MacInstaller * [DDW-779] Add tiny-secp256k1 to MacInstaller * [DDW-779] Add bn.js to MacInstaller * [DDW-779] Add elliptic to MacInstaller * [DDW-779] Add minimalistic-assert to MacInstaller * [DDW-779] Add minimalistic-crypto-utils to MacInstaller * [DDW-779] Add minimalistic-crypto-utils to MacInstaller * [DDW-779] Add brorand to MacInstaller * [DDW-779] Add hash.js and hmac-drbg to MacInstaller * [DDW-779] Add int64-buffer to MacInstaller * [DDW-771] Add apache license to npm package * [DDW-771] Remove apache license from package.json again * [DDW-771] refactor to multi-line template literals * [DDW-811] Normalize checkbox tick offset * [DDW-824] Introduce a fix for app update on specific platform * [DDW-824] Improve faked data loading * [DDW-824] CHANGELOG update * [DDW-824] Remove unnecessary comment * fix linux build * [DDW-847] Bump CWB to v2021-11-11 * [DDW-847] CHANGELOG update * [DDW-683] Adjusted slider onAfterChange * [DDW-683] Updated CHANGELOG * [DDW-683] Converted component from class to functional * Removed unstable rts flags * [DDW-824] Restrict FAKED news QA loader to DEV mode only * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-738] Setup feature-driven design Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-813] Move discreet mode behavior to its own feature * [DDW-738] Fix circular dependency * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-738] Move toggle component to discreet mode feature folder * [DDW-738] Update translations file * [DDW-738] Remove popOver from DiscreetToggle * [DDW-814] Discreet mode - hide sensitive information (#2742) * [DDW-814] Fix React Dev Tools installation * [DDW-814] Hide sensitive values * [DDW-814] Setup storybook * [DDW-814] Localstorage factory * [DDW-814] Hide token amount for decimal config * [DDW-814] Refactor discreet mode ui components * [DDW-814] Directly use discreet mode feature in toggle * [DDW-814] Introduce configurable replacer pattern * [DDW-814] Create LocalStorageFeatureProvider * [DDW-814] Fix flow * [DDW-814] Fix topbar * [DDW-814] React to state changes on WalletUTXO description * [DDW-814] Preseve Stake pools ranking slider value * [DDW-814] Hide filter input * [DDW-814] Prevent stake pools from refreshing * [DDW-814] Update README * [DDW-814] Hide wallets dropdown in discreet mode * [DDW-814] Disable All transactions button on Filter dialog * [DDW-814] Rename DiscreetToggle component * [DDW-814] Add unit tests for discreet replacers * [DDW-814] Cleanup minor issues * [DDW-814] Fix prettier * [DDW-814] Revert istanbul * [DDW-814] Fix flow errors * [DDW-814] Add discreet toggle mode knob Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-787] Discreet mode - Implement the Settings option (#2740) * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> * [DDW-738] Notification knob * [DDW-839] Discreet mode - automated tests (#2756) * [DDW-839] Discreet mode integration tests * [DDW-839] Remove aria-query from yarnlock * [DDW-839] Remove istanbul from yarnlock * [DDW-839] Tests for public api * [DDW-839] Run lockfile:fix * [DDW-839] Update changelog * [DDW-738] Fix font weights * [DDW-738] Fix button style * [DDW-738] Fix button style * [DDW-738] Pin package version * [DDW-738] Fix name/icon overlapping * [DDW-738] Update yarn.lock * [DDW-738] Review changes * [DDW-738] Fix yarn.lock * [DDW-738] Review changes * [DDW-738] Review changes - use lang selector * [DDW-738] Fix flow issue * [DDW-738] Fix discreet mode logic on filter component * [DDW-854] Init * [DDW-854] New line * [DDW-854] Adjustments * [DDW-854] Update copy * [DDW-854] Small fix * [DDW-854] Small adjustment * [DDW-854] Update icon size * [DDW-854] Fix sass lint * [DDW-854] Update description color * [DDW-854] Update changelog * [DDW-854] Update changelog * [DDW-854] Update message for verifyng stage * [DDW-854] Update colors * [DDW-796] Refactor and voting phases * [DDW-796] Remove closed voting logic * [DDW-796] Exclude js/ts files from nix-build glob * [DDW-796] Fund phase logic * [DDW-796] Fund phase components * [DDW-796] Fix lint issues * [DDW-796] Fix flow issues * [DDW-796] Style fix * [DDW-796] Add observer * [DDW-796] Remove unused * [DDW-796] Lazy validation * [DDW-796] Update text * [DDW-858] Fix eslint warnings * [DDW-796] Add jp translations * [DDW-796] Enable voting in all env for testing only * [DDW-796] Add function for external link * [DDW-796] Review changes * [DDW-796] VotingStore unit test * [DDW-796] Update story * [DDW-796] Test only * Revert "[DDW-796] Test only" This reverts commit 3140b65. * Revert "[DDW-796] Enable voting in all env for testing only" This reverts commit 454c7e1. * [DDW-779] Update trezor connect to the official 8.2.3-extended version * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bytebuffer-old-fixed-webpack from MacInstaller * [DDW-779] Add babel-runtime 7.12.5 to yarn.lock * [DDW-854] Remove opacity property * [DDW-779] Rebuild yarn.lock * [DDW-779] Add protobufjs and bytebuffer to MacInstaller * [DDW-854] Added flow return type * [DDW-779] Update trezor-connect to 8.2.3-beta.8 version * Fixed duplicated text, wrong order * Bump version to 4.6.0 (#2780) * Removed RTS Flags from CHANGELOG * Bump version to 4.6.0 * [DDW-779] Update trezor-connect to v.8.2.4-extended and fix MacInstaller/yarn2nix * [DDW-779] Remove protobufjs from MacInstaller/yarn2nix * [DDW-779] Add @protobufjs * [DDW-779] CHANGELOG update * [DDW-821] Update packages with vulnerabilities (#2769) * [DDW-821] Upgrade packages with vulnerabilities * [DDW-821] Update node headers SHA checksum * [DDW-821] Update CHANGELOG.md * [DDW-821] Upgrade packages with vulnerabilities * [DDW-821] Update node headers SHA checksum * [DDW-821] Update CHANGELOG.md * [DDW-821] Downgrade electron-rebuild * Revert "[DDW-821] Downgrade electron-rebuild" This reverts commit ce4eabb. * Run lockfile:fix * Revert "Revert "[DDW-821] Downgrade electron-rebuild"" This reverts commit debe1c3. * [DDW-821] upgrate low severity vulnerabilities * [DDW-821] align babel config for private methods, class properties and object properties * [DDW-821] Remove explicit resolve-url installation * [DDW-821] Replace deprecated babel-eslint with @babel/eslint-parser * [DDW-821] Fix eslint error by wrapping util script in IIFE * [DDW-821] Fix yarn.lock Co-authored-by: Michael Chappell <michael.chappell@iohk.io> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> * [DDW-874] Update README with nix.conf for Apple M1 (only for development purposes) (#2792) * [DDW-874] Update README with nix.conf for Apple M1 * [DDW-874] Update README - simplify nix.conf for M1 chip * [DDW-874] Update README nix.conf Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-742] Fix receiver address validation (disallow rewards address) (#2781) * [DDW-882] Update cardano-wallet and cardano-node (#2799) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-857][DEBT] Integrate Chromatic (#2776) * [DDW-893] Update the PR checklist (#2811) * [DDW-892] Use fresh locale while rebuilding the application menu (#2813) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * Update develop with release 4.7.0 (#2819) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Lucas <lucas.araujo@iohk.io> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> * [DDW-891] update cardano-node to 1.33.0 (#2822) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-916] Change the message for syncing the blockchain (#2827) * [DDW-916] Update second message on the initial screen to in include part regarding the waiting time (#2831) * [DDW-862] Enable dynamic RTS flags setting (#2758) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Marcin Mazurek <marcin.mazurek@iohk.io> * Bump version to 4.8.0 * [DDW-918] Update blockchain verification progress (#2840) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Szymon Masłowski <szymon.maslowski@iohk.io> * [DDW-920] RTS flags UI/UX improvements (#2842) Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-867] Check disk space (release ver) (#2845) Work originally done by @lucas-barros all credits to him * [DDW-920] Reduce the RAM threshold for RTS mode recommendation (#2846) * [DDW-920] Missing Japanese translations for RTS flags (#2848) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> Co-authored-by: Nikola Glumac <niglumac@gmail.com> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> Co-authored-by: Michael Bishop <michael.bishop@iohk.io> Co-authored-by: Daniel Main <daniel.main.cernhoff@icould.com> Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Lucas Araujo <lucas.araujo@iohk.io> Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Przemysław Włodek <przem.wlodek.github@gmail.com> Co-authored-by: Marcin Mazurek <marcin@mazurek.pro> Co-authored-by: Szymon Masłowski <i.am.szymon.maslowski@gmail.com> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> Co-authored-by: Szymon Masłowski <szymon.maslowski@iohk.io> Co-authored-by: Marcin Mazurek <marcin.mazurek@iohk.io>
* [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io>
* Added jest and couple of unit tests for DDW-706 * Applied code review suggestions * Fixed wrong dependencies * Added a new test and a default config file * unicode-property pump * [DDW-706] Move new jest specs into tests folder * [DDW-706] Add Github action workflow for jest tests * Fix build issues * [DDW-706] Use supported node version in Github actions * [DDW-706] fix github action node version * Fix yarn.lock * Fix CI issues * Fix CI issues * downgrade to jest 26 * fix lockfile * Testing adding the conflict dependency as primary * Downgrade of istanbul-lib-report * [DDW-815] Fix broken Ledger support on Linux (#2741) * fix yarn dev on linux * fix ledger on linux * [DDW-815] Adds CHANGELOG entery * fix windows builds * remove LD_PRELOAD to make the code more stable Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Fix wallet restore dialog and continue disable check (#2745) * Fix walleFix wallet restore dialog and continue disable check * Updated CHANGELOG Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Updated CHANGELOG.md * Change istanbul-lib-report resolution to 3.0.0 * Revert "Change istanbul-lib-report resolution to 3.0.0" This reverts commit 9f63133. * Reverted bump * Reverted bump * Merges release/4.5.1 into release/4.5.0 * Fixes CHANGELOG link * [DDW-771] Add apache license to npm package * [DDW-771] Remove apache license from package.json again * [DDW-771] refactor to multi-line template literals * [DDW-811] Normalize checkbox tick offset * [DDW-824] Introduce a fix for app update on specific platform * [DDW-824] Improve faked data loading * [DDW-824] CHANGELOG update * [DDW-824] Remove unnecessary comment * [DDW-847] Bump CWB to v2021-11-11 * [DDW-847] CHANGELOG update * [DDW-683] Adjusted slider onAfterChange * [DDW-683] Updated CHANGELOG * [DDW-683] Converted component from class to functional * Removed unstable rts flags * [DDW-824] Restrict FAKED news QA loader to DEV mode only * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-738] Setup feature-driven design Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-813] Move discreet mode behavior to its own feature * [DDW-738] Fix circular dependency * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-738] Move toggle component to discreet mode feature folder * [DDW-738] Update translations file * [DDW-738] Remove popOver from DiscreetToggle * [DDW-814] Discreet mode - hide sensitive information (#2742) * [DDW-814] Fix React Dev Tools installation * [DDW-814] Hide sensitive values * [DDW-814] Setup storybook * [DDW-814] Localstorage factory * [DDW-814] Hide token amount for decimal config * [DDW-814] Refactor discreet mode ui components * [DDW-814] Directly use discreet mode feature in toggle * [DDW-814] Introduce configurable replacer pattern * [DDW-814] Create LocalStorageFeatureProvider * [DDW-814] Fix flow * [DDW-814] Fix topbar * [DDW-814] React to state changes on WalletUTXO description * [DDW-814] Preseve Stake pools ranking slider value * [DDW-814] Hide filter input * [DDW-814] Prevent stake pools from refreshing * [DDW-814] Update README * [DDW-814] Hide wallets dropdown in discreet mode * [DDW-814] Disable All transactions button on Filter dialog * [DDW-814] Rename DiscreetToggle component * [DDW-814] Add unit tests for discreet replacers * [DDW-814] Cleanup minor issues * [DDW-814] Fix prettier * [DDW-814] Revert istanbul * [DDW-814] Fix flow errors * [DDW-814] Add discreet toggle mode knob Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-787] Discreet mode - Implement the Settings option (#2740) * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> * [DDW-738] Notification knob * [DDW-839] Discreet mode - automated tests (#2756) * [DDW-839] Discreet mode integration tests * [DDW-839] Remove aria-query from yarnlock * [DDW-839] Remove istanbul from yarnlock * [DDW-839] Tests for public api * [DDW-839] Run lockfile:fix * [DDW-839] Update changelog * [DDW-738] Fix font weights * [DDW-738] Fix button style * [DDW-738] Fix button style * [DDW-738] Pin package version * [DDW-738] Fix name/icon overlapping * [DDW-738] Update yarn.lock * [DDW-738] Review changes * [DDW-738] Fix yarn.lock * [DDW-738] Review changes * [DDW-738] Review changes - use lang selector * [DDW-738] Fix flow issue * [DDW-738] Fix discreet mode logic on filter component * [DDW-854] Init * [DDW-854] New line * [DDW-854] Adjustments * [DDW-854] Update copy * [DDW-854] Small fix * [DDW-854] Small adjustment * [DDW-854] Update icon size * [DDW-854] Fix sass lint * [DDW-854] Update description color * [DDW-854] Update changelog * [DDW-854] Update changelog * [DDW-854] Update message for verifyng stage * [DDW-854] Update colors * [DDW-796] Refactor and voting phases * [DDW-796] Remove closed voting logic * [DDW-796] Exclude js/ts files from nix-build glob * [DDW-796] Fund phase logic * [DDW-796] Fund phase components * [DDW-796] Fix lint issues * [DDW-796] Fix flow issues * [DDW-796] Style fix * [DDW-796] Add observer * [DDW-796] Remove unused * [DDW-796] Lazy validation * [DDW-796] Update text * [DDW-858] Fix eslint warnings * [DDW-796] Add jp translations * [DDW-796] Enable voting in all env for testing only * [DDW-796] Add function for external link * [DDW-796] Review changes * [DDW-796] VotingStore unit test * [DDW-796] Update story * [DDW-796] Test only * Revert "[DDW-796] Test only" This reverts commit 3140b65. * Revert "[DDW-796] Enable voting in all env for testing only" This reverts commit 454c7e1. * [DDW-854] Remove opacity property * [DDW-854] Added flow return type * Fixed duplicated text, wrong order * Bump version to 4.6.0 * Bump version to 4.6.0 (#2780) * Removed RTS Flags from CHANGELOG * Bump version to 4.6.0 Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> Co-authored-by: Nikola Glumac <niglumac@gmail.com> Co-authored-by: Michael Bishop <michael.bishop@iohk.io> Co-authored-by: Michael Chappell <michael.chappell@iohk.io> Co-authored-by: Daniel Main <daniel.main.cernhoff@icould.com> Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Lucas Araujo <lucas.araujo@iohk.io> Co-authored-by: Danilo Prates <daniloprates@gmail.com>
* Added jest and couple of unit tests for DDW-706 * Applied code review suggestions * Fixed wrong dependencies * Added a new test and a default config file * unicode-property pump * [DDW-706] Move new jest specs into tests folder * [DDW-706] Add Github action workflow for jest tests * Fix build issues * [DDW-706] Use supported node version in Github actions * [DDW-706] fix github action node version * Fix yarn.lock * Fix CI issues * Fix CI issues * downgrade to jest 26 * fix lockfile * Testing adding the conflict dependency as primary * Downgrade of istanbul-lib-report * [DDW-735] Merge and gix conflicts * [DDW-735] Merge and fix conflicts * [DDW-779] Update trezor-connect to the latest version 8.2.2-rc.1-multisig * [DDW-779] Add util-deprecate to yarn2nix * [DDW-815] Fix broken Ledger support on Linux (#2741) * fix yarn dev on linux * fix ledger on linux * [DDW-815] Adds CHANGELOG entery * fix windows builds * remove LD_PRELOAD to make the code more stable Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Fix wallet restore dialog and continue disable check (#2745) * Fix walleFix wallet restore dialog and continue disable check * Updated CHANGELOG Co-authored-by: Nikola Glumac <niglumac@gmail.com> * Updated CHANGELOG.md * Change istanbul-lib-report resolution to 3.0.0 * Revert "Change istanbul-lib-report resolution to 3.0.0" This reverts commit 9f63133. * Reverted bump * Reverted bump * [DDW-779] Update trezor-connect to the 8.2.3-beta.3 version * [DDW-779] Remove hd-wallet from yarn2nix * [DDW-779] Update yarn.lock * [DDW-779] Remove hw-wallet from MacInstaller * [DDW-779] Remove merkle-lib from MacInstaller * [DDW-779] Remove multiple sub-dependencies from MacInstaller * [DDW-779] Remove secp256k1 from yarn2nix * [DDW-779] Replace secp256k1 with tiny-secp256k1 in yarn2nix * Merges release/4.5.1 into release/4.5.0 * Fixes CHANGELOG link * [DDW-779] Remove tiny-secp256k1 from yarn2nix * [DDW-779] Add bech32 to yarn2nix * [DDW-779] Add blake-hash to yarn2nix * [DDW-779] Add blake-hash to MacInstaller * [DDW-779] Add tiny-secp256k1 to MacInstaller * [DDW-779] Add bn.js to MacInstaller * [DDW-779] Add elliptic to MacInstaller * [DDW-779] Add minimalistic-assert to MacInstaller * [DDW-779] Add minimalistic-crypto-utils to MacInstaller * [DDW-779] Add minimalistic-crypto-utils to MacInstaller * [DDW-779] Add brorand to MacInstaller * [DDW-779] Add hash.js and hmac-drbg to MacInstaller * [DDW-779] Add int64-buffer to MacInstaller * [DDW-771] Add apache license to npm package * [DDW-771] Remove apache license from package.json again * [DDW-771] refactor to multi-line template literals * [DDW-811] Normalize checkbox tick offset * [DDW-824] Introduce a fix for app update on specific platform * [DDW-824] Improve faked data loading * [DDW-824] CHANGELOG update * [DDW-824] Remove unnecessary comment * fix linux build * [DDW-847] Bump CWB to v2021-11-11 * [DDW-847] CHANGELOG update * [DDW-683] Adjusted slider onAfterChange * [DDW-683] Updated CHANGELOG * [DDW-683] Converted component from class to functional * Removed unstable rts flags * [DDW-824] Restrict FAKED news QA loader to DEV mode only * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-738] Setup feature-driven design Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-813] Move discreet mode behavior to its own feature * [DDW-738] Fix circular dependency * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-738] Move toggle component to discreet mode feature folder * [DDW-738] Update translations file * [DDW-738] Remove popOver from DiscreetToggle * [DDW-814] Discreet mode - hide sensitive information (#2742) * [DDW-814] Fix React Dev Tools installation * [DDW-814] Hide sensitive values * [DDW-814] Setup storybook * [DDW-814] Localstorage factory * [DDW-814] Hide token amount for decimal config * [DDW-814] Refactor discreet mode ui components * [DDW-814] Directly use discreet mode feature in toggle * [DDW-814] Introduce configurable replacer pattern * [DDW-814] Create LocalStorageFeatureProvider * [DDW-814] Fix flow * [DDW-814] Fix topbar * [DDW-814] React to state changes on WalletUTXO description * [DDW-814] Preseve Stake pools ranking slider value * [DDW-814] Hide filter input * [DDW-814] Prevent stake pools from refreshing * [DDW-814] Update README * [DDW-814] Hide wallets dropdown in discreet mode * [DDW-814] Disable All transactions button on Filter dialog * [DDW-814] Rename DiscreetToggle component * [DDW-814] Add unit tests for discreet replacers * [DDW-814] Cleanup minor issues * [DDW-814] Fix prettier * [DDW-814] Revert istanbul * [DDW-814] Fix flow errors * [DDW-814] Add discreet toggle mode knob Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> * [DDW-787] Discreet mode - Implement the Settings option (#2740) * [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> * [DDW-738] Notification knob * [DDW-839] Discreet mode - automated tests (#2756) * [DDW-839] Discreet mode integration tests * [DDW-839] Remove aria-query from yarnlock * [DDW-839] Remove istanbul from yarnlock * [DDW-839] Tests for public api * [DDW-839] Run lockfile:fix * [DDW-839] Update changelog * [DDW-738] Fix font weights * [DDW-738] Fix button style * [DDW-738] Fix button style * [DDW-738] Pin package version * [DDW-738] Fix name/icon overlapping * [DDW-738] Update yarn.lock * [DDW-738] Review changes * [DDW-738] Fix yarn.lock * [DDW-738] Review changes * [DDW-738] Review changes - use lang selector * [DDW-738] Fix flow issue * [DDW-738] Fix discreet mode logic on filter component * [DDW-854] Init * [DDW-854] New line * [DDW-854] Adjustments * [DDW-854] Update copy * [DDW-854] Small fix * [DDW-854] Small adjustment * [DDW-854] Update icon size * [DDW-854] Fix sass lint * [DDW-854] Update description color * [DDW-854] Update changelog * [DDW-854] Update changelog * [DDW-854] Update message for verifyng stage * [DDW-854] Update colors * [DDW-796] Refactor and voting phases * [DDW-796] Remove closed voting logic * [DDW-796] Exclude js/ts files from nix-build glob * [DDW-796] Fund phase logic * [DDW-796] Fund phase components * [DDW-796] Fix lint issues * [DDW-796] Fix flow issues * [DDW-796] Style fix * [DDW-796] Add observer * [DDW-796] Remove unused * [DDW-796] Lazy validation * [DDW-796] Update text * [DDW-858] Fix eslint warnings * [DDW-796] Add jp translations * [DDW-796] Enable voting in all env for testing only * [DDW-796] Add function for external link * [DDW-796] Review changes * [DDW-796] VotingStore unit test * [DDW-796] Update story * [DDW-796] Test only * Revert "[DDW-796] Test only" This reverts commit 3140b65. * Revert "[DDW-796] Enable voting in all env for testing only" This reverts commit 454c7e1. * [DDW-779] Update trezor connect to the official 8.2.3-extended version * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bigi from MacInstaller * [DDW-779] Remove bytebuffer-old-fixed-webpack from MacInstaller * [DDW-779] Add babel-runtime 7.12.5 to yarn.lock * [DDW-854] Remove opacity property * [DDW-779] Rebuild yarn.lock * [DDW-779] Add protobufjs and bytebuffer to MacInstaller * [DDW-854] Added flow return type * [DDW-779] Update trezor-connect to 8.2.3-beta.8 version * Fixed duplicated text, wrong order * Bump version to 4.6.0 (#2780) * Removed RTS Flags from CHANGELOG * Bump version to 4.6.0 * [DDW-779] Update trezor-connect to v.8.2.4-extended and fix MacInstaller/yarn2nix * [DDW-779] Remove protobufjs from MacInstaller/yarn2nix * [DDW-779] Add @protobufjs * [DDW-779] CHANGELOG update * [DDW-821] Update packages with vulnerabilities (#2769) * [DDW-821] Upgrade packages with vulnerabilities * [DDW-821] Update node headers SHA checksum * [DDW-821] Update CHANGELOG.md * [DDW-821] Upgrade packages with vulnerabilities * [DDW-821] Update node headers SHA checksum * [DDW-821] Update CHANGELOG.md * [DDW-821] Downgrade electron-rebuild * Revert "[DDW-821] Downgrade electron-rebuild" This reverts commit ce4eabb. * Run lockfile:fix * Revert "Revert "[DDW-821] Downgrade electron-rebuild"" This reverts commit debe1c3. * [DDW-821] upgrate low severity vulnerabilities * [DDW-821] align babel config for private methods, class properties and object properties * [DDW-821] Remove explicit resolve-url installation * [DDW-821] Replace deprecated babel-eslint with @babel/eslint-parser * [DDW-821] Fix eslint error by wrapping util script in IIFE * [DDW-821] Fix yarn.lock Co-authored-by: Michael Chappell <michael.chappell@iohk.io> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> * [DDW-874] Update README with nix.conf for Apple M1 (only for development purposes) (#2792) * [DDW-874] Update README with nix.conf for Apple M1 * [DDW-874] Update README - simplify nix.conf for M1 chip * [DDW-874] Update README nix.conf Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-742] Fix receiver address validation (disallow rewards address) (#2781) * [DDW-882] Update cardano-wallet and cardano-node (#2799) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-857][DEBT] Integrate Chromatic (#2776) * [DDW-893] Update the PR checklist (#2811) * [DDW-892] Use fresh locale while rebuilding the application menu (#2813) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * Update develop with release 4.7.0 (#2819) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Lucas <lucas.araujo@iohk.io> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> * [DDW-891] update cardano-node to 1.33.0 (#2822) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-916] Change the message for syncing the blockchain (#2827) * [DDW-916] Update second message on the initial screen to in include part regarding the waiting time (#2831) * [DDW-862] Enable dynamic RTS flags setting (#2758) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Marcin Mazurek <marcin.mazurek@iohk.io> * Bump version to 4.8.0 * [DDW-918] Update blockchain verification progress (#2840) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Szymon Masłowski <szymon.maslowski@iohk.io> * [DDW-920] RTS flags UI/UX improvements (#2842) Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> * [DDW-867] Check disk space (release ver) (#2845) Work originally done by @lucas-barros all credits to him * [DDW-920] Reduce the RAM threshold for RTS mode recommendation (#2846) * [DDW-920] Missing Japanese translations for RTS flags (#2848) Co-authored-by: Daniel Main <daniel.main.cernhoff@icloud.com> Co-authored-by: Dominik Guzei <dominik.guzei@gmail.com> Co-authored-by: Nikola Glumac <niglumac@gmail.com> Co-authored-by: Tomislav Horaček <tomislav@tt-media.hr> Co-authored-by: Michael Bishop <michael.bishop@iohk.io> Co-authored-by: Daniel Main <daniel.main.cernhoff@icould.com> Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io> Co-authored-by: Lucas <lukas_barros@hotmail.com> Co-authored-by: Lucas Araujo <lucas.araujo@iohk.io> Co-authored-by: Danilo Prates <daniloprates@gmail.com> Co-authored-by: Przemysław Włodek <przem.wlodek.github@gmail.com> Co-authored-by: Marcin Mazurek <marcin@mazurek.pro> Co-authored-by: Szymon Masłowski <i.am.szymon.maslowski@gmail.com> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> Co-authored-by: Szymon Masłowski <szymon.maslowski@iohk.io> Co-authored-by: Marcin Mazurek <marcin.mazurek@iohk.io>
* [DDW-785] Discreet mode - Create the Discreet Mode variables * [DDW-786] Discreet mode - Create the TopBar icon (#2725) * [DDW-786] Added discreet mode toggle component * [DDW-789] Remove specific styles from component * [DDW-789] Fix translations * [DDW-789] CHANGELOG * [DDW-789] Fix eslint issue * [DDW-789] Remove popover theme variables * [DDW-789] Increase height for hide icon * [DDW-789] Remove style * [DDW-789] Rearrange icons to group by action or info * [DDW-786] Add japanese translations * [DDW-786] Rearrange icons order * [DDW-786] Add opacity * [DDW-786] Add isDiscreetMode control to story * [DDW-786] Fix gap width * [DDW-786] Fix default message * [DDW-786] Update to use mobx feature pattern * [DDW-786] Fix style * [DDW-787] Implement discreet mode settings * [DDW-787] Fix text * [DDW-787] Add story * [DDW-787] Update translations * [DDW-787] Update translations * [DDW-787] Discreet mode tooltip local storage setting * [DDW-787] NotificationPopOver component * [DDW-787] Migrate Sidebar to functional component * [DDW-787] Wrap categories with NotificationPopOver * [DDW-787] Fix lint * [DDW-787] Add new placements * [DDW-787] Add default translations * [DDW-787] Adjust styles * [DDW-787] One time fixed popOver * [DDW-787] Add red dot to discreet mode settings * [DDW-787] Update initial translations * [DDW-787] Add styles specific for language * [DDW-787] Update action text * [DDW-787] Review changes * [DDW-787] Update translations * [DDW-787] Changelog * [DDW-787] Fix tooltip showing after accessing security tab * [DDW-787] Fix notification dot click * [DDW-787] Fix jumping icons * [DDW-787] Add jp translation * [DDW-787] Fix styling issues * [DDW-787] Remove red dot when user leaves security tab * [DDW-787] Fix tooltip overlap * [DDW-787] Fix click through tooltip * [DDW-787] Fix tooltip overlap dialogs * [DDW-787] Fix prettier issue * [DDW-787] Dismiss tooltip on route leave * [DDW-787] Fix tooltip overlaping issues * [DDW-787] Fix closing discreet mode popover on staking page * [DDW-787] Fix merge conflicts * [DDW-787] Move condition to const * [DDW-787] Move trigger component to stand alone hook * [DDW-787] Fix type import * [DDW-787] Remove unused * [DDW-787] Review changes Co-authored-by: Renan Ferreira <renan.ferreira@iohk.io>
This PR implements the setting options of discreet mode in the new settings security tab.
This also adds red dot notification in sidebar settings icon and security tab on settings page.
This also makes the tooltip in the discreet mode topbar toggle to be visible until clicked for the first time
To reset red dot notification and tooltip visibility use this:
Red dot:
daedalus.features.discreetModeFeature.setDiscreetModeNotification(true)
Toggle tooltip:
daedalus.features.discreetModeFeature.setDiscreetModeSettingsTooltip(true)
Todos
Screenshots
Toggle tooltip is initially open and becomes enabled on hover after first click. Settings red dot is enabled until user clicks the security tab
![image](https://user-images.githubusercontent.com/11845759/142456473-6621c509-a5bf-499e-8165-79e96040ef83.png)
On hover tooltip
![image](https://user-images.githubusercontent.com/11845759/142456832-3902aa52-bbbd-4901-bf01-ede2702e1b31.png)
Security tab red dot
![image](https://user-images.githubusercontent.com/11845759/142456906-bd137fc0-f9e7-4776-890a-44728b29cfb1.png)
After accessing security tab the red dot will disappear
![image](https://user-images.githubusercontent.com/11845759/142457033-4df4fd64-c450-461f-b8da-54290c2320b5.png)
![image](https://user-images.githubusercontent.com/11845759/142457513-57768b9a-3456-4bf3-8c36-fb0335447a6d.png)
Testing Checklist
##Test Scenarios
Scenario 1 - Validate toggle tooltip
Scenario 2 - Validate red dot and tooltip
Scenario 3 - Click on the toggle for the first time
Scenario 4 - Hover on the red dot
Scenario 5 - Open Settings and validate red dot on "Security"
Scenario 6 - Change screen to hide the red dot
Scenario 7 - Enable discreet mode from the security tab
Scenario 8 - Disable discreet mode from security tab
Scenario 9 - Enable starting on discreet mode
Scenario 10 - Disable starting on discreet mode
Review Checklist
Basics
feature
/bug
/chore
,release-x.x.x
)yarn test
)yarn dev
)yarn package
/ CI builds)yarn flow:test
)yarn lint
)yarn prettier:check
)yarn manage:translations
produces no changes)yarn storybook
)yarn.lock
file is updatedCode Quality
Testing
After Review
done
column on the YouTrack board