Page MenuHomePhabricator

[native][web] Show version unsupported modal when received use_new_flow on logout
ClosedPublic

Authored by bartek on Mon, Nov 25, 3:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 3:23 AM
Unknown Object (File)
Fri, Dec 20, 7:07 PM
Unknown Object (File)
Mon, Dec 16, 1:38 PM
Unknown Object (File)
Mon, Dec 16, 1:17 AM
Unknown Object (File)
Mon, Dec 16, 1:17 AM
Unknown Object (File)
Mon, Dec 16, 1:17 AM
Unknown Object (File)
Mon, Dec 16, 1:17 AM
Unknown Object (File)
Fri, Dec 13, 6:28 AM
Subscribers

Details

Summary

Address ENG-9718.
Display "version unsupported" message upon logout, when use_new_flow response is received

Depends on D14035

Test Plan

Mocked Identity logout response. I was visually logged out and modal appeared.

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.Mon, Nov 25, 5:09 AM
kamil added inline comments.
native/profile/profile-screen.react.js
579–581 ↗(On Diff #45997)

I would memoize this object

web/settings/account-settings.react.js
48–53 ↗(On Diff #45997)

I would use React.useMemo instead of React.useCallback and memorize entire useLogOut param

This revision is now accepted and ready to land.Tue, Nov 26, 2:13 AM
web/settings/account-settings.react.js
48–53 ↗(On Diff #45997)

Good idea, thank you

native/profile/profile-screen.react.js
579–581 ↗(On Diff #45997)

This feedback doesn't seem to have been addressed