Page MenuHomePhabricator

[web] differentiate between password and wallet users in MissingCSATModal
ClosedPublic

Authored by varun on May 2 2024, 9:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 5:39 PM
Unknown Object (File)
Mon, Nov 11, 8:35 AM
Unknown Object (File)
Mon, Nov 11, 7:42 AM
Unknown Object (File)
Mon, Nov 11, 1:07 AM
Unknown Object (File)
Mon, Oct 21, 12:35 PM
Unknown Object (File)
Sun, Oct 20, 11:20 AM
Unknown Object (File)
Oct 15 2024, 2:18 AM
Unknown Object (File)
Oct 10 2024, 9:00 PM
Subscribers

Details

Summary

Depends on D11844

@ashoat and I realized earlier this week that we need to differentiate between wallet and password users when deciding what to display in the modal when a user is logged out.

came up with this copy for wallet users (to whom PAKE is not relevant)

Test Plan

Wallet user:

Screenshot 2024-05-01 at 12.51.51 AM.png (1×2 px, 143 KB)

Password user:

Screenshot 2024-04-30 at 12.51.19 PM.png (1×1 px, 154 KB)

same test plan as in prior diffs but with wallet and password users, to ensure both modals are displayed correctly. see above images

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 2 2024, 9:39 PM
Harbormaster failed remote builds in B28635: Diff 39753!
varun requested review of this revision.May 2 2024, 10:10 PM

iOS build failure looks unrelated

web/components/log-out-if-missing-csat-handler.react.js
23–40 ↗(On Diff #39753)
56–58 ↗(On Diff #39753)

Why load this here and pass it in instead of just loading it in MissingCSATModal?

web/components/log-out-if-missing-csat-handler.react.js
56–58 ↗(On Diff #39753)

i tried that first, but because the user gets logged out, the selector always returns false and we only see the wallet user message in the modal

This revision is now accepted and ready to land.May 2 2024, 10:52 PM
This revision was landed with ongoing or failed builds.May 5 2024, 5:29 PM
This revision was automatically updated to reflect the committed changes.