Page MenuHomePhabricator

[lib/native] lift staff provider into lib
ClosedPublic

Authored by ginsu on Jan 26 2024, 8:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 3, 5:18 AM
Unknown Object (File)
Wed, Jul 3, 4:32 AM
Unknown Object (File)
Tue, Jul 2, 11:36 PM
Unknown Object (File)
Tue, Jul 2, 11:21 PM
Unknown Object (File)
Tue, Jul 2, 2:30 PM
Unknown Object (File)
Mon, Jul 1, 8:41 PM
Unknown Object (File)
Sun, Jun 30, 10:30 PM
Unknown Object (File)
Sun, Jun 30, 4:30 PM
Subscribers

Details

Summary

As I was building the build info page for web, I noticed that the hasStaffUserLoggedIn only lives in native. To get this field into web we should lift the staff context provider into lib so that it can be used on both platforms. This diff lifts the staff provider into lib so that it can be used in both web and native

Depends on D10825

Test Plan

flow + confirmed that there were no regressions with native

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Jan 26 2024, 8:39 AM

confirmed that there were no regressions with native

Ideally we'd have a more specific test plan that goes into a few scenarios that were checked

This revision is now accepted and ready to land.Jan 29 2024, 10:01 PM
This revision was automatically updated to reflect the committed changes.