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)
Thu, Oct 31, 12:25 PM
Unknown Object (File)
Thu, Oct 31, 12:25 PM
Unknown Object (File)
Thu, Oct 31, 12:25 PM
Unknown Object (File)
Thu, Oct 31, 12:24 PM
Unknown Object (File)
Thu, Oct 31, 12:21 PM
Unknown Object (File)
Oct 6 2024, 7:39 AM
Unknown Object (File)
Oct 6 2024, 7:15 AM
Unknown Object (File)
Oct 6 2024, 6:41 AM
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.