Page MenuHomePhabricator

[native] Introduce `addSelectedUsersToCommunity` to `CommunityCreationMembers`
ClosedPublic

Authored by atul on Jun 6 2023, 11:01 AM.
Tags
None
Referenced Files
F5498657: D8129.diff
Fri, Apr 11, 8:40 AM
Unknown Object (File)
Wed, Apr 2, 8:30 AM
Unknown Object (File)
Fri, Mar 14, 3:41 AM
Unknown Object (File)
Fri, Mar 14, 3:41 AM
Unknown Object (File)
Fri, Mar 14, 3:41 AM
Unknown Object (File)
Fri, Mar 14, 3:41 AM
Unknown Object (File)
Fri, Mar 14, 3:38 AM
Unknown Object (File)
Mar 8 2025, 8:06 PM
Subscribers

Details

Summary

Introduce addSelectedUsersToCommunity which adds selected users to the newly created community when the user hits "Done." In next diff we will navigate to the newly created community after successful creation.


Depends on D8122

Test Plan

Check community and ensure that users were added as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Jun 6 2023, 11:19 AM
ashoat added inline comments.
native/community-creation/community-creation-members.react.js
114–126 ↗(On Diff #27500)

Nit: I personally would find this more readable without the ternary

This revision is now accepted and ready to land.Jun 7 2023, 12:35 PM
native/community-creation/community-creation-members.react.js
114–126 ↗(On Diff #27500)

Good point, this probably falls under "no ternaries in JSX," will update

This revision was landed with ongoing or failed builds.Jun 8 2023, 10:40 AM
This revision was automatically updated to reflect the committed changes.