Page MenuHomePhabricator

[native] introduce user profile bottomsheet component

Authored by ginsu on Thu, Sep 7, 10:05 AM.
Referenced Files
Unknown Object (File)
Fri, Sep 15, 2:54 AM
F746628: Screen Recording 2023-09-07 at 1.23.27
Thu, Sep 7, 10:23 AM
F746626: Screen Recording 2023-09-07 at 1.20.49
Thu, Sep 7, 10:21 AM
F746625: Screen Recording 2023-09-07 at 1.19.36
Thu, Sep 7, 10:20 AM



This diff introduces the ProfileBottomSheet component. When designing this component/how bottomsheets should work in our app, I wanted to take a similar approach to how we currently handle popups/modals in the app today so I created a new screen in root navigator which we will navigate to when the user profile bottomsheet should appear. The "screen" we will navigate to is this ProfileBottomSheet component

Depends on D9098

Test Plan

Confirmed that I am able to navigate to and back from this new "screen".

I created this test function in RelationshipListItem:

onPressTestNav = userInfo => {
    name: UserProfileBottomSheetRouteName,
    params: {

and got the following:

Diff Detail

rCOMM Comm
Lint Not Applicable
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, inka.
ginsu edited the test plan for this revision. (Show Details)
ginsu edited the summary of this revision. (Show Details)

improve onClosed dep list

13 ↗(On Diff #30850)

This parameter/type is a bit of a naive and will be updated in a subsequent diff.

38 ↗(On Diff #30850)
ginsu published this revision for review.Thu, Sep 7, 10:28 AM
This revision is now accepted and ready to land.Tue, Sep 12, 5:36 AM
This revision was landed with ongoing or failed builds.Tue, Sep 12, 2:31 PM
This revision was automatically updated to reflect the committed changes.