Page MenuHomePhabricator

Extract shareable logic from CreateSIWEBackupMessage component
ClosedPublic

Authored by marcin on Apr 12 2024, 5:23 AM.
Tags
None
Referenced Files
F3335895: D11644.id39210.diff
Thu, Nov 21, 12:07 PM
F3335887: D11644.id39145.diff
Thu, Nov 21, 12:01 PM
F3335883: D11644.id39404.diff
Thu, Nov 21, 11:59 AM
F3335880: D11644.id39126.diff
Thu, Nov 21, 11:57 AM
F3334562: D11644.diff
Thu, Nov 21, 7:02 AM
Unknown Object (File)
Fri, Nov 8, 7:04 AM
Unknown Object (File)
Wed, Nov 6, 9:21 PM
Unknown Object (File)
Sun, Nov 3, 5:56 AM
Subscribers

Details

Summary

This differential refactors CreateSIWEBackupMessage component so that most of its code and logic can be resused. It is necessary since next diff will
introduce new component that renders the same UI to already logged in SIWE users to create backup message if it is not in the database.

Test Plan
  1. Flow
  2. Test that already introduced functionality wasn't broken.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-5267
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Apr 12 2024, 6:54 AM
native/account/registration/siwe-backup-message-creation.react.js
165

Nit: I'd reverse the order of these, to match the order in which they are defined in the file

Memoize CreateSIWEBackupMessageBase

Use backup icon from MaterialIcons

REbase to reflect changes from parent diff