Page MenuHomePhabricator

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

Authored by atul on Jun 6 2023, 11:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 10:54 AM
Unknown Object (File)
Oct 28 2024, 1:04 PM
Unknown Object (File)
Oct 26 2024, 11:11 PM
Unknown Object (File)
Sep 29 2024, 6:13 AM
Unknown Object (File)
Sep 29 2024, 6:13 AM
Unknown Object (File)
Sep 29 2024, 6:13 AM
Unknown Object (File)
Sep 29 2024, 6:13 AM
Unknown Object (File)
Sep 29 2024, 6:10 AM
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.