HomePhabricator
Diffusion Comm 1e7e1a673f7d

[native] Add `staffUserHasBeenLoggedInIndicator` to `LoggedInModal`

Description

[native] Add staffUserHasBeenLoggedInIndicator to LoggedInModal

Summary:
Context: https://linear.app/comm/issue/ENG-2134/have-a-flag-that-indicates-whether-the-build-is-a-staff-release

Consumes StaffContext and displays whether a staff user has logged in only if staffCanSee is true.

(Will restyle a bit after diff that adds staffUserHasBeenLoggedIn indicator to Build Info page of Profile tab.)

Test Plan:
Here's what it looks like after a staff user has logged in and subsequently logged out:

f0fe25.png (1×696 px, 616 KB)

Reviewers: ashoat, tomek, varun, ginsu, rohan

Reviewed By: ashoat

Subscribers: abosh

Differential Revision: https://phab.comm.dev/D5514

Details

Provenance
atulAuthored on Nov 3 2022, 10:07 AM
Reviewer
ashoat
Differential Revision
D5514: [native] Add `staffUserHasBeenLoggedInIndicator` to `LoggedInModal`
Parents
rCOMM36084420e00c: rename `source` to `logInActionSource`
Branches
Unknown
Tags
Unknown