Page MenuHomePhabricator

[native] Stop navigating to Add Members from community creation
ClosedPublic

Authored by inka on Mon, Jun 3, 8:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 25, 1:34 AM
Unknown Object (File)
Sun, Jun 23, 1:15 AM
Unknown Object (File)
Fri, Jun 21, 10:35 PM
Unknown Object (File)
Thu, Jun 20, 9:42 AM
Unknown Object (File)
Tue, Jun 18, 1:39 PM
Unknown Object (File)
Tue, Jun 11, 6:47 AM
Unknown Object (File)
Mon, Jun 10, 5:03 AM
Unknown Object (File)
Mon, Jun 10, 4:57 AM
Subscribers

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/community-creation/community-configuration.react.js
43 ↗(On Diff #40871)

We cannot remove props because of react navigation. We do the same in other components, for example AppsDirectory

107 ↗(On Diff #40871)

Before, we would navigate to CommunityCreationMembersRouteName, where upon pressing "Add" or "Cancel" (the only two buttons allowing us to leave the screen) navigateToThread would be called. We want to do this right away, since we don't want to allow adding users to community roots

inka requested review of this revision.Mon, Jun 3, 8:18 AM
native/community-creation/community-configuration.react.js
30 ↗(On Diff #40871)

Is this route used anywhere else, or should it be deleted?

tomek added inline comments.
native/community-creation/community-configuration.react.js
106–107 ↗(On Diff #40871)

Is it possible that communityThreadInfo will still be null here? Should we navigate conditionally, only when the thread info is present?

This revision is now accepted and ready to land.Tue, Jun 4, 1:09 AM
native/community-creation/community-configuration.react.js
30 ↗(On Diff #40871)

We can remove it
D12306

Check if thread info is present