Daniel
2832f8a97e
Update quote selection for Optimism ( #16998 )
2022-12-21 20:59:34 +01:00
Nidhi Kumari
f8881a01db
AvatarWithBadge Housekeeping ( #16985 )
...
* updated classnames
* updated readme and tests for avatar with badge
* updated constants in root
* replacing BADGE_POSITIONS with AVATAR_WITH_BADGE_BADGE_POSITIONS
2022-12-22 00:36:40 +05:30
Ariella Vu
25e9184d9a
i18n: fix missing locale for "en" error ( #17014 )
...
on locale change
2022-12-22 00:31:06 +07:00
Alex Donesky
1a842aabb6
Replace eth-optimism/contracts
package with local snippet of gas price ABI and address ( #16891 )
2022-12-20 14:05:07 -06:00
amerkadicE
362497ed64
Track when token balance is changed to update value on approval screen ( #16964 )
...
* Track when token balance is changed to update value on approval screen
* Code refactor
* Fix unit test
* Fix sign approval balance
* Refactor code
2022-12-20 09:24:28 -03:30
Frederik Bolding
7e7a0f1f72
[FLASK] Use custom UI for transaction insights ( #16912 )
...
* Allow custom UI for transaction insights
* Fix margin
* Small fixes to CSS and selectors
* Rename property
* Fix E2E locally
* Bump test-snaps
* Bump test-snaps
2022-12-20 11:44:49 +01:00
Guillaume Roux
85f260c22d
[FLASK] Use custom UI for dialogs ( #16973 )
...
* update dialog templates to use custom UI
* add TODO comments
* Fix showDialog hook and destructuring
* Regen LavaMoat policies
* Re-add legacy snap confirmation for now
* Fix circular dependency issue
* Revert change to token-util
* Fix lint
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-12-20 11:44:22 +01:00
Olusegun Akintayo
13de51e748
Security and Privacy Settings Re-org ( #16756 )
2022-12-19 18:46:36 +01:00
Dan J Miller
22fc60a341
Show user the general contract interaction screen for token approvals, when the asset standard is undefined ( #16765 )
...
Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
2022-12-19 13:38:28 -03:30
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
Dan J Miller
074c2934fe
remove warning on revoke approval for all nfts ( #16953 )
...
Co-authored-by: EresDev <eresdev@hotmail.com>
2022-12-16 22:37:18 +05:30
dragana8
d2f8083d64
Fix insufficient currency buy or receive error message ( #16979 )
2022-12-16 10:17:01 -06:00
Ariella Vu
462e5faab5
Fix token balance precision on confirm token approval page from soon-to-be-deprecated token allowance flow ( #16934 )
...
* ConfirmToken: fix token balance onboarding v1
this UI/UX should be deprecated following PR#16740, maybe v10.25
* TokenApproval: use precision for token balance
* EditApproval: calc utilizing existing util
2022-12-16 22:20:05 +07:00
George Marshall
09d29ef00d
Renaming broken stories to clean up console ( #16905 )
...
* Renaming broken stories. Fixing deprecated default arg syntax for stories using defaultValue
* Fixing imports
2022-12-15 14:46:30 -08:00
legobeat
1acb1b2e5d
Refactor password validation ( #16902 )
...
* ui: add common constant PASSWORD_MIN_LENGTH=8
* ui: simplify password validation logic
* ui: getPasswordStrengthLabel using t from context
Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-12-15 20:56:27 +00:00
Garrett Bear
4ba081a096
add text directions ( #16901 )
...
* add text directions
* add text direction test
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2022-12-15 10:49:47 -08:00
Nidhi Kumari
88af4b3c36
Avatar Token HouseKeeping ( #16662 )
...
* Avatar Token HouseKeeping
* updated props
* fixed indentation and avatar size
* fixed lint issues
* updated sizes
* fixed alignment of avatar token halo stories
* updated story for src
* updated avatar token
* updated README
* updated Readme
2022-12-15 22:59:24 +05:30
Nidhi Kumari
4fcbaae32f
housekeeping for avatar network ( #16663 )
...
* added housekeeping for avatar network
* fixed alt
* updated story in Readme
* fixed indentation and added network src
* updated SIZES for avatar network
* updated snapshot
* updated docs and props
* updated name of avatar
* removed comments
* updated avatar network component
* updated readme
* updated story for badge
* added constants to the root
2022-12-15 22:58:42 +05:30
Nidhi Kumari
df73d1887d
added goerli and sepolia inverse colors ( #16928 )
...
* added goerli and sepolia inverse colors
* updated story
* removed duplication of args
* updated colors in root
2022-12-15 22:58:30 +05:30
Dan J Miller
0792e4ebbc
Recipient name passed to confirm-page-container component should be u… ( #16961 )
...
* Recipient name passed to confirm-page-container component should be used if pet name exists for the to address
* Ensure recipient edit/add popup is shown for non-owned accounts
* Ensure contract name is rendered if it exists for recipient address
* Ensure that shortened address is last fallback after account, addressbook, token and ens names
2022-12-15 13:03:59 -03:30
David Walsh
43adc60956
Onboarding: Set SeedPhraseBackedUp when appropriate ( #16875 )
...
* Onboarding: Set SeedPhraseBackedUp when appropriate
* Dispatch setSeedPhraseBackedUp
* Fix test
* Make call async
* Fix test
* Fix test
* enhance test
Co-authored-by: Alex <adonesky@gmail.com>
2022-12-15 08:38:15 -06:00
Alex Donesky
9dd30a0ac6
add back error when password is too short ( #16876 )
2022-12-14 19:20:55 -06:00
Frederik Bolding
13e4d3054b
[FLASK] Fix race condition with transaction insights ( #16956 )
...
* Fix race condition with transaction insights
* Rename variable
2022-12-14 19:50:23 +01:00
Alex Donesky
5d285f7be5
fix cached detected token results ( #16866 )
2022-12-14 12:26:08 +05:30
Alex Donesky
c76453d6cb
fix issue where final onboarding pages are not show ( #16943 )
2022-12-14 12:19:52 +05:30
Jyoti Puri
929dfbfd21
Fix onboarding V2 Install complete page ( #16941 )
2022-12-13 15:44:08 -06:00
Jyoti Puri
dc5a9f967d
ButtonIcon: fix react component proptype ( #16942 )
2022-12-13 15:23:39 -06:00
Alex Donesky
6a23dcc68a
remove the ability to navigate back into the onboarding flow after completing onboarding ( #16916 )
...
* fix issue when navigating back into the onboarding flow after completing onboarding
* disable navigating back into the onboarding flow
* lint
* fix test
* lint
2022-12-13 12:08:28 -06:00
Daniel
a6da5fd4c3
Add Optimism's L1 fee for an approval tx into total L1 fee in Swaps ( #16929 )
2022-12-13 18:28:05 +01:00
Frederik Bolding
659063b335
[FLASK] Allow Snaps UI to use Markdown for text formatting ( #16911 )
...
* Allow Snaps UI to use Markdown for text formatting
* Fix yarn audit and dedupe errors
* Update LavaMoat policies
* Fix lint
* Add paragraph wrapper component
* Fix lint
2022-12-13 15:37:20 +01:00
Vladimir Saric
11f24deef6
Added reject transactions modal to be present in the footer of the approve screen ( #16832 )
...
* Added reject transactions modal in the footer
* Use Button component for multiple unapproved tx
2022-12-13 13:33:35 +01: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
David Walsh
dcffa4c7bc
Fix #16804 - Onboarding - Prevent odd behavior with clicks and show/hide password ( #16878 )
2022-12-12 08:36:02 -06:00
Frederik Bolding
5cca4b9b44
[FLASK] Fix a crash that occurred after a snap confirmation had been approved ( #16864 )
...
* Fix a crash that occurred after a snap confirmation had been approved
* Fix lint
* Move code below early return
2022-12-12 12:32:31 +01:00
David Walsh
7a1f75d17f
Fix #16852 - Update support link for BETA ( #16853 )
2022-12-09 08:01:40 -06:00
Frederik Bolding
c75d2dce55
[FLASK] Implement Snaps UI Renderer ( #16605 )
...
* Start implementation of Snaps UI Renderer
* Add snap name and fix some design issues
* Fix lint
* Add some types
* More fixes
* Actually install snaps-ui
* Use JS instead of TS
* Remove unused deps
* Remove dep
* Update LavaMoat policies
* Fix style lint
* Add story
* Small tweaks after rebase
* Remove spacer and add test
* Fix lint
* Remove console.log
* Add error message
* Remove edge-case that doesnt exist anymore
* Update yarn.lock
* Update policy
2022-12-09 13:05:31 +01:00
Bowen Sanders
7e7be2769d
[FLASK] Create E2E test for tx-insights ( #16785 )
...
* Created an E2E test for tx-insights.
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2022-12-08 12:15:59 -08:00
Jyoti Puri
8125473dc5
Removing flag for EIP1559 V2 support ( #16446 )
2022-12-09 00:07:06 +05:30
Nidhi Kumari
52304d7910
housekeeping for tag url ( #16723 )
...
* housekeeping for tag url
* updated docs for tag url
* updated docs for tag url
* updated tag url component
* updated stories
* updated label
* Some small updates
* Updating test to catch failed propType
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-12-08 23:57:00 +05:30
Garrett Bear
c9560b75f2
add avatar icon component ( #16755 )
...
* add avatar icon component
* add avatar icon severities
* avatar icon docs
* update tests and remove stylesheet
* aria label
* remove aria label
* update test
* remove aria label
* iconName prop type string
* Update ui/components/component-library/avatar-icon/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/avatar-icon/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/avatar-icon/avatar-icon.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/avatar-icon/avatar-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* marginSizeControlOptions
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-12-08 10:25:19 -08:00
David Walsh
7d3b1d08da
NFTs: Update COLLECTIBLES_V1 to NFTS_V1 ( #16851 )
2022-12-08 11:37:47 -06:00
David Walsh
43c278d813
Privacy - Show default selected network after a custom network has been added during onboarding ( #16789 )
...
* Privacy - Allow users to set a custom RPC from the onboarding process (#16767 )
* Privacy - Allow adding custom IPFS from onboarding (#16782 )
* Privacy - Show default selected network after a custom network has been added during onboarding
* WIP: Show dropdown list of networks
* Add network switcher to the onboarding advanced privacy screen
* Fix duplicate imports
* Provide default for networks
* Update ui/helpers/utils/ipfs.js
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
* Fix lint
* Remove unwanted changes
* Fix lint
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-12-08 10:42:23 -06:00
Pedro Figueiredo
3a456a45fc
fix locales for advance config ( #16849 )
2022-12-08 14:20:59 +00:00
ryanml
a759d427f0
Remove new address alert ( #14811 )
...
* Removing new address alert
* remove unused copy
* fix broken e2e test
* rework layout nesting
* satisfy lint
* change layout to fix firefox tests
* change selector specificity on e2e test
* revert test change after fix has been merged from develop
* fix linting
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2022-12-08 14:20:24 +00:00
David Walsh
ead5076b86
Privacy - Update metametrics copy during onboarding ( #16825 )
2022-12-07 12:56:57 -06:00
Filip Sekulic
ddcaaf3e8d
Allow transactions with gas price or priority fee 0 ( #16651 )
2022-12-07 09:10:10 -06:00
amerkadicE
8885c54f13
NFT setApprovalForAll warning popover ( #16195 )
...
* NFT setApprovalForAll warning popover
2022-12-06 14:24:07 -06:00
George Marshall
5592bc5fff
TextField
house keeping 🧹 ( #16668 )
...
* TextField house keeping updates
* ButtonIcon prop name update and uncontrolled fix
* Updating snapshot
2022-12-06 11:52:03 -08:00
George Marshall
971f153e65
TextFieldBase
house keeping 🧹 ( #16667 )
...
* TextFieldBase house keeping updates
* Fixing story
* Updating custom input story
* Updating ButtonIcon props and lint issues
* Updating snapshots
2022-12-06 11:51:48 -08:00
Thomas Huang
8fde322907
Continue converting tests from enzyme to @testing-library/react ( #16753 )
2022-12-06 10:49:08 -06:00