Jyoti Puri
be47d78475
Fix for mv3 performance stats ( #15321 )
2022-07-22 16:24:14 +05:30
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
2022-07-22 12:14:35 +05:30
Mark Stacey
4c942aa008
Rename various build script functions ( #15317 )
...
Some of the functions in `development/build/scripts.js` have been
renamed to better describe their function, and to be more consistent
with other similar functions.
2022-07-21 21:03:28 -02:30
Mark Stacey
61783bbe89
Remove unused bundling options in build script ( #15316 )
...
Two unused options have been removed from the `createNormalBundle`
function in the build script: 'extraEntries` and `modulesToExpose`.'
Both of these options were used in the old "main" bundles, before we
began using the "factored" bundles. They have been unused since #11080 .
2022-07-21 21:03:06 -02:30
Alex Donesky
f0556cf097
fix blockExplorer link on setApprovalForAll confirmation screen ( #15312 )
2022-07-21 20:55:04 -02:30
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
2022-07-21 15:43:31 -07:00
Jyoti Puri
45f5635cd8
Bundlesize stats over time ( #15209 )
...
* Adding tasks for MV3 test build
* more changes
* fix
* fix
* fix
* MV3 CI fixes
* fixes
* fix
* Initial work to capture the logs, write to file, and parse it.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* chrome debug logs
* Pull logs from webdriver and save to json file.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* comment out stats stuffs
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Lint Fixes
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Remove console.log
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* fixes
* Adding build artifact for initialisation time
* change
* fix lint
* fix
* fix
* fix
* fix
* fixes
* Capturing load time stats
* fix
* fix
* fix
* fix
* fix build
* fix
* fix
* fix
* fix
* fix
* Initial work to capture the logs, write to file, and parse it.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* chrome debug logs
* Pull logs from webdriver and save to json file.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* comment out stats stuffs
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Lint Fixes
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Remove console.log
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* fix
* fix
* fix
* fix
* Initial work to capture the logs, write to file, and parse it.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
chrome debug logs
Pull logs from webdriver and save to json file.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
Remove console.log
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
split output of lavamoat to 2 files. background and ui
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* fix
* fix
* fix
* Enable logging to chrome_debug only if in MV3
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* fix
* fix
* fix
* fixes
* fix
* fix
* fix
* fix
* fixes
* test
* test
* fix
* fix
* MV3 bundle size stats
* fix
* Committing bundle size status to extension_bundlesize_stats repo
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Initial commit
* Initial commit
* Initial commit
* Initial commit
* fixes
* fix
* fix
* fix
* fix
* fix
* fix
Co-authored-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
2022-07-21 12:25:18 -10:00
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>
2022-07-21 14:34:13 -07:00
Ernesto García
e6931e3f5d
Fix: Actionable Message on Confirm Transaction view is over Tabs ( #15272 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-07-21 16:09:18 -05:00
Alex Donesky
b2fde5114a
fix blockExplorer link on setApprovalForAll confirmation screen ( #15312 )
2022-07-21 14:39:55 -05:00
Jyoti Puri
5bae544475
MV3 bundle size stats ( #15191 )
2022-07-21 23:10:24 +05:30
David Drazic
76c06692df
[e2e] Deploy contracts directly seeding Ganache ( #14631 )
...
* Add some experimental Ganache seeder WIP
Refactor GanacheSeeder
* Added all smart contract bytecodes and abis
* Deploy smart contract by contract name
* Clean up and fix tx hash
* Removed console logs
* Remove last console log
* Use node module path for grabbing contract constants
* Remove contract deployment example on e2e test
* Small refactor for removing extra line
Co-authored-by: seaona <mariona@gmx.es>
2022-07-21 19:08:01 +02:00
Brad Decker
024a62f401
enable direct routing to the send page ( #15259 )
2022-07-21 14:13:22 -02:30
PeterYinusa
b60325cbcb
remove redundant code ( #15306 )
2022-07-21 14:46:50 +01:00
PeterYinusa
810c00c108
mock contract interaction signature in e2e tests ( #15297 )
2022-07-21 08:24:54 +02:00
Dan J Miller
11374ec4d7
Ensure that editing a tx from a transfer to a simple send resets data and updates type ( #15248 )
...
* Ensure that editing a transaction from a transfer to a simple send properly resets data and updates type
* Handle case where there are no unapproved txes
* Improve comment in updateSendAsset
* Remove unnecessary code in send transaction edit function
* Fix
* Ensure hex data is properly reset when changing from a safe transfer from tx to native send
2022-07-20 17:42:35 -07:00
Dan J Miller
a0c9738924
Ensure that editing a tx from a transfer to a simple send resets data and updates type ( #15248 )
...
* Ensure that editing a transaction from a transfer to a simple send properly resets data and updates type
* Handle case where there are no unapproved txes
* Improve comment in updateSendAsset
* Remove unnecessary code in send transaction edit function
* Fix
* Ensure hex data is properly reset when changing from a safe transfer from tx to native send
2022-07-20 20:33:23 -02:30
Frederik Bolding
930f5e8558
Fix stringified object on NFT approve screen ( #15287 )
2022-07-20 14:28:47 -07:00
Frederik Bolding
9e1814952f
Fix stringified object on NFT approve screen ( #15287 )
2022-07-20 18:24:50 -02:30
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
2022-07-20 13:47:51 -07:00
Alex Donesky
11abdddaa2
show asset name instead of symbol for setApprovalForAll calls on NFT contracts where possible ( #15296 )
2022-07-20 21:13:28 +02:00
Dor Wiser
98fc0060f3
DefinitionList story: convert knobs and actions to controls / args ( #15185 )
...
* tabs story changes
* removed knobs and implemented controls
* object to select control typography
* added argtypes only for relevant stories + fixes
2022-07-20 11:58:14 -07:00
Alex Donesky
78b32153f5
show asset name instead of symbol for setApprovalForAll calls on NFT contracts where possible ( #15296 )
2022-07-20 13:42:57 -05:00
PeterYinusa
6233ed414d
mock contract interaction signature in e2e tests ( #15297 )
2022-07-20 18:39:40 +01:00
Jyoti Puri
45cecf385d
Adding artifacts ( #15145 )
2022-07-20 19:33:16 +04:00
Brad Decker
df646a03eb
Fix Provider Tracking Metrics ( #15082 )
2022-07-20 08:25:04 -05:00
Jyoti Puri
0622883a3c
Capturing load time stats ( #15157 )
2022-07-20 11:40:31 +04:00
Jyoti Puri
6aa0ecce2a
Capturing lavamoat stats in E2E ( #15153 )
2022-07-20 03:07:15 +04:00
David Walsh
c66c8aba63
Remove usage of querystring from contentscript ( #15112 )
2022-07-19 13:40:54 -05:00
Mark Stacey
17e7df7cd8
Remove web accessible resources from MV3 manifest ( #15238 )
...
The web accessible resources were removed in #14834 , but they were
accidentally preserved in the v3 manifest. We no longer need any web
accessible resources, and leaving these in the manifest exposes us to
potential security issues.
2022-07-19 15:01:57 -02:30
David Walsh
95adbc245c
Set default getFetchWithTimeout default timeout value ( #14218 )
2022-07-19 11:13:45 -05:00
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2022-07-19 11:07:13 -05:00
Frederik Bolding
1ec190bd8c
[FLASK] snaps-skunkworks@0.18.1
( #15230 )
...
* snaps-skunkworks@0.17.0
* Handle breaking changes
* Fix import
* Fix blocklist implementation
* snaps-skunkworks@0.18.0
* Fix lint
* Update LavaMoat policy
* Update iframe-execution-environment
* snaps-skunkworks@0.18.1
* Bump iframe-execution-environment
* Update LavaMoat policy
2022-07-19 17:41:06 +02:00
Nidhi Kumari
fe76317eef
added storybook files to alert and breadcrumbs component ( #15156 )
...
* added storyblok files to alert and breadcrumbs component
* formatted the files
* added confusable, i18n, export, hextToDecimal stories
* replaced alert class component to functional component
* removed i18n story files
* added storyblok files to alert and breadcrumbs component
* formatted the files
* added confusable, i18n, export, hextToDecimal stories
* replaced alert class component to functional component
* removed i18n story files
* added README files to storybook elements and fixed lint issues
* added readme files
* updated README file for confusable
* fixed linting errors in test
* removed unwanted tests
2022-07-19 21:10:04 +05:30
PeterYinusa
12da4303be
Send to contract e2e ( #15276 )
...
* fix leave running flag
* reuse mock
* add send to contract waring test
2022-07-19 16:22:38 +01:00
seaona
1d342252c5
Changelog 10.18.0 ( #15207 )
...
* Changelog 10.18.0
* Remove feature flag commits for popular networks
* Remove commit Bump design tokens as has no effect on UI
2022-07-19 12:27:11 +02:00
Nidhi Kumari
7a3ff7e436
added storybook component for send-content-stories ( #15210 )
...
* added storybook component for send-content-stories
* added draftTransactions to storybook
2022-07-19 14:05:45 +05:30
ryanml
07a2544da2
Update Node.js version in README ( #15281 )
2022-07-18 17:24:23 -07:00
Niranjana Binoy
2223e81c67
Disable Seedphrase import button if any of the characters is in uppercase ( #15186 )
2022-07-18 20:17:43 -04:00
ryanml
e38cc863a4
Remove dark mode and transaction insights announcements ( #15279 )
2022-07-18 16:41:10 -07:00
PeterYinusa
0e0f2b4bb0
skip tests & fix build ( #15280 )
...
* skip tests
* lint
2022-07-18 15:46:12 -07:00
Mark Stacey
0457d54c9d
Fix invalid build timestamp on certain timezones ( #15245 )
...
Currently the build .zip has its time set to the Unix epoch, which
apparently causes problems on certain operating systems when in a
timezone that is behind GMT.
The build timestamp has been changed to MetaMask's birthday. Time
zone adjustments will no longer result in invalid dates.
2022-07-18 15:03:58 -02:30
Alex Donesky
3ddebf818b
Preserve send amount when editing an ERC20 transaction ( #15275 )
...
* preserve amount when editing an ERC20 transaction
* fix tests
2022-07-18 12:20:02 -05:00
Brad Decker
751c119d10
enable direct routing to the send page ( #15259 )
2022-07-18 12:01:10 -05:00
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
2022-07-18 10:59:38 -05:00
Ayanami
6cd036e9a1
Add goerli, bsc, optimism, polygon, avalance, fantom, arbitrum network to query balances using BalanceChecker ( #13846 )
2022-07-18 10:51:18 -05:00
Filip Sekulic
769b16eaa9
Fix the Sentry error for eth_getBalance
( #14953 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-07-18 10:50:52 -05:00
George Marshall
81a876f979
Adding media query sass vars, mixins and docs ( #15053 )
...
* Adding media query sass vars, mixins and docs
* Updates to docs and fixing page order in storybook
2022-07-18 08:23:27 -07:00
mirjanaKukic
6baa407f2c
add e2e test for token add approve action ( #13797 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-07-18 10:12:28 -05:00
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2022-07-18 09:43:30 -05:00