Page MenuHomePhabricator

Extract shareable logic from CreateSIWEBackupMessage component
ClosedPublic

Authored by marcin on Fri, Apr 12, 5:23 AM.
Tags
None
Referenced Files
F1694009: D11644.id39404.diff
Thu, May 2, 8:27 PM
F1693979: D11644.id39413.diff
Thu, May 2, 8:12 PM
Unknown Object (File)
Sat, Apr 27, 5:39 PM
Unknown Object (File)
Fri, Apr 26, 4:19 PM
Unknown Object (File)
Fri, Apr 26, 1:31 PM
Unknown Object (File)
Mon, Apr 22, 11:42 AM
Unknown Object (File)
Mon, Apr 22, 9:38 AM
Unknown Object (File)
Sun, Apr 21, 2:02 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Fri, Apr 12, 6:54 AM
native/account/registration/siwe-backup-message-creation.react.js
165 ↗(On Diff #39075)

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