António Regadas
e6455e92ae
[MMI] custody page component ( #18688 )
2023-04-27 12:27:31 +02:00
David Drazic
c450fae84f
Update Snaps icon in settings search and fix missing icon ( #18803 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-27 10:49:49 +02:00
Albert Olivé
4c9bf40688
[MMI] Add interactive-replacement-token-page ( #18683 )
...
* Initial commit
* converted the component from class-based to functional.
* Refactored component
* Improved code and tests
* Finished adding tests
* Fixed eslint problems
* Added back custodyLabels component
* Fixed eslint problems
* fixed ts lint problem
* Fixed eslint problems
* Added more tests and improved code
* Added comments
* Fixed eslint problems
* Fixed eslint problems
2023-04-27 10:45:37 +02:00
Jyoti Puri
e0919d529e
Fix for wrong type being assigned to the transaction ( #18818 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-27 13:46:36 +09:00
Garrett Bear
70ee78757b
Strong tag support in Text component ( #18816 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-26 14:46:03 -05:00
Hakeemullah J. Yousufzai
1f0c0d041c
Update Button prop name type to variant ( #18774 )
...
* Update Button prop name type to variant
* fix: lint errors on running test cases
* change remaining files
* change typo: BUTTON_VARIANTS to BUTTON_VARIANT
* fix: button.test.js lint errors
* update: button instances & import in remaing files
* fix: prettier warnings
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-26 11:17:25 -05:00
Harsh Shukla
a6d7c436bc
Part of #17670 for file: detected-token-ignored-popover.js ( #18738 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-26 10:25:18 -05:00
Digvijay Pundir (DJ)
d428a4895f
Update knobs to control: MetamaskTemplateRenderer ( #18677 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-26 10:13:14 -05:00
OGPoyraz
6d0f3a0b26
Consume Decrypt Message Manager from @metamask/message-manager ( #18379 )
2023-04-26 17:02:33 +02:00
David Walsh
755b6b5667
UX: Remove Goerli buy link and disable button ( #18137 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-26 08:35:28 -05:00
David Walsh
062a8b376f
UX: Multichain: Fix Network Picker when Test Networks Disabled ( #18694 )
2023-04-26 08:22:18 -05:00
David Walsh
15d64b6467
UX: Multichain: Focus on account search when menu appears ( #18705 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-26 08:18:48 -05:00
Jyoti Puri
82a64195a2
Enable editing L2 gas on optimism ( #18217 )
2023-04-26 05:43:38 +05:30
George Marshall
6a78592af6
Adding ModalHeader component and updating PopoverHeader stories ( #18311 )
2023-04-25 14:27:54 -07:00
David Walsh
ea872946cd
UX: Multichain: App header cleanups ( #18627 )
...
* UX: Multichain: App header cleanups
* Fix snapshot
---------
Co-authored-by: David Walsh <davidwalsh83@gmail>
2023-04-25 13:39:54 -07:00
David Walsh
c9336a2ab5
UX: Multichain: Use correct blockie or jazzicon in the account menu ( #18782 )
2023-04-25 15:01:56 -05:00
Harsh Shukla
ab3e3976e6
Part of #17670 : Replace Typography with Text component for networks-list.js ( #18754 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 12:49:02 -05:00
Guillaume Roux
6126c156ea
[FLASK] Expanded Snap authorship ( #18775 )
2023-04-25 19:20:37 +02:00
Olaf Tomalka
95c37e1ba3
feat: add yaml feature management ( #18125 )
...
* feat: add yaml feature management
Add yaml feature file per build type.
Also add method to parse yaml and set
enabled features env to true. The build
process will then replace any process.env[feature]
that exists on the config by its value
* chore: add example for desktop
* Added initial draft of build features
* [TMP] Sync between computers
* Is able to succesfully build stable extension with snaps feature
* Removing var context from builds.yml
* Add asssets to builds.yml
* Minor bug fixes and removing debug logs
* [WIP] Test changes
* Removed TODOs
* Fix regession bug
Also
* remove debug logs
* merge Variables.set and Variables.setMany with an overload
* Fix build, lint and a bunch of issues
* Update LavaMoat policies
* Re-add desktop build type
* Fix some tests
* Fix desktop build
* Define some env variables used by MV3
* Fix lint
* Fix remove-fenced-code tests
* Fix README typo
* Move new code
* Fix missing asset copy
* Move Jest env setup
* Fix path for test after rebase
* Fix code fences
* Fix fencing and LavaMoat policies
* Fix MMI code-fencing after rebase
* Fix MMI code fencing after merge
* Fix more MMI code fencing
---------
Co-authored-by: cryptotavares <joao.tavares@consensys.net>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-25 16:32:51 +02:00
Albert Olivé
4df363b251
[MMI] Created custody-confirm-link-modal component ( #18632 )
...
* Created custody-confirm-link component
* Removed selector
* Finished component
* Changed button to use design system
* Fixed eslint issue
* updated snapshot
* fixed eslint problems
* Added more tests and added color design systems
* Fixed comments
* Removed unnecessary code
* Removed unneeded code and fixed eslint issues
2023-04-25 08:39:16 -05:00
Monte Lai
cbe438e704
Update keystone links ( #18792 )
...
* update keystone links
* update tests
* fix lint
2023-04-25 21:33:43 +08:00
Harsh Shukla
d403219210
Part of #17670 for file network-statistics.js ( #18644 )
...
* Part of #17670 Replace Typography with Text component.
* Worked on the mentioned lint issues.
* Upgrading to enum version.
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Upgrading to enum version.
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-25 08:28:22 -05:00
Harsh Shukla
19d6962957
Update slippage-buttons.js ( #18745 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:28:03 -05:00
Harsh Shukla
935831658f
Update fee-card.js ( #18746 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:27:46 -05:00
Harsh Shukla
c972900928
Update settings-tab.component.js ( #18753 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:27:19 -05:00
Harsh Shukla
9967b50015
Worked on #17670 & #18714 for 7 files. ( #18789 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:26:58 -05:00
David Drazic
41cf85e201
[FLASK] Update permissions to use IconName and IconSize design system enum ( #18786 )
...
* Update permissions to use IconName and IconSize design system enum approach
* Update webassembly to use IconName enum
2023-04-25 13:09:40 +02:00
Shane T
16dabdf802
[MMI] Adds a warning if message signing account mismatches selected account ( #18659 )
...
* [MMI] Adds a warning if message signing account mismatches selected account
* chore: fix code fencing
* chore: remove render method to simplify
* chore: remove renderMethods
2023-04-25 12:47:12 +02:00
Bernardo Garces Chapero
c1614ec670
Approvals selector refactor ( #18664 )
2023-04-25 10:47:49 +01:00
legobeat
64d4bfbbe9
Use SIWE origin validation logic from @metamask/controller-utils ( #18518 )
...
* feat: use SIWE origin domain validation from @metamask/controller-utils
* deps: @metamask/controller-utils@3.2.0->3.3.0
2023-04-25 17:25:58 +09:00
Thomas Huang
e65b955b19
Unit tests for various modals ( #18115 )
...
* Unit tests for Hide Token Confirmation modal
* Unit test for Export Private Key modal
* Unit test for Customize Nonce modal
* Bump coverage targets
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-24 09:55:32 -07:00
David Drazic
6f2a5faaea
Fix missing icon for webassembly endowment ( #18781 )
2023-04-24 18:37:12 +02:00
Harsh Shukla
9fcbc554b0
Some linting issues in the file custom spending cap tooltip.js ( #18687 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-24 10:52:57 -05:00
David Walsh
9ddbd9b4e7
Fix ICON_NAMES error for snaps settings ( #18784 )
2023-04-24 13:17:32 -02:30
Garrett Bear
3e520214c9
update icons to ts enum version ( #18698 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 09:19:19 -05:00
David Drazic
05dcff85a6
[FLASK] Fix text selection bug in snap ui ( #18719 )
...
* Fix text selection bug in snap ui
* Fix template mapping calls in other places
* Fix template mapping calls in snap-prompt
2023-04-24 12:56:44 +02:00
David Drazic
ff96836871
[FLASK] Add updated version of the Snaps settings UI ( #18438 )
...
* Add updated version of the Snaps list UI
Add more changes to match the designs of snaps list
Add next design iteration for snaps list
Update icons, sizes and pointer behaviour
Add redesign for snap settings page
Refactor and improve designs
Fix unit tests and refactor code
Fix e2e test
Fix lint
Update margin values
Add CSS override for connected sites list and update margins
Update paddings as requested
Fix vertical alignment of links
Fix tooltip position on the enable button
Add usage of getSnapName function for displaying snap names
Fix e2e tests and update date format for snap install date
Improve unit test for snap-settings-card
Change installation info logic
Update mocked state for snap
Add tests for ViewSnap component, refactor and update mocked state
Add check for version info
Change Snaps icon in Settings
Refactor Snaps list to use selector
Add handling in case of missing version history
* Fix icon ref
* Remove console logs
* Remove onClick from selector
* Add code fencing for imports in selectors.js
2023-04-24 12:21:37 +02:00
Om Raval
1452a5a8ce
Part of #17670 : Replace Typography with Text component ( #18569 )
...
Co-authored-by: Om Raval <omraval@Oms-MacBook-Air.local>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-24 14:51:40 +05:30
Ananyamadhu08
b53d335b2c
Part of 17670: Replace Typography with Text in detected-token-address.js ( #18435 )
...
* feat: replaced typography with text comp
* fix: changed h7 to h6
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 14:49:35 +05:30
sumit shinde ( Roni )
db4c4317dd
Update knobs to controls in storybook: SelectQuotePopover ( #18671 )
...
* Update knobs to controls in storybook: SelectQuotePopover
* Update select-quote-popover.stories.js
* Update select-quote-popover.stories.js
* fix eslint
* Update ui/pages/swaps/select-quote-popover/select-quote-popover.stories.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-24 14:48:14 +05:30
Ariella Vu
8bfcd5b11e
Sign-in With Ethereum SIWE cleanup ( #18230 )
...
* signature-req: replace Typography w/ Text
- this does update styles slightly
* siwe: extract showSecurityProviderBanner
* siwe: rn -> hasAgreedToDomainWarning
* siwe: update snapshot for updated Text usage
2023-04-21 16:36:27 -03:00
Hassan Malik
f833f0e5aa
update ethereum provider endowment weight level and update install warning copy ( #18732 )
2023-04-21 15:34:11 -04:00
Albert Olivé
4f64e3d6c3
[MMI] Add-compliance-details component ( #18575 )
...
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2023-04-21 13:28:26 -05:00
George Marshall
d2779c9ef1
Updating Avatar components to forward refs ( #18678 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-21 08:51:34 -07:00
Nidhi Kumari
0efd00b755
UX Multichain: Added product tour component ( #18571 )
...
* adding product tour component
* updated control for prevIcon
* updated app-header and product tour
* updated css
* updated message strings
* updated tests
* removed console statement
* added selector for product tour
* updated test
* updated test
* updated state with steps
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.scss
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* fixed lint errors
* updated lint error
* added changes for rtl support
* added changes for rtl support
* fixed lint errors
* Some suggestions (#18676 )
* updated messages and indentation
* fixed popup close on my final step
* updated rtl classname condition
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-21 20:58:18 +05:30
Mark Stacey
b467fbc07b
Update outdated browser versions ( #18721 )
...
The range of browsers considered to be outdated has been updated to
match our latest browser support policy, which is ~2 years on Chrome,
and the most recent end-of-life extended support release on Firefox.
Comments have been added to help explain how these versions were chosen
as well.
2023-04-21 12:03:46 -02:30
Albert Olivé
48a61610af
[MMI] Add transaction-failed functional component ( #18623 )
...
* Finished component
* Fixed test mock variable
* Using design system colors
* Using design system icons
* removed uneeded css
2023-04-21 15:53:02 +02:00
David Walsh
4e3c08aba4
UX: Multichain: Network Menu: Set Focus on Selected Network ( #18706 )
2023-04-21 08:37:51 -05:00
António Regadas
4f4e9fb29c
[MMI] update eth overview component ( #18625 )
...
* wip
* adds mmi stake button and portfolio
* removes unnecessary js icon
* prettier
2023-04-21 12:16:09 +01:00
António Regadas
16d8fc2908
[MMI] adds institutional duck to mmi folder ( #18578 )
...
* wip
* updates the duck
* adds test
* update duck
* run lint
* review changes
* clean up
* clean up
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-21 09:59:25 +01:00