1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/test
Mark Stacey 429451de23
Extract "create vault" form to separate component (#13461)
The form used for creating a vault on the "Import" page of onboarding
and on the "Restore vault" page is nearly identical, yet the
implementation is totally separate. It has now been extracted to a
separate component, consolidating the two implementations.

There is a "terms of use" checkbox on the import page that isn't on the
restore vault page, so that part has been made optional. The "submit"
button text differs between the two uses as well, so that is
customizable.

There are slight styling differences between the old and new versions
of this form. The fonts and spacing are all using our new standard
design system guidelines, and we're using our standard checkbox now as
well. The spacing and font sizes were chosen somewhat arbitrarily by me
to resemble the old styles, so please feel free to suggest changes if
you think they can be improved upon.

There are some slight copy changes to the "Restore vault" page as well;
the placeholder text and the label for the "Secret Recovery Phrase"
field now matches the "Import" page copy.
2022-02-03 10:36:43 -03:30
..
data EIP-1559 V2: Use default gas preferences of user for all transactions (#13238) 2022-01-10 14:34:54 -05:00
e2e Extract "create vault" form to separate component (#13461) 2022-02-03 10:36:43 -03:30
helpers Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
jest Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 2021-11-30 19:56:28 +01:00
lib remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mocks Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
stub Upgrade ganache - continued (#13354) 2022-01-20 16:56:52 +00:00
unit-global Add lockdown e2e test (#12562) 2021-11-02 17:01:01 -07:00
env.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
setup.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
test-unit-combined.sh Fix unit test package scripts (#12278) 2021-10-06 07:35:23 -07:00
test-unit-jest.sh Fix unit test package scripts (#12278) 2021-10-06 07:35:23 -07:00