Filip Sekulic
426e3c37a4
Fixed accounts auto scrolling ( #17075 )
...
* Fixed a bug
* Fixed additional bug
2023-02-28 08:23:24 -06:00
David Walsh
eb380f92ef
UX: Icon: Remove unwanted aria label ( #17903 )
2023-02-27 10:43:06 -06:00
David Walsh
5561987fed
UX: Icon: Stop using fa-times ( #17811 )
2023-02-27 10:42:02 -06:00
Frederik Bolding
64bfe6f307
Fix a bug where non-address types would be rendered as addresses in EIP-712 ( #17846 )
...
* Fix EIP-712 rendering logic
* Fix tests
* Fix tests and story
* Fix lint
* Fix import
* Fix stories
2023-02-27 17:32:51 +01:00
Filip Sekulic
932282e638
What's new - OpenSea security provider ( #16831 )
2023-02-27 10:20:22 -06:00
David Walsh
e20c70efd5
UX: Update Settings Icon ( #17561 )
...
* UX: Update Settings Icon
* Remove font-awesome usage
* Remove from files to convert
* Fix lint
2023-02-26 20:42:03 -06:00
Niranjana Binoy
bc19856d5d
Transaction-list-item-details pop up to display the correct token information on token approve item ( #17422 )
2023-02-24 14:21:55 -05:00
Nidhi Kumari
9f17e2f94b
UX Icon: updated fa-exclamation-circle ( #17879 )
2023-02-24 12:52:11 -06:00
David Walsh
e3380ba3ae
UX: Icon: Remove fa-exclamation-triangle usages ( #17691 )
...
* UX: Icon: WIP: Remove fa-exclamation-triangle usages
* Swap the rest of the icons
* Fix color import
* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.stories.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.stories.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.stories.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/app/add-network/add-network.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/ui/review-spending-cap/review-spending-cap.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Fix lint
* Fix alignment and sizes
* Use IconColor
* Update ui/components/app/custom-spending-cap/custom-spending-cap-tooltip.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/confirmation-warning-modal/confirmation-warning-modal.js
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update ui/components/app/signature-request-original/signature-request-original-warning/signature-request-original-warning.js
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update ui/components/ui/review-spending-cap/review-spending-cap.js
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.js
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Fix imports
* Use IconColor
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-02-23 15:20:07 -06:00
David Walsh
09a170bfe2
UX: Icons: Remove icon-import ( #17816 )
...
* UX: Icons: Remove icon-import
* Add new icon
2023-02-23 15:19:23 -06:00
David Walsh
6cc46454c2
UX: Remove legacy metametrics modal ( #17817 )
...
* UX: Remove legacy metametrics modal
* Remove old localizations
* Remove dead image
2023-02-23 13:58:09 -06:00
João Tavares
bde74756d3
Add extension desktop UI ( #17748 )
...
* feat: add desktop enable button component
This component will be added
to the experimental page. Users
will then be able to initialize
a desktop connection
* feat: add desktop pairing page
* feat: add desktop deep-linking shared lib
* test: add initial entries to render helper
Allow specifying initialEntries for
MemoryRouter. This change will allow
testing pages that use the useParam
hook.
* feat: add desktop error page
Error page for any desktop pairing
related issue
* feat: add desktop routes to route component
* feat: add enable desktop button to experimental tab
* feat: add desktop icon when paired in dev mode
* feat: disable ledger live control when desktop enabled
* feat: register desktop error actions on ui init
* fix: add missing code fencing
* chore: remove enable desktop rpc middleware
Now that we are adding the UI
there's no need for this rpc middleware
(as it was used to test desktop background
code)
* fix: display experimental tab for desktop
2023-02-23 16:39:48 +00:00
Vladimir Saric
4c598b330e
Display the address icon for the contract requesting spending cap instead of the dapp/url icon ( #17858 )
2023-02-23 15:54:04 +01:00
David Walsh
09c60e2038
UX: Icons: Remove IconCheck and fa-check ( #17787 )
...
* UX: Icons: Remove IconCheck and fa-check
* update jest snapshots
* Update story
* Remove dead CSS
* Update ui/components/app/account-menu/account-menu.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/dropdowns/network-dropdown.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/permissions-connect/redirect/permissions-redirect.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/send/send-content/add-recipient/domain-input.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/onboarding-flow/metametrics/metametrics.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/modals/transaction-confirmed/transaction-confirmed.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Fix jest snapshots
* Update sizes of network andd account menu checks
* Fix ICON_SIZES in account menu
* Improvements
* Use IconColor
* Use IconColor
* Lint
* Update snapshots
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-23 07:19:28 -06:00
Filip Sekulic
2acd51af2e
Open sea security provider warning message ( #17662 )
...
* Warning message for the OpenSea security provider
* Updated snapshots
* Removed flask usage
* Covered more test cases
* Code refactor
* Fixed errors
* Code refactor
* Fixed few issues
* Covered more code with tests
2023-02-23 08:38:09 -03:00
Nidhi Kumari
6892ab2bff
updated Proptypes for IconButton ( #17797 )
2023-02-22 16:55:32 -06:00
Nidhi Kumari
3437d7161f
UX Icon: updated fas-question icon ( #17828 )
...
* updated fas-question icon
* removed as property from Box
* fallback prop for heading
2023-02-22 16:45:07 -06:00
George Marshall
72af5626de
Updating Icon html element to span ( #17790 )
2023-02-22 14:42:50 -08:00
Garrett Bear
d22522ed5d
update to add end icon support ( #17776 )
2023-02-22 09:42:06 -08:00
Garrett Bear
9df5f910a7
set default html elements ( #17762 )
2023-02-22 09:41:46 -08:00
David Walsh
eba4275467
Fix #17825 - Prevent timing conflict with NFT toast messages ( #17861 )
2023-02-22 11:14:47 -06:00
George Marshall
ae3cd97690
Fixing focus outline ( #17863 )
2023-02-22 09:14:40 -08:00
David Walsh
f57d10d857
UX: Icons: Remove unused overview icons ( #17671 )
...
* UX: Icons: Remove unused overview icons
* Add args
2023-02-22 11:13:48 -06:00
George Marshall
527387bbfe
Adding Input component and updating TextFieldBase ( #17664 )
...
* Adding Input component and updating TextField
* Exporting from index, removing as prop and updating snapshot
2023-02-21 10:35:28 -08:00
David Walsh
1b382e9f2d
Remove CancelTransaction modal ( #17819 )
...
* Remove CancelTransaction modal
* Remove old locales
* Remove dead test
2023-02-21 11:19:37 -06:00
David Walsh
1e5f9da592
MenuItem: Fix layout of menu item with subtitle ( #17650 )
2023-02-21 09:50:54 -06:00
David Walsh
1f9b5a2293
UX: Icons: Stop using FA in TransactionActivityLog ( #17667 )
2023-02-21 09:49:31 -06:00
David Walsh
2cfd0f9bbd
Ux: Icon: Improve alignment of asset list chevron ( #17791 )
...
* Ux: Icon: Improve alignment of asset list chevron
* Update jest snapshot
2023-02-21 09:49:16 -06:00
David Walsh
c312f6c2b2
UX: Icons: Remove IconWithLabel ( #17815 )
2023-02-21 09:45:12 -06:00
David Walsh
24e0a9030b
UX: Move Portfolio link to its own button ( #17722 )
2023-02-21 09:32:08 -06:00
Nidhi Kumari
123098d77a
UX Icon: Replace fa-user ( #17809 )
...
* updated fa-user
* updated color
2023-02-21 18:59:19 +05:30
David Walsh
3fa167e673
UX: Icons: Fix alignment of settings icons in full screen ( #17783 )
2023-02-17 09:17:34 -06:00
George Marshall
30bc9a923e
Part of 17670: Replace Typography with Text approve-content-card ( #17753 )
...
* Updating Typography to Text approve-content-card
* Adding h6 tags
* Update ui/components/app/approve-content-card/approve-content-card.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-02-16 18:33:35 -08:00
David Walsh
1a330dd8c6
UX: Icons: Remove lock icon ( #17739 )
...
* UX: Icons: Remove lock icon
* set icon to auto for improved alignment
* remove unused import
---------
Co-authored-by: garrettbear <gwhisten@gmail.com>
2023-02-16 15:56:26 -08:00
George Marshall
cf487b8f97
Update HelpText component ( #17705 )
...
* Updating HelpText component
* Updating logic for html element depending on children
* Adding span to story to reflect docs
* Updating reveal seed instance
2023-02-16 12:42:15 -08:00
Nidhi Kumari
33cc8d587a
NFT: Replaced all the instances of collectibles with NFTs ( #17741 )
...
* replaced all the instances of collectibles with nfts
* updated actions
* updated e2e seeder
* updated confirm Approve test
* updated test dapp change
* updated test dapp change
* nit fix
* nit fix
* updated casing and snapshots
* updated casinG
* added migrations
* updated ,igration
* updated 078.test
* updated tests for 078 migration
* updated migration
* updated 078 index.js
2023-02-17 00:53:29 +05:30
David Walsh
74ef8e4fa4
UX: Icon: Remove Plus icon ( #17666 )
2023-02-16 07:26:26 -06:00
David Walsh
4dcb639652
UX: Icons: Remove usage of chevron fa- icons ( #17668 )
2023-02-16 07:26:14 -06:00
David Walsh
8c233b2a82
UX: Icons: Stop using fa-address-book ( #17761 )
...
* UX: Icons: Stop using fa-address-book
* Remove locale string
* Fix positioning
2023-02-16 07:26:00 -06:00
George Marshall
f6ee35b6e3
Updating TextField component ( #17732 )
...
* Removing TextFieldBase and updating TextField and TextFieldSearch
* Removing autoFocus from MDX so it's not annoying
2023-02-15 15:43:51 -08:00
Monte Lai
cdc1bce688
SRP hold to reveal ( #17232 )
...
* refactor class to functional component
* update messages
* fix: use classnames
* feat: add hold to reveal modal
* feat: add new zendesk url for secret recovery phrase and noncustodial wallet
* update: clipboard to clear copied text after delay
* fix: remove save to csv
* feat: update styles for reveal seed page
* fix: update reveal seed snapshot
* add test to check for modal
* fix: lint
* fix: unused messages locale
* fix: use new banner component
* fix: use new button from design system
* fix: update snapshot
* fix: lint
* revert text
* fix: lint
* fix: remove --copy-only
* fix: marginBottom prop value
* fix: iconName and prop error
* --made the QR code slightly smaller so it's less likely to have a scrollbar
--updated the snapshots
* fix: error message not displaying
* SRP hold to reveal using more DS components (#17583 )
* Updating to add DS components and remove CSS
* Fixing rendered html and removing some unneeded props
* fix: set block to true
---------
Co-authored-by: Monte <monte.lai@consensys.net>
* fix: add descriptions to messages
* Update ui/components/ui/export-text-container/export-text-container.component.js
fix: lint
Co-authored-by: HowardBraham <HowardBraham@users.noreply.github.com>
* fix: remove using displayWarning in requestRevealSeedWords
* fix: update test to remove displayError
* fix: update design system enums
* fix: messages descriptions
* fix: banner to banneralert
* fix: update preview
* add additional tests
* fix: use jest instead of sinon
* add test if long press isn't completed
* add test if password is wrong
---------
Co-authored-by: Howard Braham <howrad@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-15 10:07:33 -08:00
David Walsh
9e9f9126cc
UX: Icons: Use proper send icon on wallet and token overview pages ( #17720 )
2023-02-15 10:26:21 -06:00
David Walsh
fca2a3f97f
UX: Update three-dot icon for settings ( #17558 )
2023-02-15 08:39:46 -06:00
George Marshall
a4f33ec0ad
Updating Label component ( #17731 )
2023-02-15 08:29:26 -06:00
Ayush
caef0735fd
Fix #17447 ( #17679 )
2023-02-15 11:34:11 +07:00
George Marshall
aee1971496
Fixing prop type errors in components and tests ( #17704 )
2023-02-14 11:34:19 -06:00
Garrett Bear
ec870cebc6
fix broken stories and readme from TS update ( #17703 )
2023-02-14 11:33:04 -06:00
David Walsh
7774ee6e2f
UX: Replace all fa-bell instances with Notification icon ( #17524 )
...
* UX: Replace all fa-bell instances with Notification icon
* Fix flask comment fencing
* Fix import error
2023-02-10 19:33:11 -06:00
David Walsh
c61576e33c
UX: Icons: Remove legacy connect icon ( #17673 )
2023-02-10 19:32:52 -06:00
David Walsh
e723de3208
UX: Icons: Remove usage of pencil icon ( #17676 )
2023-02-10 19:32:44 -06:00
amerkadicE
1ecf241a9f
Rename reset account settings ( #17457 )
...
* Rename reset account settings
Fix snapshot
Update snapshots
Fix e2e tests
Fix e2e tests
* Rename reset-account e2e test to clear-activity e2e test
2023-02-10 22:50:12 +01:00
David Walsh
50937dcfde
NFTs: Hide detail when no thumbnail available ( #17693 )
2023-02-10 08:05:51 -06:00
George Marshall
e269790ff4
Removing TEXT_VARIANTS in favour of TextVariant ( #17674 )
2023-02-09 16:09:33 -08:00
George Marshall
a5b908ccf3
Deprecating Typography component ( #17672 )
...
* Deprecating Typography component
* Fixing lint issue
2023-02-09 12:17:25 -08:00
David Walsh
10be6fcfeb
UX: Update block explorer icon ( #17562 )
...
* UX: Update block explorer icon
* Removing unneeded CSS and some HTML bloat
* Removing unneeded className
* Removing unneeded CSS and reducing HTML bloat for ContractTokenValues
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-02-09 10:21:51 -06:00
Jyoti Puri
61a7850afc
Sanitising string on signature request pages ( #17571 )
2023-02-09 04:35:52 +05:30
Nidhi Kumari
3be1fc6d0c
converted collectibles files to nfts ( #17658 )
...
* converted collectibles files to nfts
* updated relative import for scss
* updated scss for pages
2023-02-08 20:04:56 +05:30
Maarten Zuidhoorn
ff85b040cb
Sort permissions based on weight ( #17660 )
2023-02-08 15:28:48 +01:00
Ariella Vu
b5c1de900d
Refactor ConfirmTransaction to Functional Component ( #17473 )
...
* ConfirmTransaction: rm unused metricEvent context
* ConfirmTransaction: rm unused mapToProps props:
- unapprovedTxs
- id
* ConfirmTransaction: convert to FC
* ConfirmTransaction: use const ORIGIN_METAMASK
* ConfirmTransaction: rm mapStateToProps
* ConfirmTransaction: mv confirm-transaction ducks
* ConfirmTransaction: mv getContractMethodData duck
* ConfirmTransaction: rm container file
* ConfirmTransaction: use ORIGIN_METAMASK const
* ConfirmationTransaction: add tests
* ConfirmTransaction: update jest mock after merge
* tests: update snapshot after mock-state updates
2023-02-08 18:00:25 +07:00
George Marshall
b55f955243
Adding docs for layout and spacing for Icon component ( #17612 )
...
* Adding docs for layout and spacing for Icon component
* Adding close bracket
2023-02-07 10:07:50 -08:00
Thomas Huang
14efbf1eea
Collectible Unit Tests ( #17632 )
...
* Add ipfs gateway and collectible state to mock-state.json
* Add collectible-default-image test with snapshot and testids
* Add Collectible Details test, snapshot, and test-ids
* Add Collectible Options tests and test-ids
* Add Collectible Items test and test-ids.
* Add more tests to Add Collectible component
* Update Security Tab snapshot with ipfs gateway state value
* Add data-testid to Menu component for menu background
* Lint
* Bump coverage targets
* Remove commented import
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-02-07 12:06:37 -06:00
Garrett Bear
fd53de6af5
Update BannerAlert component ( #17586 )
...
* update button alert component
* update test
* rename Banner to BannerAlert
* remove old banner snapshot
* fix banner alert border left
2023-02-07 09:32:35 -08:00
Monte Lai
31afc76f9b
fix: update ledger logo ( #17616 )
2023-02-07 05:10:21 +08:00
David Walsh
02d608d20c
UX: Fix token image not displaying in asset listing ( #17575 )
2023-02-06 08:31:19 -06:00
David Walsh
4b8aebbd5d
Prevent lint warning in ActionableMessage ( #17598 )
2023-02-06 08:30:02 -06:00
Maarten Zuidhoorn
8cda817f5c
Add hardcoded list of human-readable snap names ( #17595 )
...
* Add hardcoded list of human-readable snap names
* Make the text properly bold
* Small style fixes to approval screen
* Run yarn lint:fix
* Update snapshots
2023-02-06 11:05:57 +01:00
David Walsh
678ad6397b
Change COLORS reference to Color ( #17599 )
...
* Change COLORS reference to Color
* Fix lint
2023-02-03 17:47:45 -06:00
David Walsh
330cba61de
UX: Remove the IconCopy and IconCopied Components and their usages ( #17530 )
2023-02-03 16:06:14 -06:00
David Walsh
710b1a3fbf
UX: Update support icon ( #17560 )
2023-02-03 16:05:51 -06:00
Brad Decker
31897b542d
Convert actions.js to typescript ( #17446 )
2023-02-03 11:56:44 -06:00
Niranjana Binoy
769efc9fe3
Disable fiat conversion in Approve Screen when Show balance and token price checker
is OFF ( #17443 )
2023-02-03 12:13:19 -05:00
Garrett Bear
0465263d3e
update banner base component ( #17582 )
...
* update banner base component
* add description to story controls
2023-02-03 13:42:53 +05:30
Nidhi Kumari
41d3dcc8a3
updated tag icon ( #17540 )
2023-02-02 17:13:49 -08:00
Brad Decker
02b2d7fa42
Dead and redundant code removal ( #17512 )
2023-02-02 16:00:05 -06:00
Danica Shen
f3c00c65d0
fix: fix non-critical warning in tests ( #17567 )
2023-02-02 20:37:53 +00:00
Danica Shen
794f3039f1
feature: migrate design-system.ts ( #17518 )
2023-02-02 20:15:26 +00:00
Nidhi Kumari
b123458a26
updated CollectibleDetail Storybook Coverage ( #17351 )
...
* updated CollectibleDetail Storybook Coverage
* updated tooltip for collectible details
* updated color of icon
* fixed lint error
* fix lint error
2023-02-02 23:56:36 +05:30
Vladimir Saric
308151cd49
Display a warning and gas fee component for token allowance and NFT flow when transaction is expected to fail ( #17437 )
...
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-02-01 17:14:09 -06:00
Garrett Bear
b0ed6be77a
remove unused banner base proptype ( #17531 )
2023-02-01 13:44:57 -08:00
Brad Decker
0885c6cd1f
prefer locale slice for locale state ( #17499 )
2023-02-01 11:53:35 -06:00
David Walsh
03d8ee5eae
Onboarding V2: Remove old onboarding flow ( #17081 )
2023-02-01 09:28:09 -06:00
Jyoti Puri
8fd65a698e
Fix build ( #17538 )
2023-02-01 19:07:15 +05:30
Garrett Bear
db0492e042
fix button text props ( #17478 )
...
* fix button text props
* fix textProps size from being overriden
* Update ui/components/component-library/button-link/button-link.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-01 13:25:46 +05:30
Jyoti Puri
26222a9b27
Refactoring confirm-transaction-base component ( #17484 )
2023-02-01 11:24:41 +05:30
ryanml
5e863a297f
Adjust 'Confirm' button color on setApprovalForAll revocations ( #17506 )
2023-01-31 18:22:33 -07:00
David Walsh
145cf1ec01
UX - Update all copy icons ( #17445 )
2023-01-31 11:00:26 -06:00
Vladimir Saric
8aa3263b82
Added navigation between multiple sign prompts and reject all sign prompts ( #17093 )
...
* Fixed navigation through multiple unapproved transactions for ERC20 tokens
* Fixed tx details activity-log currency
* Fixed e2e test failure
* Added navigation between multiple sign prompts and reject all sign prompts
* Resolving conflicts
* Creating SignatureRequestNavigation component and extracting the UI rendering part into a single component
* Fixing e2e tests and updating snapshot
* Using single component for navigation which shows both messages and transactions requests
* Fixing test-unit-jest-main
* Added more unit tests
* Fixing test-storybook
* Fixing test-storybook
---------
Co-authored-by: Filip Sekulic <filip.sekulic@consensys.net>
2023-01-31 16:29:23 +01:00
David Walsh
18a1beb3dd
Update overview icons for buy, send, and swap ( #17492 )
2023-01-31 08:47:43 -06:00
David Walsh
edb2c9ea00
Fix #17441 - Update all MenuItem instances to use new icons ( #17468 )
2023-01-31 08:47:00 -06:00
David Walsh
ff843c1b10
Fix #17393 - Fix NFT collection header image ( #17394 )
2023-01-31 08:46:40 -06:00
David Walsh
acafe7c4c5
Update home portfolio dapp icon to new icon ( #17471 )
...
* Update home portfolio dapp icon to new icon
* Using ButtonLink component so onClick isn't used on a div
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-01-30 12:33:08 -06:00
Danica Shen
c23bd4925b
feature: convert level 32 files to typescript ( #17390 )
2023-01-27 18:28:03 +00:00
Dan J Miller
7a77c82514
Use network provider state, instead of CurrencyRateController state, to select 'nativeCurrency' ( #17450 )
...
* Use network provider state, instead of CurrencyRateController state, select 'nativeCurrency'
* Fix unit tests
* Lint fix
* Only use the network provider ticket for the native currency when useCurrencyRateCheck is false
* Fix unit test
* Fix tests for real
2023-01-27 13:47:47 -03:30
David Walsh
6ee2d07706
Fix #17362 - Ensure NFT icons are correct ( #17440 )
...
* Fix #17362 - Ensure NFT icons are correct
* Update trash icon
2023-01-27 08:32:03 -06:00
David Walsh
b21e0df4fa
Fix #17385 - Provide autohide callback for ActionMessage ( #17392 )
...
* Fix #17385 - Provide autohide callback for ActionMessage
* Add autohide to the removeal message
2023-01-27 08:31:43 -06:00
Garrett Bear
30520a3352
button link housekeeping ( #16885 )
...
* button link housekeeping
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-26 10:32:11 -08:00
amerkadicE
ab329e5186
Refactor confirm page container component from class to functional component ( #16907 )
2023-01-26 11:07:17 -06:00
Nidhi Kumari
1d1b751f62
Consolidated all component import paths ( #17368 )
2023-01-25 11:54:08 -08:00
Nidhi Kumari
709d0267f8
updated new links for the stories ( #17369 )
2023-01-25 11:51:25 -08:00
David Walsh
29d4799f46
Fix #17388 - Remove dismiss button from NFT notification ( #17389 )
2023-01-25 13:28:15 -06:00
Garrett Bear
ed75dabe57
Feat/15086/add banner severities component ( #17307 )
...
* add banner component
* update banner styles and tests
* fix padding and update snapshot
* banner stories id removal
* update readme
* Update ui/components/component-library/banner/banner.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* banner updates
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-25 10:39:49 -08:00
Garrett Bear
23133a2735
fix icon names ( #17391 )
2023-01-25 23:41:13 +05:30
Alex Donesky
3d87f65d9b
Fix broken NFT import and auto-detect flows ( #17384 )
...
* Fix broken NFT import and auto-detect flows
2023-01-25 10:33:06 -06:00
Brad Decker
073718d965
Convert ui/helpers/constants/common to typescript ( #17348 )
2023-01-25 09:47:02 -06:00
Niranjana Binoy
129a06cc12
Copy update on Transaction breakdown for ApproveToken ( #17296 )
2023-01-25 10:15:58 -05:00
ryanml
47f6d46bb3
Add alt text for NFT images ( #17284 )
2023-01-25 08:08:35 -06:00
Nidhi Kumari
8a6bf4d1c9
Nit fixes for story-test integration ( #17344 )
...
* nit fix for story-test integration
* updated package.jsson
2023-01-25 09:24:13 +05:30
Garrett Bear
0bf6aeb5f5
icon audit, remove xxs icon size ( #17089 )
...
* icon audit, remove xxs icon size
* update icon file names and snapshots
* remove unused icon- code and fix icons with slash issue
* close icon fix
* remove icons id
* update snapshot
* font awesome icon list
* remove font awesome
* fix linting issue
2023-01-24 09:39:46 -08:00
amerkadicE
dd09245ff6
Fix/use etherjs specific imports ( #15461 )
...
* replace ethers with submodules
Co-authored-by: Alex <adonesky@gmail.com>
2023-01-24 08:10:36 -06:00
David Walsh
cf10b2a1a0
Fix #17300 , #16843 - Use proper source for image of IPFS NFTs ( #17302 )
2023-01-23 16:04:11 -06:00
Brad Decker
b4c5837760
Remove usages of Conversion util in components folder in favor of Numeric ( #17333 )
...
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-01-23 13:30:43 -06:00
Frederik Bolding
ef69e2ae48
[FLASK] Update onboarding text to fit new panel ( #17345 )
...
* Update Flask onboarding text to fit new panel
* Fix lint
2023-01-23 18:43:35 +01:00
Nidhi Kumari
213240349d
Updated Icons in Title of NFTs ( #17205 )
...
* icon update for nft
* updated icon for previously owned icon
* removed isPreviouslyOwned condition
2023-01-23 22:38:35 +05:30
Vladimir Saric
f988dc1c5e
Enable the Token Allowance flow by default for all users ( #16740 )
2023-01-23 21:49:55 +05:30
Brad Decker
af83e120dc
Convert app//scripts/lib/util.js to typescript ( #17330 )
2023-01-23 10:18:22 -06:00
aleksandar-mihajlovic
16851c83ef
Added fix for overlaping text in mozzila in activity tab ( #17235 )
2023-01-23 09:48:14 -06:00
Jyoti Puri
3e523e2382
Use PageContainerFooter to render footer on all confirmation pages ( #17316 )
2023-01-23 20:52:12 +05:30
Nidhi Kumari
180eabea06
Added toaster for removed NFTs ( #17297 )
...
* added notification for remove nfts
* reverted names for tabs
* updated default key
* updated snapshot
* updated remove nft toast to danger
2023-01-23 17:23:44 +05:30
Nidhi Kumari
c5368c152b
Added storybook check to CI ( #17092 )
...
* added storybook test runner
* added test runner in ci
* updated test for ci and fixed lint error
* updated lavamoat policy
* updated test command
* updated playwright
* changed command to storybook;ci
* updated command
* updated instance for test-storybook
* updated playwright
* added playwright step
* replaced concurrently with start-server-and-test
* updated the static storybook directory
* replaced first with last
* updated lock file
* replaced first with last
* updated test-storybook with maxworkers
* updated .depchechrc
* updated yml
* removed id from banner base
* replaced broken stories with .stories-to-do.js extesnsion
* updated token allowance story
* removed duplicacies from yarn
* fixed lavamoat
* removed filename comment
* updated links for docs
* fixed file extension for stories
* updated path for stories.json
* updated stories.json path
* yarn updated
* updated stories
* updated yarn
* updated wait on
2023-01-21 00:57:46 +05:30
Brad Decker
92f6ea6f6b
Relocate conversion utils to shared/modules/conversion.utils.js ( #17319 )
2023-01-20 11:04:37 -06:00
David Walsh
24551b7e9c
Fix #17138 - Allow ActionMessage to be autohidden after a given number of milliseconds ( #17269 )
2023-01-20 09:33:36 -06:00
ryanml
a19a5d60d3
Convert shared/constants/hardware-wallets.js -> Typescript ( #17310 )
2023-01-20 09:14:40 -06:00
Ariella Vu
c744f2d0cf
TransactionDecoding: rm unwanted cursor: pointer ( #17318 )
2023-01-20 21:37:50 +07:00
Ariella Vu
149b5721ad
Fix transaction decoding data types string
and bool
( #17299 )
...
* TransactionDecoding: support string type
- fixes #16951
- fixes #16952 (string cut off)
* TransactionDecoding: support bool type
2023-01-20 20:31:26 +07:00
Danica Shen
8f915807e4
fix(mme-14830): fix consistent tab when switching languages ( #17155 )
2023-01-19 15:05:42 +00:00
ryanml
63a3de6768
Various NFT UI fixes ( #17153 )
...
* Various NFT UI fixes
* Addressing review feedback
* Using ButtonIcon component for copy icon
* Using button for collectible item
2023-01-18 15:39:15 -07:00
Thomas Huang
d99854baac
Convert signature request component to tlr. ( #17268 )
2023-01-18 11:34:28 -08:00
Brad Decker
5f6d2ba6b0
Convert Transaction constants to typescript ( #17149 )
2023-01-18 08:47:29 -06:00
David Walsh
37174d749c
Fix #17162 - Add NFT disclaimer to details page ( #17266 )
2023-01-18 08:37:16 -06:00
Niranjana Binoy
20cbe44d63
Moving transaction-alerts component from /ui/pages/confirm-transaction folder to ui/component/app folder ( #17272 )
2023-01-18 09:30:26 -05:00
Vladimir Saric
c82c967c46
Fixing error when user input some letter in token allowance flow ( #17117 )
...
* Fixing error when user input some letter in token allowance flow
* Rename the regex variable name and added a brief comment above its definition
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-01-18 10:53:10 +01:00
ryanml
a276208891
Fixing broken stories ( #17227 )
2023-01-17 18:42:02 -07:00
Thomas Huang
4c3c4eebac
Final conversion of tests from enzyme to @testing-library/react ( #16862 )
...
* Add transaction activity log component
* Remove duplicate tx activity log snapshot.
* Convert Advanced Tab to tlr.
* Lint fix
* Change ENS to DNS in mock state data.
* Add test ids for speedup, cancel, rety buttons.
* Convert TransactionListItemDetails component to RTL.
* Convert PageContainerHeader component to RTL.
* Convert TokenInput component to RTL.
* Convert UnitInput component to RTL.
* Convert withModalProps to RTL.
* Convert i18n-helper to RTL.
* Convert ConfirmSeedPhrase component to TLR.
* Convert AddRecipient component to RTL.
* Set process.env metamask build type to 'main' for test
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-01-17 07:51:35 -08:00
Niranjana Binoy
a0bb4a6c5a
Toggle option to enable/disable balance and Token rate checking for using third-party API ( #16772 )
2023-01-17 10:23:04 -05:00
David Walsh
554939cc66
Fix #17142 - Ensure toggle arrow is visible in dark mode ( #17204 )
2023-01-17 09:19:26 -06:00
ryanml
c77629f8aa
Removing erroneous blank lines in ui/components ( #17225 )
2023-01-17 05:52:04 -07:00
Vladimir Saric
3c38ff3899
Validating or restricting the number of digits on token allowance flow ( #17234 )
...
* Validating or restricting the number of digits after the decimal point that the user can enter and styles for Max button and description with error message
* Use better solution for validation the number of digits on token allowance flow
2023-01-16 14:11:46 -03:30
Michal
32a2411cf5
Remove textarea caret dep ( #17105 )
...
remove dependency for mascot head movement
2023-01-16 13:07:59 +00:00
Nidhi Kumari
1df72c6e4e
Added padding/margin inline support to the Box component ( #17134 )
...
* added tests and css for more padding/margin support
* updated README
* fixed spacings
* fixed spacings
2023-01-14 10:54:25 +05:30
Garrett Bear
1265731344
Feat/16637/button housekeeping ( #16872 )
...
* button housekeeping
* add iconsearch
* fix description
* readme update
* update disabled classnames
* buttonlink disabled class
* add disabled proptypes
* add constant exports
* update disabled style classes
* update snapshot for box pill classname
* add buttonTextProps
* update primarybutton background color to use box props
* update button secondary and link to use box props
* update tests
2023-01-13 13:58:09 -08:00
ryanml
214afe1992
Remove 'Verify contract details' link on Sig Req screen when 'verifyingContract' is absent ( #17128 )
...
* Remove 'Verify contract details' link on Sig Req screen when 'verifyingContract' is not provided
* Adding tests
2023-01-13 12:28:52 -07:00
Filip Sekulic
e70b6dc29e
13/12 ( #16948 )
2023-01-13 20:11:07 +05:30
Victor Naumik
7df712b888
Display primaryType in signTyped instead of 'Message' string ( #17077 )
...
* fix: Display primaryType in signTyped instead of 'Message' string
* fix: added #17077 to changelog
* fix: remove unused signatureRequest1 message to fix test-lint failure
* Update CHANGELOG.md
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
* test: add assertion for the primaryType to signature-request component test
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-01-12 15:52:02 +01:00
Garrett Bear
01c0d7823d
Feat/15085/banner base component ( #16828 )
...
* add banner base component
banner base wip
remove base avatar
banner base
* add banner base
* Update ui/components/component-library/banner-base/banner-base.stories.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* named export org fix
* Update ui/components/component-library/banner-base/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* updated changes to banner base
* banner base updates
* fix description/children
* move banner base down
* Update ui/components/component-library/banner-base/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner-base/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.test.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* fix linting
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-01-11 09:42:18 -08:00
Nidhi Kumari
6e900fb0e3
housekeeping for Avatar Favicon ( #16931 )
...
* housekeeping for avatar favicon
* added test for custom className
* fixed lint errors
* updated avatar favicon in tag url
* updated import
* updated readme and fixed label
* updated tag url snapshot
* updated snapshot for favicon
2023-01-11 21:41:06 +05:30
Filip Sekulic
fc83a1b631
Fixed navigation through multiple unapproved transactions for ERC20 tokens ( #16822 )
2023-01-11 09:01:50 -06:00
Garrett Bear
e236792a90
add width docs to box component ( #17007 )
...
* add width docs to box component
2023-01-09 22:30:29 -08:00
Nidhi Kumari
56a3afaace
avatar account housekeeping ( #16930 )
...
* avatar account housekeeping
* avatar number to the diametere
* fixed lint errors
* converting blockie to number
* updated README
* updated constants for avatar account
2023-01-09 16:38:43 -08:00
George Marshall
b653b4f934
Fixing some incorrect CSS color vars ( #17033 )
...
* Fixing some incorrect css vars
* Static hex value fix
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-01-09 11:58:34 -08:00
Alaa Hadad
174d3dbcf0
soft disable onramp provider wyre ( #17102 )
2023-01-09 13:44:13 -03:30