Justin Léger
753666d9c2
Fix connected site styling ( #15409 )
2 years ago
Thomas Huang
c162d52ca3
Various test files converting to @testing-library/react . ( #15470 )
...
* Convert Menu Bar test to tlr
* Add test ids to sig req footer buttons
* Convert Sig Req to tlr
* Convert First Time Flow Switch to tlr
* Convert Lock test to tlr
* Add test id to account options menu
2 years ago
George Marshall
0692f7bf25
Updating content to sentence case and updating tests ( #15285 )
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
Thomas Huang
1f5964e450
Convert unit test render from enzyme to @testing-library/react . ( #15091 )
...
* Use @testing-library/react for account-menu test
* Add testids for account menu accounts and balances
* Expand render wrapper functionality with metrics provider and router history
* Add testid to menu-droppo-container and menu-droppo
* Add network item nickname testid
* Use @testing-library/react for network dropdown test
* Add color icon testid
* No need for interpolation for testid in menu-droppo
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
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
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
Guillaume Roux
9ce4a8f987
[FLASK] Fix key management permission copy ( #14849 )
2 years ago
Nidhi Kumari
194f7c8dd8
added AvatarBase Component ( #15307 )
...
* added AvatarBase Component
* added README file to storybook
* converted avatar-base to base-avatar
* props for snapshot testing
* replaced snapshot testing
* Updates to stories and component
* used arrow function for component
* fixed merge conflicts
* removed box stories
* changed import order for scss files
* replaced base-avatar import with component scss file
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2 years ago
Brad Decker
c72199a1a6
update prettier ( #15360 )
2 years ago
George Marshall
8185175968
Adding readme for component-library folder ( #15381 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.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
George Marshall
6075e86838
Adjusting the height of account menu nav items to expand scroll area ( #15302 )
...
* Adjusting the height of account menu nav items to expand scroll area
* reducing font size
* Adding back max height media query
2 years ago
Brad Decker
693a6dfc0c
Remove unnecessary file extensions ( #15352 )
2 years ago
Nidhi Kumari
e12d0a94e8
Updates to stories and component ( #15357 )
...
* Updates to stories and component
* removed SECONDARY color options
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2 years ago
Nidhi Kumari
2cf7cd40d0
added tx details popup to cancelled Swap ( #15273 )
...
* added tx details popup to cancelled Swap
* removed unnecessary console statements
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
Hassan Malik
1f943a7d69
[FLASK] Fix snaps authorship pill ( #15190 )
...
* add truncation
* add title to show complete package name
* Remove hardcoded max-width
* truncation
* reduced max-width
* final changes
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: eriknson <eriks@mail.se>
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
Ernesto García
e6931e3f5d
Fix: Actionable Message on Confirm Transaction view is over Tabs ( #15272 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
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
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
2 years ago
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2 years ago
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
2 years ago
Niranjana Binoy
2223e81c67
Disable Seedphrase import button if any of the characters is in uppercase ( #15186 )
2 years ago
ryanml
e38cc863a4
Remove dark mode and transaction insights announcements ( #15279 )
2 years ago
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2 years ago
ryanml
9e63a9a449
Adding "What's New" Notification for Add Popular networks ( #15121 )
...
* Adding "What's New" Notification for Add Popular networks
* Adding action text to notification
* Addressing review feedback
* Flag removal
2 years ago
Nidhi Kumari
0fd37cd5ff
removed i18nValue component ( #15179 )
...
* removed i18nValue component
* fixed bracket issue
2 years ago
VSaric
baeaf763d7
Handling invalid prop `loading` console warning ( #15177 )
2 years ago
Alex Donesky
8d20c2834f
Add setApprovalForAll confirmation view ( #15010 )
...
* enhance setApprovalForAll confirmation flow
* cleanup
* address feedback
2 years ago
Alex Donesky
4f0115fcdc
Add setApprovalForAll confirmation view ( #15010 )
...
* enhance setApprovalForAll confirmation flow
* cleanup
* address feedback
2 years ago
Dor Wiser
5ca8651fe1
NicknamePopover story: convert knobs and actions to controls / args ( #15167 )
...
* tabs story changes
* nickname popover implemented controls and actions
* fixed lint error
2 years ago
Dor Wiser
8ccd235a27
tabs story changes ( #15147 )
2 years ago
Niranjana Binoy
bafc235928
Disable Seedphrase import button after switching seedphrase length ( #15139 )
2 years ago
PeterYinusa
dcd874616e
Update wallet-overview.js ( #15125 )
2 years ago
PeterYinusa
79d0a2c8ba
Update wallet-overview.js ( #15125 )
2 years ago
Brad Decker
94967072f7
Remove global transaction state from send flow ( #14777 )
...
* remove global transaction state from send slice
* fixup new test
2 years ago
Dan J Miller
c5b3daa35b
Ensure native asset icon does not display incorrectly when switching networks and balance is loading ( #15116 )
2 years ago
Dan J Miller
f4b25d7ea5
Ensure native asset icon does not display incorrectly when switching networks and balance is loading ( #15116 )
2 years ago
Filip Sekulic
43f7a44c25
Adding popular custom network integration ( #14557 )
...
* Initial push
* Refactored the code
* Additional code
* Removed the unused message
* Added a tooltip
* Fixed tests
* Lint fix
* Added style to a tooltip
* Fix e2e test failure
* Lint fix and code revert
* Fix e2e test
* Fixed paddings
* Fixed paddings
* CSS fix
* Minified svg files
* Applied requested changes
* Fixed theme issue
* Code revert
* Added back overridden code
* Icon problem fixed
* Lint fix
* Replaced H3 with H4
* Added unit test
* Added breadcrumbs
* Added const props for networks
* Lint fix
* Lint fix
* Added toggle button for showing the custom network list and resolved few issues
* Fixed routes
* Refactored a piece of code
* Enabled searching for the newly created option
* Fixed unit test
* Updated theme
2 years ago
Alex Donesky
3a31326199
Add fallback image/card for NFTs when image was not fetched correctly or does not exist ( #15034 )
...
* add fallback image/card for collectibles when image was not fetched correctly or does not exist
* UI and storybook updates (#15071 )
* UI and storybook updates
* Adding break so token id is displayed
* subtle border fix
* Updating content
* Removing unused image
* Adding proptype descriptions
* Lint fix
Co-authored-by: George Marshall <george.marshall@consensys.net>
2 years ago
Dan Miller
bc6c60cde1
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Dan Miller
24662963c5
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago