David Walsh
5b1b5dc03b
NFTs: Remove feature flag for release ( #17401 )
...
* NFTs: Remove feature flag for release
* Update security tab jest test
* Fix broken test
* Update snapshot
* Update test
* Fix test
* Remove last usages of flag
* Update CI jobs
* Fix jest tests
2023-03-13 14:29:37 -05:00
Alex Donesky
23ca4460cf
Migrate network configurations (previously frequentRpcListDetail
) from PreferencesController
to NetworkController
( #17421 )
2023-03-09 15:00:28 -06:00
Hassan Malik
7086494b72
[FLASK] BREAKING - snaps-monorepo@0.30.0 ( #17718 )
...
* updated snap permission to wallet_snap, updated tests and added migration
* updated snap packages
* yarn.lock fix
* fixed errors
* override policy
* update policy
* undo override
* updated localization message descriptions
* updated lavamoat policy
* more policy updates
* update permission controller version
* update policy
* update fixture builder
* updated code to include permission value to satisfy wallet_snap permission description call
* fix import issue
* update test-snaps version
* added missing actions, added snap permission dedupe function
* prettier fix
* fix fencing
* add more fencing
* prettier fix
* fix fencing (again)
* added new action and selector and updated view snap accordingly
* update test snaps website version
* unfence request variable
* add fencing
* add optional chaining to fix type error
* update migration #
* remove old migration
* prettier fix
* fix migration test
* fix fencing
* added missing fencing
* updated code to workaround fencing
* update test-snaps site version and remove snap confirm test
* update snap packages
* update policies
* fix merge marker issue
* update test
* more fixes
* fix permissions
* update test
* fixed test
* Bump test-snaps and iframe-execution-environment
* remove unused snap permission from fixture builder
* update policies
* undo comment removal, update selector implementation
* removed unnecessary function, updated migration, updated caveat action
* remove optional chaining
* fix type issue
* more type fixes
* fix migration test
* remove isFlask check, make migration logic more robust
* update coverage
* Update LavaMoat policies
* Update test/e2e/snaps/enums.js
* add extra bail condition
* Revert "add extra bail condition"
This reverts commit b45c53dcfc6e6e35a5e283d4955d6d6ea9ca5965.
* Revert "Revert "add extra bail condition""
This reverts commit cd2ded677935c9cdab0c02b6af55474c83727f60.
* fix test
* add SnapController entry to state object
* updated permission name and caveat type with hardcoded values
* add extra test for non-flask scenario
* update lavamoat policies
* fix locale messages
* change coverage target
* re-enable rpc snap test
* revert locale message change
* fix el message
* reverted changes
---------
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-03-08 13:29:23 -05:00
Danica Shen
87be2f4393
fix(17716): increase threshold to include all options for nonce search ( #17999 )
2023-03-08 11:04:45 +00:00
David Walsh
912f6755b1
UX: Icons: Fix Chevrons in Settings Tabs ( #17971 )
2023-03-06 14:58:01 -06:00
Matthew Walsh
d0417da3d0
Move desktop code to flask build type ( #17960 )
2023-03-06 19:35:00 +00:00
Filip Sekulic
0cc135fab3
Removed a feature flag ( #17922 )
2023-03-06 23:37:09 +05:30
David Walsh
5018329cd8
UX: Icon: Restore missing back chevron in settings ( #17916 )
...
* UX: Icon: Restore missing back chevron in settings
* Update ui/pages/settings/settings.component.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Fixing size and alignment
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-03-03 15:11:20 -06:00
David Walsh
5561987fed
UX: Icon: Stop using fa-times ( #17811 )
2023-02-27 10:42:02 -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
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
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
ryanml
b7bb0f03d7
Do not display experiment settings tab when there are no settings to show ( #17765 )
2023-02-20 18:29:50 -07: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
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
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
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
Nidhi Kumari
9b0e71f27f
Updated messages/strings to replace Collectibles with NFTs ( #17659 )
...
* updated json files to use NFT
* Update locale strings
* fixed lint errors
* updated json files
* updated removeCollectibleMessage and newNftAddedMessage
* updated test for nfts
2023-02-10 21:06:58 +05:30
amerkadicE
208ea3013c
Make username mandatory in the edit contact screen ( #17425 )
2023-02-10 19:57:13 +05:30
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
Harry
b4ecc4c3f5
Disable eth_sign by default, allow users to toggle it back on ( #17308 )
...
* Added translation for eth sign toggle
* Disabled the ability to call eth_sign by default. Added ability within advanced settings to renable support for eth_sign
* Add test case for eth_sign being enabled and disabled
* Modified copy
* Moved rpc method preference to its own object within store
* Complete work on moving rpc method preference into its own object within store
* Fix with prettier
* Fix lint
* Fix a unit test
* Fix test
* Renamed function and object keys to be more intuitive
* Fix e2e test
* Enabled eth_sign through preferences fixture
* Fix lint
* Fix e2e test
Wait for the notification popup to close, leaving 2 window handles the extension and the test dapp
* Fix e2e test
* Fix unit test
Enable eth_sign method
* Lint fix
---------
Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-02-06 13:17:50 -03:30
David Walsh
68ea3a7298
NFTs: Update event name for Detect NFT settings ( #17597 )
2023-02-03 19:19:07 -06:00
Brad Decker
31897b542d
Convert actions.js to typescript ( #17446 )
2023-02-03 11:56:44 -06:00
Danica Shen
794f3039f1
feature: migrate design-system.ts ( #17518 )
2023-02-02 20:15:26 +00:00
vthomas13
7ef3fa08ff
adding textfix on experimental tab ( #17306 )
2023-02-02 13:18:25 -05:00
ryanml
83a3ce1aa0
Fix RPC Url editing issue of existing network ( #17451 )
2023-01-31 18:22:47 -07:00
Brad Decker
6e7f5c3e21
Move THEME_TYPE to new preferences.ts file ( #17515 )
2023-01-31 17:49:00 -06:00
David Walsh
7a29d896ad
Fix #17328 - Move NFT settings to Experimental ( #17400 )
...
* Fix #17328 - Move NFT settings to Experimental
* Don't indent second NFT setting
* Fix jest test
2023-01-31 12:50:53 -06:00
David Walsh
145cf1ec01
UX - Update all copy icons ( #17445 )
2023-01-31 11:00:26 -06:00
Danica Shen
c23bd4925b
feature: convert level 32 files to typescript ( #17390 )
2023-01-27 18:28:03 +00:00
Nidhi Kumari
1d1b751f62
Consolidated all component import paths ( #17368 )
2023-01-25 11:54:08 -08:00
Vladimir Saric
f988dc1c5e
Enable the Token Allowance flow by default for all users ( #16740 )
2023-01-23 21:49:55 +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
ryanml
a19a5d60d3
Convert shared/constants/hardware-wallets.js -> Typescript ( #17310 )
2023-01-20 09:14:40 -06:00
Dan J Miller
c90d389b84
Clarify effect of autodetect tokens toggle ( #17293 )
...
* Clarify effect of autodetect tokens toggle
* Fix test
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-19 11:33:08 -03:30
Dan J Miller
9a8bb81358
Allow user to scroll network form in onboarding modal ( #17291 )
2023-01-19 10:44:47 -03:30
aleksandar-mihajlovic
082772fd08
Fix for contacts tab alignment bugs ( #17171 )
2023-01-17 15:36:33 -06: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
ryanml
d5fea389e3
Fix MetaMetrics settings toggle styling ( #17224 )
2023-01-17 05:52:55 -07:00
amerkadicE
00aee11c2a
Add contact unit tests ( #17131 )
2023-01-13 09:52:03 -06:00
David Walsh
d468739ff0
Ensure the NFT feature flag has changed in all places ( #17152 )
2023-01-11 23:04:02 -07:00
ryanml
64eae7d3f0
Fix spacing issue in Settings Search input ( #17108 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-01-09 13:54:28 -07:00
amerkadicE
6ace8955d3
Make username mandatory when adding to address book ( #17044 )
2023-01-06 10:36:32 -06:00
Filip Sekulic
e6038d542a
Update UI for transaction security check in settings ( #16830 )
2023-01-04 15:59:48 -06:00
Olusegun Akintayo
13de51e748
Security and Privacy Settings Re-org ( #16756 )
2022-12-19 18:46:36 +01:00
legobeat
204f39ef12
ui: make settings search regex range explicit ( #16903 )
...
* ui: make settings search regex range explicit
- Addresses CodeQL advisory #31
- Removes `][^ as valid characters
* ui: settings-search: ignore leading/trailing whitespace
2022-12-17 05:28:13 +09:00
Jyoti Puri
9a4739c813
User should be able to search setting to batch account balance request ( #16887 )
2022-12-12 20:35:21 +05:30
Jyoti Puri
8125473dc5
Removing flag for EIP1559 V2 support ( #16446 )
2022-12-09 00:07:06 +05:30