Skip to content

Commit

Permalink
[DDW-1073] Daedalus copy updates for Incentivized Testnet - Balance c…
Browse files Browse the repository at this point in the history
…heck (#1680)

* bump cardano-sl to include CHANGELOG fix (#1497)

* disable signing with the test keys (#1501)

* bump cardano-sl to latest 3.0.3 (#1505)

* bump cardano-sl to latest 3.0.3 (#1506)

* [DDW-815] Remove "Realtime statistics monitor" link in Testnet builds (#1516)

* [DDW-815] Removed 'Realtime statistics monitor' link from Testnet builds

* [DDW-815] Trigger rebuild

* [DDW-812] Fix application dialog close button colour (#1517)

* DDW-812 Fix application dialog close button colour

* [DDW-812] CHANGELOG

* [DDW-813] Remove unused code

* [DDW-812] Run translation manager

* [DDW-813] Adds a link to the 'Safety Tips' Support portal article (#1518)

* [DDW-813] Adds a link to the 'Safety Tips' Support portal article

* [DDW-815] Trigger rebuild

* [DDW-813] Adds missing Japanese translation

* [DDW-813] Fix failing acceptance test

* [DDW-812] Fix notification z-index issue on Daedalus Diagnostics screen (#1521)

* [DDW-812] Fix notification z-index issue on Daedalus Diagnostics screen

* [DDW-812] Prevent display of main UI under the Block consolidation screen

* cardano-sl bump for RC3 (#1519)

* [DDW-810] Replace '[GPU Safe Mode]' window titlebar text (#1523)

* [DDW-783] Add 'Find out more' link to the 'Wallet UTXO distribution' screen (#1526)

* fixes size of linux installer

* fix bors.toml

* [DDW-892] Handle disk space check error gracefully (#1562)

* [DDW-892] Handle disk space check error gracefully

* [DDW-892] CHANGELOG

* [DDW-892] Translation manager

* [DDW-892] Add disk space checker into try<->catche to avoid app crash

* [DDW-892] Add unknown label with link to support article when disk space not reacheable

* [DDW-892] Fix CHANGELOG typo

* [DDW-900] News feed - feature specification (#1569)

* [DDW-900] wip

* [DDW-900] News feed feature update

* [DDW-900] add feature description for news feed feature

* [DDW-900] update news feed feature specification

* [DDW-900] Update package.json, Adds CHANGELOG entry

* [DEVOPS] Only build mac installers with queue=daedalus agents (#1568)

* only build mac installers with queue=daedalus agents

* Adds the option to skip signing

* [DEVOPS] Adds CHANGELOG entry

* [DDW-893] Implement wallet recovery phrase verification (#1565)

* [DDW-893] UI Init

* [DDW-893] CHANGELOG

* [DDW-893] UI progress

* [DDW-893] UI - progress

* [DDW-893] Wallet Settings page UI and logic

* [DDW-893] Lint

* [DDW-893] Dialogs - init

* [DDW-893] Dialogs - containers and buttons

* [DDW-893] Dialogs - basic styling

* [DDW-893] Dialogs - basic styling

* [DDW-893] Dialogs - intl

* [DDW-893] Dialogs - translations manager

* [DDW-893] Dialogs - update Storybook

* [DDW-893] Dialogs - Change 'safetyAgreement' logic

* [DDW-893] Styling adjustments

* [DDW-893] Correct button naming

* [DDW-893] Remove unused dummy data

* [DDW-893] Change local wallet data logic location

* [DDW-893] updates mnemonicsConfirmationDate

* [DDW-893] Move wallet status logic

* [DDW-893] Sidebar notification

* [DDW-893] Integrate new API endpoint

* [DDW-893] Wallets list notification

* [DDW-893] Implement actions and store logic

* [DDW-893] Flow errors

* [DDW-893] Flow errors

* [DDW-893] Translation manager

* [DDW-893] Introduce Recovery Phrase Autocomplete

* [DDW-893] Wallet Recovery Phrase validation and error messages

* [DDW-893] Prevent closing when entering mnemonics

* [DDW-893] Handles ElectronStore not available

* [DDW-893] Fixes broken Storybook story

* [DDW-893] Removes local data when deleting a wallet

* [DDW-893] Update get wallet id and balance API endpoint

* [DDW-893] Wallet nav notification

* [DDW-893] Replace isVerifying component inner state with request isExecuting flag

* [DDW-893] Styling adjustment

* [DDW-893] Support portal link

* [DDW-893] Adjustment

* [DDW-893] Styling adjustments

* [DDW-893] CSS Variables

* [DDW-893] Correct time until

* [DDW-893] Translation manager

* [DDW-893] Update CHANGELOG

* [DDW-893] Japanese translation

* [DDW-893] Japanese translation

* [DDW-893] Japanese translation

* [DDW-893] Japanese translation

* [DDW-893] Japanese translation

* [DDW-893] Bg color for OK status

* [DDW-893] Checkbox labels

* [DDW-893] Keeps button verifying state after request is finished

* [DDW-893] Removes dummy data from store

* [DDW-893] Removes unused styling

* [DDW-893] Fixes wrong dropdown positioning

* [DDW-893] Wallet LocalStorage as a class

* [DDW-893] Flow errors

* [DDW-893] Refactory - init

* [DDW-893] Adjustments

* [DDW-893] Refactory - progress

* [DDW-893] Refactory - progress

* [DDW-893] Restores nav notification

* [DDW-893] Updates wallet local after verifying

* [DDW-893] Removes local data when deleting a wallet

* [DDW-893] Reverts removing logs

* [DDW-893] Removes unfinished test file

* [DDW-893] E2E tests - WIP

* [DDW-893] E2E tests - WIP

* [DDW-893] Working E2E tests

* [DDW-893] Improves E2E tests

* [DDW-893] Translation manager

* [DDW-893] Fixes wrong font variable introduced in [DDW-757]

* [DDW-893] Automatic update message improvement

* [DDW-893] Code improvements

* [DDW-893] Fix broken E2E tests

* [DDW-893] Bump cardano-sl revision

* [DDW-893] Fix failing acceptance test

* [DDW-893] Replace notification threshold from 150 to 183 days

* [DDW-893] Better intl variable naming

* [DDW-893] English proofreading changes

* [DDW-893] Japanese translation

* [DDW-901] Newsfeed (#1570)

* [DDW-901] Adds more content fields to component and story, aligns exit btn

* [DDW-901] Fixes ESLint warnings

* [DDW-901] Introduce news feed store observers

* [DDW-901] Flow fixes

* [DDW-901] Fixes file names

* [DDW-901] Passes data from newsfeed store to container to component

* [DDW-901] News feed - creating News feed component - adding News Feed - no news feed items

* [DDW-901] News feed - creating News feed component - adding News Feed container

* [DDW-901] Adjusts rendering of props

* [DDW-901] News feed - creating News feed component - adding News Feed container

* [DDW-901] basic setup for patching news feed api in tests

* [DDW-901] NewsFeed store improvement

* [DDW-901] News feed - creating News feed component - adding toggle action on app store

* [DDW-901] News feed - creating News feed component - adding toggle button on top bar

* [DDW-901] News feed - creating News feed component - adding toggle button on top bar

* [DDW-901] News feed - creating News feed component - small fix

* [DDW-901] Flow improvements

* [DDW-901] News feed - creating News feed component - adding toggle button on loading screen

* [DDW-901] News feed - creating News feed component - small hover fix

* [DDW-901] add read news local storage api

* [DDW-901] remove old comments

* [DDW-901] implement news feed test setup steps

* [DDW-901] News feed - creating News feed component - adding News Feed open/close animation

* [DDW-901] News feed - creating News feed component - adding toggle button on loading screen

* [DDW-901] Alerts and Incidents

* [DDW-901] refactor news feed test steps

* [DDW-901] News feed - creating News feed component - adding toggle button animation

* [DDW-901] News feed - creating News feed component - adding toggle button on loading screen

* [DDW-901] News feed - creating News feed component - fixing storybook

* [DDW-901] News feed - creating News feed component - renaming storybook domain name for news

* [DDW-901] Updates styles for incident and alert overlay

* [DDW-901] Handle Markdown in News Item content

* [DDW-901] Fix syncing tooltip

* [DDW-901] News feed - creating News feed component - adding News Item component

* [DDW-901] News feed - creating News feed component - adding News Item component

* [DDW-901] News feed - creating News feed component - adding News Item component

* [DDW-901] refactor and implement more acceptance tests

* [DDW-901] News feed - creating News feed component - fixing News Item component in storybook

* [DDW-901] News feed - creating News feed component - fixing storybook

* [DDW-901] Introduce WalletsCollection class with helper methods

* [DDW-901] Update markdown content

* [DDW-901] News feed - creating News feed component - News Item expanding/collapsing

* [DDW-901] News Store hotfix

* [DDW-901] Continues adjusting styles of AlertOverlay

* [DDW-901] Update markdown

* [DDW-901] Adds content box scrolling, and scrollbar thumb styles

* [DDW-901] News feed sidebar animation update

* [DDW-901] News feed - creating News feed component - News Item date format

* [DDW-901] Update news fetching state

* [DDW-901] Introduce markAsRead @action

* [DDW-901] Fix environment label

* Adds counter to AlertsOverlay, adds styles to IncidentOverlay

* [DDW-901] News feed - creating News feed component - News Feed scroll

* [DDW-901] Adds onMarkNewsAsRead handler to onClose func

* [DDW-901] Introduce poller interval set/reset on initial fetching error

* [DDW-901] Improve mobX handlers to prevent set issues

* [DDW-901] News feed - creating News feed component - News Item

* [DDW-901] Corrects colors for IncidentOverlay and formats markdown for Alerts and Incidents

* [DDW-901] Removes alert icon from AlertsOverlay and IncidentOverlay

* [DDW-901] Changes import order of assets in overlays

* [DDW-901] Bell icon logic

* [DDW-901] fix some minor issues

* [DDW-901] merging wip stash

* [DDW-901] Use correct news data

* [DDW-901] Fix observable issue

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] fix broken news collection

* [DDW-901] show news item badge only for unread items

* [DDW-901] Introduce targetVersion news check

* [DDW-901] Remove unnecessary log

* Updates content 2

Expands dummy data for content 2

* Changes item 9 to an incident

* [DDW-901] add advanced incident content

* [DDW-901] only show news icon dot for unread announcements

* [DDW-901] fix wrong content assignment in news feed store

* [DDW-901] update some tests to new requirements

* [DDW-901] Fixes fixed positioning of overlays, content min-width, and styling of ordered lists in markdown

* [DDW-901] News feed - creating News feed component - News Item updates for content styling

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] Flow improvements

* [DDW-901] Remwove unnecessary log

* [DDW-901] Update bell highlighted state

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] Safe length check

* [DDW-901] NewsFeed story data improvement

* [DDW-901] Merge and fix conflicts

* [DDW-901] Adds CHANGELOG entry

* [DDW-901] Fixes styling in overlays

* [DDW-901] Fixes ESLint errors in overlays

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] Misha DAVAY!

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] Changes alert counter to --font-medium, and Misha Davay

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] News feed - creating News feed component - News Item updates

* [DDW-901] News feed - creating News feed component - News Item spinner update

* [DDW-901] News feed - creating News feed component - News Item spinner update

* [DDW-901] Changes news feed to newsfeed throughout app

* [DDW-901] Fixes ESLint error

* [DDW-901] Updates defaultMessages.json

* [DDW-901] implement 80% of tests

* [DDW-901] fix newsfeed state logic when news feed couldnt be fetched

* [DDW-901] Change dummy JSN file location and fetch from daedaluswallet.io

* [DDW-901] fix broken newsfeed fetching state

* [DDW-901] News feed - creating News feed component - News Item height update, expanded/collapsed state update

* [DDW-901] Improve fetching spinner apeareance logic and new storybook story

* [DDW-901] Fix white theme

* [DDW-901] Fix news item spacing

* [DDW-901] News feed - creating News feed component - News Item height update, expanded/collapsed state update

* [DDW-901] News feed - creating News feed component - News Item height update, expanded/collapsed state update

* [DDW-901] News feed - creating News feed component - News Item height update, expanded/collapsed state update

* [DDW-901] News feed - creating News feed component - News Item color update

* Dummy News JSON update

* [DDW-901] Adds action for opening an alert

* Dummy News JSON update

* [DDW-901] News feed - creating News feed component - News Item color update

* [DDW-901] Update animation

* [DDW-901] News feed - creating News feed component - News Item color update

* [DDW-901] Prevent multiple markingAsRead if already marked

* [DDW-901] optimize newsfeed tests for speed

* [DDW-901] News feed - creating News feed component - News Item color update

* [DDW-901] Fix line breaks and scroll issues, Add markdown styling

* [DDW-901] News feed - creating News feed component - News Item color update

* [DDW-901] Introduce news content link click handler

* [DDW-901] News feed - creating News feed component - News Item color update

* [DDW-901] News feed - creating News feed component - News Item color update

* [DDW-901] Click handlers

* [DDW-901] Fixes open and close action logic for AlertsOverlay

* [DDW-901] Scss rules alphabetic order

* [DDW-901] Fixes flow error in NewsFeedStore.js

* [DDW-901] Fixes flow error in AlertOverlay.stories.js

* [DDW-901] add smooth news item expanding animation

* [DDW-901] Introduce internal github request to JSON news files

* [DDW-901] Freeze package.json

* [DDW-901] disallow unused markdown types in newsfeed items

* [DDW-901] Removes min-height from content of AlertsOverlay.scss

* [DDW-901] Inject Japanese translations

* [DDW-901] Adds external link icon to action buttons in overlays

* [DDW-901] Drop shadow when scrolling

* [DDW-901] Introduce incident interval

* [DDW-901] Fetch news from daedalus.io

* [DDW-901] Reposition Alert overlay counter

* [DDW-901] Match multiple target platforms from single item

* [DDW-901] Disable incident/alert overlays in specific cases and overlays opacity improvement

* [DDW-901] Improve getNews api response type

* [DDW-901] Add news item route action handler

* [DDW-901] Alerts overlay counter and internal actions button improvements

* [DDW-901] Introduce news feed title generator and dummy JSON file with no internal route actions

* [DDW-901] Rename newsfeed files

* [DDW-901] Restore failed test scenario screenshots

* [DDW-901] Fix Bell icon position on connecting screen

* [DDW-901] Fetch news over HTTPS

* [DDW-901] Fix E2E tests

* [DDW-901] Remove unnecessary logs

* [DDW-901] Improve eslint config and fix feature/test eslint issue

* [DDW-901] Improve news unread dot margin

* [DDW-901] Center newsfeed header badge counter

* [DDW-901] Collapse all expanded items on newsfeed sidebar close

* [DDW-901] Remove unnecessary @watch flags

* [DDW-901] Fix theming issues on profile screens

* [DDW-901] Small code cleanup

* [DDW-901] Code style improvements

* [DDW-901] Add news bell icon to storybook layouts

* [DDW-901] Verify newsfeed using hashes

* [DDW-912] Bump Daedalus version (#1573)

* [DDW-912] Bump Daedalus version to 0.15.0 and update CHANGELOG

* [DDW-912] CHANGELOG fixes

* [DDW-912] CHANGELOG fixes

* [DDW-912] CHANGELOG fix

* [DDW-912] Fix failing tests

* [DDW-901] Fix yellow theme newsfeed sidebar message text color (#1578)

* [DDW-911] Update newsfeed JSON and verification files hosting URLs (#1580)

* [DDW-911] Remove 'v' from Daedalus version on Automatic update overlay

* [DDW-911] Update newsfeed JSON and verification files hosting URLs

* daedalus-bridge: override configuration.yaml (#1587)

* [DDW-821] Reorganize Test Setup (#1540)

* [DDW-821] Adds README to tests directory

* [DDW-821] Edits tests/README.md

* [DDW-821] Moves nav features to Navigation directory

* [DDW-821] Pulls in existing testing docs to README

* [DDW-821] Moves .eslintrc to tests directory

* [DDW-821] Moves address features to Addresses directory

* [DDW-821] Moves paper wallets features to PaperWallets directory

* [DDW-821] Moves settings features to Settings directory

* [DDW-821] Moves wallet status features to Status directory

* [DDW-821] Moves txns features to Transactions directory

* [DDW-821] Moves wallets features to Wallets directory

* [DDW-821] Removes all features files to domain structured directories within tests dir

* [DDW-821] Adds features dir to all domain dirs, moves in feature files

* [DDW-821] Moves status steps to tests/Status/steps

* [DDW-821] Moves settings steps to tests/Settings/steps

* [DDW-821] Moves status helper step

* [DDW-821] Moves paper wallets steps to tests/PaperWallets/steps

* [DDW-821] Moves txns steps to tests/Transactions/steps

* [DDW-821] Moves addresses steps to tests/Addresses/steps

* [DDW-821] Moves nav steps to tests/Navigation/steps

* [DDW-821] Moves wallets steps to tests/Wallets/steps

* [DDW-821] Moves nav helpers to tests/Navigation/helpers

* [DDW-821] Begins consolidating navigation-steps

* [DDW-821] Renames add wallet page helpers

* [DDW-821] Restructures test setup helpers and types

* [DDW-821] Consolidates Status helpers

* [DDW-821] Begins consolidating Wallets helpers

* [DDW-821] Creates e2e and unit sub-directories within each domain of tests directory

* [DDW-821] Creates documents sub-directory within PaperWallets domain

* [DDW-821] Creates documents sub-directory within Wallets domain

* [DDW-821] Updates .gitignore to ignore screenshots directories within new domains sub-directories

* [DDW-821] Moves about-dialog feature and steps to Status domain

* [DDW-821] Moves shared-helpers steps to appropriate locations

* [DDW-821] Consolidates Settings helper functions

* [DDW-821] Moves i18n helpers into Settings domain, refactors import routes

* [DDW-821] Moves import wallet dialog helpers into Wallets domain, refactors import routes

* [DDW-821] Moves remaining wallet-helpers into Wallets domain

* [DDW-821] Moves shared-helpers and screenshot helpers into new Common domain

* [DDW-821] Moves screenshots dir to root of tests dir, configures .gitignore

* [DDW-821] Renames domains directories to use lowercase

* [DDW-821] Renames status domain to nodes, fixes paths on all import statements within nodes dir

* [DDW-821] Fixes import statement paths for nodes domain, adds flow

* [DDW-821] Fixes import statement paths for transactions domain, adds flow

* [DDW-821] Fixes import statement paths for navigation domain, adds flow

* [DDW-821] Fixes import statement paths for addresses domain, adds flow

* [DDW-821] Fixes import statement paths for wallets domain, adds flow

* [DDW-821] Fixes import statement paths for settings domain, adds flow

* [DDW-821] Fixes import statement paths for common domain, adds flow

* [DDW-821] Fixes import statement paths for paper-wallets domain, adds flow

* [DDW-821] Renames wallets steps files

* [DDW-821] Renames transactions steps files

* [DDW-821] Renames settings steps files

* [DDW-821] Renames paper-wallets steps files

* [DDW-821] Renames nodes steps files

* [DDW-821] Moves quit-app.feature to nodes domain

* [DDW-821] Renames steps file in navigation domain

* [DDW-821] Renames steps file in addresses domain

* [DDW-821] Updates list of domains directories in tests/README.md

* [DDW-821] Adds utils property to Daedalus type in tests

* [DDW-821] Fixes all flow errors in wallets helpers

* [DDW-821] Fixes all flow errors in wallets steps files

* [DDW-821] Adds flow support to utxos-chart.js in txns domain

* [DDW-821] Adds flow support to basic-setup.js in settings domain

* [DDW-821] Adds flow support to general-settings.js in settings domain

* [DDW-821] Fixes all flow errors in settings helpers

* [DDW-821] Fixes all flow errors in settings select-language steps

* [DDW-821] Fixes all flow errors in settings.js steps file

* [DDW-821] Fixes all flow errors in settings terms-of-use steps file

* [DDW-821] Fixes all flow errors in settings file-names steps file

* [DDW-821] Fixes all flow errors in paper-wallets-certificates steps file

* [DDW-821] Fixes all flow errors in tests/setup.js

* [DDW-821] Fixes screenshots directory path in .gitignore

* [DDW-821] Updates CHANGELOG

* [DDW-821] Cucumber, ESLint, and Prettier config adjustments

* [DDW-821] Fixes ESLint error (abc order css rules)

* [DDW-821] Fixes Gulp task test:e2e:watch

* [DDW-821] Fixes screenshots logic in tests

* [DDW-821] Updates CHANGELOG

* [DDW-821] Fixes newsfeed e2e tests

* [DDW-821] Moves newsfeed features, tests, steps, and documents into news domain directory

* [DDW-821] Fix newsfeed tests

* [DDW-820] Reorganize Storybook and add missing stories (#1537)

* [DDW-820] Wallets stories

* [DDW-820] CHANGELOG

* [DDW-820] Nested stories

* [DDW-820] Rename support dir

* [DDW-820] Staking

* [DDW-820] Settings ini

* [DDW-820] Daedalus Menu reorganized && general settings

* [DDW-820] Settings progress

* [DDW-820] Fixes import paths in Loading stories

* [DDW-820] Fixes flow error

* [DDW-820] Fixes flow error in config.js

* [DDW-820] Fixes flow error in StoryWrapper.js

* [DDW-820] Adds missing isVideoWatched prop to flow type declaration fixing error

* [DDW-820] Fixes more flow errors

* [DDW-820] Refactors Loading stories into Nodes stories

* [DDW-820] Refactors Diagnostics and Block Consolidation stories into Status stories under Nodes domain

* [DDW-820] Refactors Settings stories

* [DDW-820] Adds paper-wallets domain and stories

* [DDW-820] Finishes wallets domain refactor

* [DDW-820] Adds todo comment for remaining domains

* [DDW-820] Reorganizes navigation stories and adds environment section to nodes stories

* [DDW-820] Consolidates staking wizard into one story

* [DDW-820] Fixes ESLint error

* [DDW-820] Updates CHANGELOG entry

* [DDW-820] Updates translations

* [DDW-820] Updates CHANGELOG

* [DDW-820] Updates CHANGELOG

* [DDW-820] Fixes Settings NAV

* [DDW-820] Re-sorts Stories categories

* [DDW-820] Fix broken Wizard stories

* [DDW-820] Fix broken Wizard stories

* [DDW-820] Adds AboutDialog story to nodes domain

* [DDW-820] Renames NewsFeed domain to News, shortens story names

* [DDW-820] Centers WalletAdd content

* [DDW-820] Preselects Summary tab in WalletSummary story

* [DDW-820] Fixes background color of Add screen so buttons show up like in wallet

* [DDW-820] Adds locale and osName as props to StoryWrapper's rendered story

* Corrects comment domain name

* [DDW-820] Fixes Terms of Use story to translate terms on locale change

* [DDW-820] Prevents 'No Preview Message' from popping up

* [DDW-820] Fixes flow error

* [DDW-820] Remove unnecessary story

* [DDW-904] Fix Flat button color (#1586)

* Introduce flat button color fix

* [DDW-904] CHANGELOG update

* [DDW-903] Recovery phrase notifications, Flat / Secondary buttons and disabled buttons color improvements

* [DDW-883] Update cardano theme styles (#1584)

* [DDW-883] Introduce green cardano theme white color and borders color improvements

* [DDW-883] CHANGELOG update

* [DDW-883] Big button, Transaction addresses and delegation dialog padding improvement

* [DDW-883] Data layer migration screen fix for Cardano theme

* [DDW-883] Incident overlay WHITE color improvement

* [DDW-883] Prettier format

* [DDW-883] Wallet data migration screen dark-blue theme improvement

* [DDW-883] Form fields border, checkmark, background improvements

* [DDW-883] Form fields disabled state colors improvements

* [DDW-967] Fix broken source maps (#1594)

* [DDW-967] Fix source maps to inline for better chrome support

* [DDW-967] Adds CHANGELOG entry

* [DDW-930] Add a Note to the UTXO Screen (#1589)

* [DDW-930] Adds pendingTransactions to messages

* [DDW-930] Adds renderPendingTxns method and JSX styles

* [DDW-930] Updates translations with pendingTxns message

* [DDW-930] Styles note correctly, renders pending txns

* [DDW-930] Adds new pendingTxnsCount prop to utxo story

* [DDW-930] Fixes flow errors

* [DDW-930] Uses FormattedHTMLMessage for rendering UTXO note content

* [DDW-930] Updates translations

* [DDW-930] Adds missing period

* [DDW-930] Moves pendingTxnsCount to the Transactions store instead of in container

* [DDW-930] Renames computed value to follow Transactions Store conventions

* [DDW-930] Adds Japanese translation for UTXO note

* [DDW-930] Adjusts style for centering content

* [DDW-930] Updates CHANGELOG

* [DDW-930] Changes margin-top to 20px. Changes BorderBox padding to 30px.

* [DDW-930] Style classes to CamelCase fix

* enable signing on darwin (#1601)

* Staging applicationVersion -> 27 (#1608)

* [DDW-33] Reduce layout re-renderings (#1595)

* [DDW-33] Remove any unnecessary layout re-renderings

* [DDW-33] Update i18n files

* [DDW-33] Add changelog entry

* [DDW-33] Fix usage of mobx computed.struct

* [DDW-981] Speedup storybook builds in development (#1607)

* [DDW-980] Speedup storybook build performance in development

* [DDW-981] Add changelog entry

* [DDW-981] Use storybook webpack caching in development

* [DDW-922] Change the "Delete Wallet" Button Layout (#1612)

* [DDW-922] Adds Delete Wallet BorderedBox where new layout will exist

* [DDW-922] Styles content and button according to mockup

* [DDW-922] Fixes ESLint error

* [DDW-922] Adds flat button class, uses react-polymorph Button component

* [DDW-922] Cleans up code in DeleteWalletButton.js

* [DDW-922] Adds Japanese translations and new English messages

* [DDW-922] Adds intl message rendering to WalletSettings.js for deleting a wallet

* [DDW-922] Updates line numbers in defaultMessages.json

* [DDW-922] Updates CHANGELOG

* [DDW-922] Deletes commented out export wallet code and styles

* [DDW-922] Improves CHANGELOG entry

* [DDW-922] Deletes all export wallet related files

* [DDW-922] Removes export wallet from actions

* [DDW-922] Removes export wallet api method and types

* [DDW-922] Removes export wallet from WalletSettings store

* [DDW-922] Removes export wallet imports and data from Wallet Settings container and component

* [DDW-922] Removes export wallet imports and data from Wallet Settings container and component

* [DDW-922] Removes export wallet story and related data in storybook

* [DDW-922] Updates translations

* [DDW-980] Fix build mode of webpack auto dll plugin (#1606)

* [DDW-980] Build auto dll plugin in dev mode for better debugging

* [DDW-980] Add changelog entry

* [DDW-980] Fix CI issues

* [DDW-980] Make unit tests fast again

The last major tests refactoring merged the unit and e2e tests into the same folder structure which resulted in the same cucumber setup for all tests and thus slow unit tests (because each test case had to wait for the UI to reload like in e2e).

This change only reloads and waits for the UI for any scenarios tagged with e2e which solves that problem in an easy way while keeping the same folder structure (which is good IMO)

* [DDW-980] Remove CI hack

* [DDW-980] Keep default config of auto dll plugin in CI env

* [DDW-1016] Fix E2E broken 'Delete Wallet' test (#1619)

* [DDW-1016] Fix E2E broken 'Delete Wallet' test

* [DDW-1016] CHANGELOG

* [DDW-1022] Fix missing Japanese translation for recovery phrase verification (#1623)

* [DDW-1022] Fix missing Japanese translation for recovery phrase verification

* [DDW-1022] Update changelog

* [DDW-1022] Fix CHANGELOG

* [DDW-929] Implement date, time and number format user options (#1611)

* [DDW-929] General Settings UI

* [DDW-929] CHANGELOG Entry

* [DDW-9229] App First Launch screen

* [DDW-929] Change app language in the initial setup

* [DDW-929] Simplify LocalStorage

* [DDW-929] Profile Store and LocalStorage actions

* [DDW-929] Using GeneralSettings component

* [DDW-929] Unify intl ids

* [DDW-929] Simplify _updateUserLocalSetting

* [DDW-929] Add logic for the initial screen persistence

* [DDW-929] Date and Time format for Transactions

* [DDW-929] Date and Time format for Transactions

* [DDW-929] Date format for News Feed

* [DDW-929] Date format for News Feed

* [DDW-929] Number Format for Summary and Deleg Center

* [DDW-929] Number Format for Sidebar

* [DDW-929] Remaining Number Format places

* Revert to d7955b9

* [DDW-929] Simpler 'numberFormat' solution

* [DDW-929] E2E tests adjustments

* [DDW-929] Simplify the props passed

* [DDW-929] Simplify the initial screen logic

* [DDW-929] Fix broken Select labels

* [DDW-929] Formats hardcoded ADA amounts

* [DDW-929] Formats Rewards ADA amounts

* [DDW-929] Add formatting to Diagnostics screen

* [DDW-929] Translation manager

* [DDW-929] Custom date and time in the Paper Wallet

* [DDW-929] Additional formatting to Diagnostics screen

* [DDW-929] Prevent BigNumber error

* staging -> 28 testnet -> 5

* staging -> 28 testnet -> 5 (#1628)

* [DDW-907] Add internal link support in newsfeed items (#1617)

* [DDW-907] Introduce internal link support for newsfeed items and verification hash generator

* [DDW-907] Hash generator path improvement

* [DDW-907] Re-add news JSON files and ignore prettier on newsfeed-files folder

* [DDW-907] newsfeed_testnet.json file improvement

* [DDW-907] Newsfeed development JSON file with in-app events and routes

* [DDW-907] JSON files small improvement

* [DDW-907] Refactor verification hash generator to use local files instead GH request

* [DDW-907] Better error handler in verification hash generator

* [DDW-907] CHANGELOG update

* [DDW-907] FAKED Newsfeed JSON loading

* [DDW-907] Requested improvements

* [DDW-907] Reverted newsfeed JSON file fetching and local JSON file fetching helper introduced

* [DDW-907] Fetch newsfeed from local JSON files logic improvement

* [DDW-907] Add local newsfeed fetching instructions as README

* [DDW-907] Merge latest develop and fix conflicts

* [DEVOPS] Daedalus applicationVersion: bump all environments (#1654)

* applicationVersion: bump all environments

* Bump Daedalus version

* [DDW-1056] Newsfeed content loading issue (#1653)

* [DDW-1056] Fix newsfeed content loading issue

* [DDW-1056] Update CHANGELOG.md

* [DDW-1040] Adjustment

* [DDW-1040] Lint, prettier and some flow errors

* [DDW-1040] Flow issues

* [DDW-1040] Use correct newsfeed link URL

* [DDW-1040] Fix yellow theme TODO/conflict

* [DDW-1040] Fix lint and flow issues

* [DDW-1040] Fix failling E2E tests

* [DDW-1040] Fix Cardano theme TODO/conflict

* [DDW-1040] Fix eslint issues

* [DDW-1040] Fix Flow issues and e2e test improvement

* [DDW-1040] Fix broken E2E wallet helper

* [DDW-1040] Remove unused e2e test

* [DDW-1040] Storybook adjustments

* [DDW-1040] Storybook adjustments

* [DDW-1040] Transfer funds adjustments

* [DDW-1040] Transaction list style adjustment

* Checkout v2-integration version of haskell installers

* [DDW-1073] Introduce Daedalus copy updates for ITN - Balance check

* [DDW-1073] Disable Wallet Import for ITN

* [DDW-1073] Add delete wallet warning message on Legacy Wallet settings screen

* [DDW-1073] Reverting back wallet add dialog description

* [DDW-1073] Changelog update

* [DDW-1073] Remove 3rd number format selection on Settings screen

* [DDW-1073] Adds Japanese ToS

* [DDW-1073] Revert Japanese ToS

* [DDW-1073] Improve Legacy wallet settings screen styles

* [DDW-1073] Disable re-focus input if delete wallet dialog is open

* [DDW-1073] Styling adjustments

* [DDW-1073] Block Delete wallet form focusing improvemnt

* [DDW-1073]: Grey out node responding and sync status icons when they are off statuses

* [DDW-1073] Change Wallet Restore password instructions message

* [DDW-1073] Restores ITN theme on Storybook

* [DDW-1073] Fix restore Rewards Wallet E2E test and adding test for restore Balance Wallet

* [DDW-1073] Blocking form - improvement
  • Loading branch information
Tomislav Horaček authored and nikolaglumac committed Nov 14, 2019
1 parent 765e1cf commit 07ba1f7
Show file tree
Hide file tree
Showing 29 changed files with 523 additions and 223 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Changelog

### Chores

- Daedalus copy updates for Incentivized Testnet - Balance check ([PR 1680](https://github.com/input-output-hk/daedalus/pull/1680))
- Added "Terms of use" for Incentivized Testnet version of Daedalus ([PR 1664](https://github.com/input-output-hk/daedalus/pull/1664))
- Added Legacy Wallet UI changes ([PR 1647](https://github.com/input-output-hk/daedalus/pull/1647))
- Removed wallet recovery phrase verification feature for Incentivized Testnet version of Daedalus ([PR 1645](https://github.com/input-output-hk/daedalus/pull/1645))
Expand Down
3 changes: 2 additions & 1 deletion source/renderer/app/components/layout/TopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ export default class TopBar extends Component<Props> {
)}
{children}
</div>
{hasLegacyNotification && (
{hasLegacyNotification && activeWallet && (
<LegacyNotification
activeWallet={activeWallet}
onLearnMore={onLearnMore}
onTransferFunds={onTransferFundsFn}
hasAnyWallets={hasAnyWallets}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const STATUS_CLASSNAMES: Object = {
[CardanoNodeStates.ERRORED]: 'off',
[CardanoNodeStates.UNRECOVERABLE]: 'off',
true: 'on',
false: 'off',
false: 'unknown',
undefined: 'unloaded',
};

Expand Down
4 changes: 2 additions & 2 deletions source/renderer/app/components/notifications/LegacyBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import styles from './LegacyBadge.scss';
const messages = defineMessages({
label: {
id: 'wallet.legacy.badge.label',
defaultMessage: '!!!Legacy',
description: 'Label "Legacy" on the legacy badge.',
defaultMessage: '!!!Balance',
description: 'Label "Balance" on the legacy badge.',
},
});

Expand Down
114 changes: 96 additions & 18 deletions source/renderer/app/components/notifications/LegacyNotification.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,48 @@
// @flow
import React, { Component } from 'react';
import { observer } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';
import { defineMessages, intlShape, FormattedHTMLMessage } from 'react-intl';
import SVGInline from 'react-svg-inline';
import { Button } from 'react-polymorph/lib/components/Button';
import { ButtonSkin } from 'react-polymorph/lib/skins/simple/ButtonSkin';
import externalLinkIcon from '../../assets/images/link-ic.inline.svg';
import styles from './LegacyNotification.scss';
import Wallet from '../../domains/Wallet';

const messages = defineMessages({
title: {
id: 'wallet.legacy.notification.title',
defaultMessage: '!!!Move funds from the legacy wallet',
moveFundsTitle: {
id: 'wallet.legacy.notification.moveFundsTitle',
defaultMessage: '!!!Move testnet ada from {activeWalletName}',
description:
'Title "Move funds from the legacy wallet" on the legacy notification.',
},
description: {
id: 'wallet.legacy.notification.description',
addWalletTitle: {
id: 'wallet.legacy.notification.addWalletTitle',
defaultMessage: '!!!Create a Rewards wallet',
description: 'Title "Create a Rewards wallet" on the legacy notification.',
},
moveFundsDescriptionLine1: {
id: 'wallet.legacy.notification.moveFundsDescription.line1',
defaultMessage:
'!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.',
'!!!"{transferWalletName}"" is a Balance wallet. It currently holds the testnet ada copied from the mainnet via the balance check snapshot.',
description: 'Legacy notification description.',
},
moveFundsDescriptionLine2: {
id: 'wallet.legacy.notification.moveFundsDescription.line2',
defaultMessage:
'!!!Move testnet ada to a Rewards wallet to delegate your testnet ada stake and earn rewards.',
description: 'Legacy notification description.',
},
addWalletDescriptionLine1: {
id: 'wallet.legacy.notification.addWalletDescription.line1',
defaultMessage:
'!!!"{activeWalletName}"" is a Balance wallet. It currently holds the testnet ada copied from the mainnet via the balance check snapshot.',
description: 'Legacy notification description.',
},
addWalletDescriptionLine2: {
id: 'wallet.legacy.notification.addWalletDescription.line2',
defaultMessage:
'!!!Create a Rewards wallet to delegate your testnet ada stake and earn rewards.',
description: 'Legacy notification description.',
},
actionLearnMore: {
Expand All @@ -28,13 +52,13 @@ const messages = defineMessages({
},
actionMove: {
id: 'wallet.legacy.notification.actionMove',
defaultMessage: '!!!Move all of the ada from this wallet',
description: 'Move all ada action of legacy notification.',
defaultMessage: '!!!Move testnet ada',
description: 'Move testnet ada action of legacy notification.',
},
addWallet: {
id: 'wallet.legacy.notification.addWallet',
defaultMessage: '!!!Move all of the ada from this wallet',
description: 'Add wallet action of legacy notification.',
defaultMessage: '!!!Create a new Rewards wallet',
description: 'Create a new Rewards wallet action of legacy notification.',
},
learnMoreLinkUrl: {
id: 'wallet.legacy.notification.learnMore.url',
Expand All @@ -45,6 +69,7 @@ const messages = defineMessages({
});

type Props = {
activeWallet: Wallet,
onLearnMore: Function,
onTransferFunds: Function,
hasAnyWallets?: boolean,
Expand All @@ -65,20 +90,73 @@ export default class LegacyNotification extends Component<Props> {

render() {
const { intl } = this.context;
const { onTransferFunds, hasAnyWallets, onWalletAdd } = this.props;
const title = intl.formatMessage(messages.title);
const description = intl.formatMessage(messages.description);
const {
onTransferFunds,
hasAnyWallets,
onWalletAdd,
activeWallet,
} = this.props;
const buttonAction = hasAnyWallets ? onTransferFunds : onWalletAdd;

const buttonLabel = hasAnyWallets
? intl.formatMessage(messages.actionMove)
: intl.formatMessage(messages.addWallet);

const buttonAction = hasAnyWallets ? onTransferFunds : onWalletAdd;

return (
<div className={styles.component}>
<div className={styles.title}>{title}</div>
<div className={styles.description}>{description}</div>
<div className={styles.title}>
{hasAnyWallets ? (
<FormattedHTMLMessage
{...messages.moveFundsTitle}
values={{
activeWalletName: activeWallet.name,
}}
/>
) : (
<FormattedHTMLMessage
{...messages.addWalletTitle}
values={{
activeWalletName: activeWallet.name,
}}
/>
)}
</div>
<div className={styles.description}>
<p>
{hasAnyWallets ? (
<FormattedHTMLMessage
{...messages.moveFundsDescriptionLine1}
values={{
activeWalletName: activeWallet.name,
}}
/>
) : (
<FormattedHTMLMessage
{...messages.addWalletDescriptionLine1}
values={{
activeWalletName: activeWallet.name,
}}
/>
)}
</p>
<p>
{hasAnyWallets ? (
<FormattedHTMLMessage
{...messages.moveFundsDescriptionLine2}
values={{
activeWalletName: activeWallet.name,
}}
/>
) : (
<FormattedHTMLMessage
{...messages.addWalletDescriptionLine2}
values={{
activeWalletName: activeWallet.name,
}}
/>
)}
</p>
</div>
<div className={styles.actions}>
<Button
className={styles.actionLearnMore}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,38 @@
) !important;
}
}
}
.title {
color: var(--theme-legacy-notification-title-color);
flex-grow: 1;
font-family: var(--font-medium);
font-size: 16px;
font-weight: 500;
height: 22px;
line-height: 1.38;
}

.title {
color: var(--theme-legacy-notification-title-color);
flex-grow: 1;
font-family: var(--font-medium);
font-size: 16px;
font-weight: 500;
height: 22px;
line-height: 1.38;
}
.description {
color: var(--theme-legacy-notification-description-color);
font-family: var(--font-light);
font-size: 14px;
letter-spacing: 0.5px;
line-height: 1.36;
margin-top: 10px;
}

.description {
color: var(--theme-legacy-notification-description-color);
font-family: var(--font-light);
font-size: 14px;
letter-spacing: 0.5px;
line-height: 1.36;
margin-top: 10px;
}
.actions {
display: flex;
justify-content: flex-end;
margin-top: 22px;
}

.actions {
display: flex;
justify-content: flex-end;
margin-top: 22px;
q {
quotes: '"' '"';
&:before {
content: open-quote;
}
&:after {
content: close-quote;
}
}
}
15 changes: 11 additions & 4 deletions source/renderer/app/components/wallet/WalletAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const messages = defineMessages({
},
createDescription: {
id: 'wallet.add.dialog.create.description',
defaultMessage: '!!!Create a new wallet',
defaultMessage: '!!!Create a wallet for the balance check',
description:
'Description for the "Create" button on the wallet add dialog.',
},
Expand All @@ -46,7 +46,7 @@ const messages = defineMessages({
restoreWithCertificateDescription: {
id: 'wallet.add.dialog.restore.withCertificate.description',
defaultMessage:
'!!!Restore using backup-recovery phrase or paper wallet certificate.',
'!!!Restore a wallet or paper wallet using wallet recovery phrase',
description:
'Description for the "Restore" button with paper wallet certificate on the wallet add dialog.',
},
Expand All @@ -63,7 +63,7 @@ const messages = defineMessages({
},
importDescription: {
id: 'wallet.add.dialog.import.description',
defaultMessage: '!!!Import wallet from a file',
defaultMessage: '!!!Import a wallet from a file',
description:
'Description for the "Import" button on the wallet add dialog.',
},
Expand All @@ -90,6 +90,7 @@ type Props = {
isMainnet: boolean,
isTestnet: boolean,
isMaxNumberOfWalletsReached: boolean,
isIncentivizedTestnet: boolean,
};

@observer
Expand All @@ -112,6 +113,7 @@ export default class WalletAdd extends Component<Props> {
isMaxNumberOfWalletsReached,
isMainnet,
isTestnet,
isIncentivizedTestnet,
} = this.props;

const componentClasses = classnames([styles.component, 'WalletAdd']);
Expand Down Expand Up @@ -158,7 +160,12 @@ export default class WalletAdd extends Component<Props> {
icon={importIcon}
label={intl.formatMessage(messages.importLabel)}
description={intl.formatMessage(messages.importDescription)}
isDisabled={isMaxNumberOfWalletsReached || isMainnet || isTestnet}
isDisabled={
isMaxNumberOfWalletsReached ||
isMainnet ||
isTestnet ||
isIncentivizedTestnet
}
/>
</div>
{activeNotification ? (
Expand Down

0 comments on commit 07ba1f7

Please sign in to comment.