Page MenuHomePhabricator

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

Authored by bartek on Nov 25 2024, 3:52 AM.
Tags
None
Referenced Files
F3535949: D14036.diff
Wed, Dec 25, 5:07 PM
Unknown Object (File)
Mon, Dec 23, 6:11 AM
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
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.Nov 25 2024, 5:09 AM
kamil added inline comments.
native/profile/profile-screen.react.js
579–581

I would memoize this object

web/settings/account-settings.react.js
48–53

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

This revision is now accepted and ready to land.Nov 26 2024, 2:13 AM
web/settings/account-settings.react.js
48–53

Good idea, thank you

native/profile/profile-screen.react.js
579–581

This feedback doesn't seem to have been addressed