Page MenuHomePhabricator

[native] Remove CoolOrNerdModeSelection and KeyserverSelection from registration flow
ClosedPublic

Authored by ashoat on May 9 2024, 7:40 AM.
Tags
None
Referenced Files
F3299374: D11972.diff
Sun, Nov 17, 11:23 AM
Unknown Object (File)
Sun, Nov 3, 3:15 AM
Unknown Object (File)
Sun, Nov 3, 3:15 AM
Unknown Object (File)
Sun, Nov 3, 3:15 AM
Unknown Object (File)
Sun, Nov 3, 3:15 AM
Unknown Object (File)
Sun, Nov 3, 3:15 AM
Unknown Object (File)
Sat, Oct 26, 1:00 AM
Unknown Object (File)
Sat, Oct 19, 5:16 AM
Subscribers

Details

Summary

This diff keeps them in the codebase for now, in case we want to bring this back.

Test Plan

Tested opening the registration flow from the main screen and from FullscreenSIWEPanel. Make sure CoolOrNerdModeSelection and KeyserverSelection don't appear. Make sure that I am able to successfully register

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat requested review of this revision.May 9 2024, 7:57 AM
inka added inline comments.
native/account/registration/connect-ethereum.react.js
66 ↗(On Diff #40019)

So currently, all users will see the "nerd" version, right? I think that's good, just wanted to flag this

This revision is now accepted and ready to land.May 9 2024, 8:23 AM

Remove config that is now unnecessary in FullscreenSIWEPanel

native/account/registration/connect-ethereum.react.js
66 ↗(On Diff #40019)

No, it's actually the opposite. userSelections?.coolOrNerdMode will be undefined, so isNerdMode will be false, and this check will evaluate as true