Page MenuHomePhabricator

[native] Make Farcaster required in new registration flow
ClosedPublic

Authored by ashoat on May 9 2024, 7:56 AM.
Tags
None
Referenced Files
F2193639: D11974.id40022.diff
Thu, Jul 4, 10:41 PM
F2193342: D11974.id40036.diff
Thu, Jul 4, 9:48 PM
F2193320: D11974.id40043.diff
Thu, Jul 4, 9:43 PM
F2193292: D11974.id40038.diff
Thu, Jul 4, 9:37 PM
F2193210: D11974.id40039.diff
Thu, Jul 4, 9:25 PM
F2193208: D11974.id40037.diff
Thu, Jul 4, 9:24 PM
F2192817: D11974.id40022.diff
Thu, Jul 4, 8:32 PM
Unknown Object (File)
Tue, Jul 2, 9:30 PM
Subscribers

Details

Summary

Only making it required on release builds to avoid making testing more difficult for devs.

Depends on D11973

Test Plan

Replaced usage of __DEV__ with a hardcoded variable. 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat requested review of this revision.May 9 2024, 8:13 AM
native/account/registration/connect-farcaster.react.js
186 ↗(On Diff #40022)

How about staff users? I know this is about registration, but are we going to require a Farcaster account for possible new developers?

native/account/registration/connect-farcaster.react.js
186 ↗(On Diff #40022)

Good point, I can add an exception for staff builds

useStaffCanSee to allow staff to circumvent Farcaster requirement

ginsu added inline comments.
native/components/farcaster-prompt.react.js
30 ↗(On Diff #40039)

Nit/unsolicited, but I think we can drop "currently". Will defer to you to make the final call

This revision is now accepted and ready to land.May 9 2024, 1:06 PM
native/components/farcaster-prompt.react.js
30 ↗(On Diff #40039)

I'd rather keep it

This revision was landed with ongoing or failed builds.May 9 2024, 1:11 PM
This revision was automatically updated to reflect the committed changes.