* add button secondary
* revert change to shadow stories
* test and docs update
* Update ui/components/component-library/button-secondary/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* remove unused fragment
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Adding border radius full and updating border radius sizes for box
* Adding missing XS size
* Updating docs and linting issues
* Updating name from 'full' to 'pill'
* snaps-skunkworks@0.22.0
* Update LavaMoat policies
* Bump execution environment and fix a breaking change
* Fix caveat and permissions
* Fix test
* Exclude keyring endowment for now
* Fix test
* Fix snap_confirm missing title
* Adding TextInputBase component
* Removing keyup and keydown props, tests and docs
* removing showClear from stories
* removing unneeded css
* simplifying uncontrolled vs controlled to work
* Fortifying maxLength test
* Lint fix for test
* Doc, style and prop updates
* Updating constant names with 'base'
* Adding a background color
* Adding a background color to input
* Fix: show whats new to users who created, not imported, a new wallet, but not on their first session
* Fix tests
Hide `Improved token detection is here` & `Scam and security risks` whats new
* Fix unit test
Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
Add tests for the `block-tracker-inspector` middleware — which makes
sure that the block tracker never has a reference to the latest block
which is less than a block number that shows up in an RPC method's
response — and the Infura middleware — which takes care of sending the
request to Infura, and will retry the request up to 5 times if Infura
sends back a certain type of error.
Note that the `retry-on-empty` middleware is not tested because it
currently has a [bug][1] which is making it ineffective.
[1]: https://github.com/MetaMask/eth-json-rpc-middleware/issues/139
Update ui/components/component-library/icon/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
Update ui/components/component-library/icon/icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
Update ui/helpers/constants/design-system.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
story fix
font size comment
update auto demo and fix inline style
* refactor backup controller to return the data to be backed up
and do the actual backup in the UI.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Move export-utils to ui/helpers as it's only used in the UI now.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* use context to call event tracker.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Don't make backup function inline.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Deprecating Rinkeby, setting default debug network to Goerli
* Deprecating Ropsten and Kovan
* Conflict fix
* Remove unused localization, test fixes
* Add migration for moving used deprecated testnets to custom networks
* Fix migrator test
* Add more unit tests
* Migration updates provider type to rpc if deprecated network is selected
* Migration fully and correctly updates the provider if selected network is a deprecated testnet
* Continue to show deprecation warning on each of rinkeby, ropsten and kovan
* Add rpcUrl deprecation message to loading screen
* Removing mayBeFauceting prop
Co-authored-by: Dan Miller <danjm.com@gmail.com>
* Update mock state data
* Convert App Header test to tlr.
* Convert Gas Timing test to tlr.
* Convert Account Details Modal to tlr.
* Update Sig Req test to match mock state changes.
* Add test-ids to Editable Label for Account Details Modal
* Adjust selectors test for the mock state update.
* Add back gasIsLoading for selectors test.
* Dark Mode: Elevate the theme dropdown from experimental to regular settings
* Fix search
* Fix test
* Adjust settings order
* removing renderTheme call from experimental tab and rearranging setting ref number in general tab
Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
* add env variables to test build
* add data-testid attribute to home component
* add method to retrieve the url of the current page
* add portfolio site test
Co-authored-by: ryanml <ryanlanese@gmail.com>
* Ensure the seed phrase reminder is displayed with precedence over the network deprecation message
* Prevent error when attempting to get balance before account info has been fully sete
* Fix implementation of seedphrase-reminder-display-fix
* Prioritize seed phrase reminder notification over portfolio tooltip, and that tooltip over testnet deprecation
* Don't display DetectedTokenSelectionPopover if there are no detected tokens
* adding length greater than 0 check as a 0 is displayed at the end of teh page previously
Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
* Ensure New Network Info popup doesn't show when switching to testnets
* Update ui/pages/routes/routes.component.js
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* Fix typo
* Fix isTestNet property name casing
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* using the aggregators from tokenList instead of detectedToken to avoid conflicts between static and dynamic list
* removing aggregator from the detectTokens object List
* Show 3box deprecation message in whats new
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Add . after message
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Change deprecation notification message and remove date
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* fix issue wherein signing a message sometimes doesn't allow you to scroll all the way to the bottom
done in a way to make it as mergeable as possible
* Fixing length-zero-no-unit lint issue
Co-authored-by: ryanml <ryanlanese@gmail.com>
* warning for deprecated Rinkeby, Ropsten and Kovan test networks
* modified DeprecatedTestNetworks function
* added getCompletedOnboarding
* removed warning message from MetaMask Notification page
* updated deprecatedTestNetworksMsg
* adding custom component props to form-field component
* replacing ternary operater with binary logical OR
* Removing label from wrapping all form-field elements
* Adding wrapping label back but providing overriding props as well as updating default props
A patch made in #15672 was found to be unnecessary. Instead of setting
a `rootGlobals` object upon construction of the root compartment, we
are now creating a `sentryHooks` object in the initial top-level
compartment. I hadn't realized at the time that the root compartment
would inherit all properties of the initial compartment `globalThis`.
This accomplishes the same goals as #15672 except without needing a
patch.
Our Sentry setup relies upon application state, but it wasn't able to
access it in LavaMoat builds because it's running in a separate
Compartment.
A patch has been introduced to the LavaMoat runtime to allow the root
Compartment to mutate the `rootGlobals` object, which is accessible
from outside the compartment as well. This lets us expose application
state to our Sentry integration.
* added avatar network component
* reset showFallback if networkUrl changes
* updated changed to avatar network
* updated test cases for avatar network
* updated story url in README
* added avatar network class Name
* updated readme for AvatarNetwork
* updated avatar network
* updated text changes to avatar Network and Avatar Token component
* updated space between useState and useEffect
* updated scss files in alphabetic order
UI-14395: change Typography v2 to Text
UI-14395: upgrade design tokens
UI-14395: add classname testing
UI-14395: update text colors, update font family name to match token, update text storybook boxprops
UI-14395: add text transform docs
lint fix
* added avatar token component
* added avatar token component story
* added avatar token readme to story
* added avatar token readme to story
* added halo effect
* added test to avatar token component
* fixed alt name
* added test for blur
* added test for aria hidden element
* fixed fallback issue
* updated halo id in README
* added changes to avatar token stories
* updated stories and README in storybook
* fixed indentation in stories
* changed component name structure
* updated css for avatar halo image
* updated README for Avatar Base Component
* added className to avatar Token
* Updates to docs and styles
* fixed tests for Avatar Token
* added color to the props
* fixed table props issue
* updated avatar token Readme
* updated args in avatar token stories
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
* Fix setting of gasPrice when on non-eip 1559 networks
* Fix unit tests
* Fix logic
* Update ui/ducks/send/send.test.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* changed bordercolors, colors, backgroundcolors to use lodash object
* fixed merge conflicts
* fixed merge conflicts
* replaced colors with TextColors
* fixed readme and storybook for box props
* added text colors
* fixed readme conflicts
* added Inherit to the design system colors
* added bordercolor, background color, text color to design-system
* updated design system import in box component
* Convert ConfirmEncryptionPublicKey story to controls
* Updating fromAccount as per suggestion
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>