Dan J Miller
2955b97f97
Prevent confirm screen from showing method name from contract registry for txes created within MetaMask ( #15472 )
...
* Prevent confirm screen from showing method name from contract registry for txes created within MetaMask
* Ensure method name does not get sent in state when sending to a contract, with tx data, from metamask send screen
2 years ago
Dan J Miller
4fdbc816c0
Prevent confirm screen from showing method name from contract registry for txes created within MetaMask ( #15472 )
...
* Prevent confirm screen from showing method name from contract registry for txes created within MetaMask
* Ensure method name does not get sent in state when sending to a contract, with tx data, from metamask send screen
2 years ago
George Marshall
cdc0fed828
Update media query instances ( #15068 )
2 years ago
Dan J Miller
a4f0944517
Ensure smart contract interactions are properly represented on the confirm screen ( #15446 )
...
* Ensure smart contract interactions are properly represented on the confirm screen
* Fix unit tests
* Code cleanup
* Cleanup
* Code cleanup
* Fix test
2 years ago
ryanml
b6d587223b
Opening Network Forms in full screen from the popup view ( #15442 )
2 years ago
Brad Decker
109e46c95f
remove unnecessary usage of renderableGasButton logic ( #15422 )
2 years ago
Alex Donesky
29c7f2227a
Enhance approval screen title logic ( #15406 )
2 years ago
Dan J Miller
6602e4a013
Ensure smart contract interactions are properly represented on the confirm screen ( #15446 )
...
* Ensure smart contract interactions are properly represented on the confirm screen
* Fix unit tests
* Code cleanup
* Cleanup
* Code cleanup
* Fix test
2 years ago
Hassan Malik
a7179a6b88
[FLASK] Add update snap UI ( #15143 )
...
* added snap-update folder
* addded update route, snap update component, updated permissions connect components
* added actions and selectors
* updated permissions selectors and updated permissions connect container to have update snap logic
* updated translations, added selector, updated request object
* updated translations, added update snap permission list component
* more fixes
* added CSS, redid some HTML
* lint fixes
* Add missing grantPermissions action
* updated button padding
* fixes
* removed prop type
* fix Update & Install wrapping
* made changes for forthcoming snap controller PR
* removed ununsed imports
* updated css
* re-added padding rule and removed unused translation messages
* addressed comments
* add subtext for new permissions
* lint fix
* removed unused translations
* some more changes
* fix e2e tests
* lint fix
* added in delay for e2e tests
* Revert "added in delay for e2e tests"
This reverts commit 095962a2c0c9de0b0b343d3134bb0787044dd8ce.
* fixed routing logic
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2 years ago
ryanml
97b10f96e0
Opening Network Forms in full screen from the popup view ( #15442 )
2 years ago
Sam Gbafa
5802805597
Add Sign-In with Ethereum ( #14438 )
...
Co-authored-by: Gregório Granado Magalhães <greg.magalhaes@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: brad-decker <bhdecker84@gmail.com>
2 years ago
George Marshall
2e6aea412a
Moving incorrectly ordered page component to correct pages category ( #15426 )
2 years ago
Brad Decker
ddadc79f60
remove unnecessary usage of renderableGasButton logic ( #15422 )
2 years ago
Filip Sekulic
ea247d4e4a
Fix 'block link explorer on custom networks' ( #13870 )
...
* Created a logic for the 'Add a block explorer URL'
Removed unused message
Message logic rollback
Modified history push operation
WIP: Pushing before rebasing
Applied requested changes
Removed unintenionally added code
* Lint fix
* Metrics fixed
2 years ago
Alex Donesky
fb191c865b
Enhance approval screen title logic ( #15406 )
2 years ago
Guillaume Roux
9ce4a8f987
[FLASK] Fix key management permission copy ( #14849 )
2 years ago
Brad Decker
c72199a1a6
update prettier ( #15360 )
2 years ago
Brad Decker
8e9df0457b
cast chainId to hex for metrics ( #15332 )
...
* cast chainId to hex for metrics
* Update ui/pages/settings/networks-tab/networks-form/networks-form.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2 years ago
Daniel
f31bac9fbf
Performance improvements for Swaps ( #15359 )
2 years ago
Dan J Miller
aea5c5824f
Clean up of code introduced with 43f7a44
( #15158 )
2 years ago
Brad Decker
693a6dfc0c
Remove unnecessary file extensions ( #15352 )
2 years ago
ryanml
c677edc51d
[FLASK] disable "Mark all as read button" when there are no notifications ( #15333 )
...
* [Flask] disable "Mark all as read button" when there are no notifications
* Adding test case
* Addressing feedback
2 years ago
Brad Decker
652d631cda
remove exclusions for mismatched object jsdoc type casing ( #15351 )
2 years ago
Nidhi Kumari
7424e98416
Updated all instances of "Component API" to "Props" in storybook documentation ( #15324 )
...
* replaced Component API with Props
* replaced Component API with Props in DOCUMENTATION.stories.mdx
* removed base avatar component
2 years ago
Brad Decker
1db0ee87ec
Update Eslint and deps ( #15293 )
2 years ago
Dan J Miller
99f753d73f
Metrics adjustments ( #15313 )
...
* Don't send errors to sentry if users have not opted-in to participate in metametrics
* Don't capture opt-out metrics
* Move the metrics-opt in screen to immediately after the welcome screen
* Ensure that global.getSentryState is set in the background
* Fix e2e tests after rearranging onboardin flow
* Fix unit tests
* More e2e test fixes
* Remove unnecessary wrappers around capture exception
2 years ago
Dan J Miller
101fe0b27a
Metrics adjustments ( #15313 )
...
* Don't send errors to sentry if users have not opted-in to participate in metametrics
* Don't capture opt-out metrics
* Move the metrics-opt in screen to immediately after the welcome screen
* Ensure that global.getSentryState is set in the background
* Fix e2e tests after rearranging onboardin flow
* Fix unit tests
* More e2e test fixes
* Remove unnecessary wrappers around capture exception
2 years ago
Nidhi Kumari
132c1818df
added storybook controls for confirm send ether component ( #15235 )
...
* added storybook controls for confirm send ether component
* fixed lint errors
* corrected the argTypes for send-ether-storybook component
2 years ago
VSaric
f1ca3e56e7
Modify transaction type and add contract method data to metrics ( #15175 )
2 years ago
Nidhi Kumari
2e6f579ee5
Converted BuildQuote story to use controls and action argType ( #15234 )
...
* added build quote component
* fixed updated test-data to use Rinkeby instead of ropsten
2 years ago
Alex Donesky
f0556cf097
fix blockExplorer link on setApprovalForAll confirmation screen ( #15312 )
2 years ago
George Marshall
5592687df1
Updating design tokens package and shadow values with new tokens ( #15264 )
...
* Updating design tokens v1.8 and shadows
* Adding missing stories
* Some fixes and updates to css and stories
* removing unneeded story
* Fixing story order
2 years ago
Nidhi Kumari
c85af877bd
added storybook controls for confirm deploy contract component ( #15236 )
...
* added storybook controls for confirm deploy contract component
* fixed args in confirm-deploy-contract-storybook
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2 years ago
Alex Donesky
b2fde5114a
fix blockExplorer link on setApprovalForAll confirmation screen ( #15312 )
2 years ago
Brad Decker
024a62f401
enable direct routing to the send page ( #15259 )
2 years ago
Frederik Bolding
930f5e8558
Fix stringified object on NFT approve screen ( #15287 )
2 years ago
Frederik Bolding
9e1814952f
Fix stringified object on NFT approve screen ( #15287 )
2 years ago
George Marshall
05a20bb721
Add responsive props to Box component ( #15106 )
...
* Adding responsive props to Box component
* Updating margin array prop instances
* Updating padding array prop instances
* Updates to docs, tests and margin, padding instances
* Optimizing class name object
* Simplifying single value logic
* replacing for loop with switch statement
* Memoizing generateClassNames function
2 years ago
Alex Donesky
11abdddaa2
show asset name instead of symbol for setApprovalForAll calls on NFT contracts where possible ( #15296 )
2 years ago
Alex Donesky
78b32153f5
show asset name instead of symbol for setApprovalForAll calls on NFT contracts where possible ( #15296 )
2 years ago
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2 years ago
Nidhi Kumari
7a3ff7e436
added storybook component for send-content-stories ( #15210 )
...
* added storybook component for send-content-stories
* added draftTransactions to storybook
2 years ago
Brad Decker
751c119d10
enable direct routing to the send page ( #15259 )
2 years ago
Alex Donesky
d92936475a
Fix default currency symbol for `wallet_addEthereumChain` + improve warnings for data that doesn't match our validation expectations ( #15201 )
...
* set more appropriate default for ticker symbol when wallet_addEthereumChain is called
* throw error to dapp when site suggests network with same chainId but different ticker symbol from already added network, instead of showing error and disabled notification to user
2 years ago
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2 years ago
Daniel
2744eaf760
Update the "results" state if "initialResultsState" array length is different ( #15270 )
2 years ago
Alex Donesky
4993d28a8f
Only send the rpc origin to segment when calling trackevent for newly added custom networks ( #15227 )
2 years ago
Alex Donesky
de0f836a27
small approve confirmation ui fixes ( #15239 )
2 years ago
Alex Donesky
cbda923c61
small approve confirmation ui fixes ( #15239 )
2 years ago
ryanml
959a376347
Remove 'ADD_POPULAR_NETWORKS' feature flag ( #15229 )
2 years ago