Page MenuHomePhabricator

[native][web] Merge logout buttons for old and new flows
ClosedPublic

Authored by bartek on Thu, Dec 12, 7:22 AM.
Tags
None
Referenced Files
F3517158: D14147.diff
Sun, Dec 22, 4:28 PM
F3516716: D14147.id46382.diff
Sun, Dec 22, 3:13 PM
F3515945: D14147.id46497.diff
Sun, Dec 22, 11:13 AM
F3515910: D14147.id46385.diff
Sun, Dec 22, 11:01 AM
Unknown Object (File)
Sat, Dec 21, 4:25 PM
Unknown Object (File)
Fri, Dec 20, 4:20 PM
Unknown Object (File)
Fri, Dec 20, 11:56 AM
Unknown Object (File)
Fri, Dec 20, 11:16 AM
Subscribers

Details

Summary

Address ENG-9688.

  • Removed the experimental buttons for new logout flows
  • Main logout button behavior depends on usingRestoreFlow:
    • legacy logout (current behavior) if false
    • Primary/secondary logout if true

Depends on D14146

Test Plan

Changed the flag true/false and pressed logout button. Made sure correct procedure is executed

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Thu, Dec 12, 11:28 PM
kamil added inline comments.
native/profile/profile-screen.react.js
361–364

are you sure we don't want to show Alerts that are implemented below and early return?

This revision is now accepted and ready to land.Mon, Dec 16, 6:02 AM
native/profile/profile-screen.react.js
361–364

Yes. onPressNewLogout() has its own alerts