Page MenuHomePhabricator

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

Authored by atul on Jun 6 2023, 11:01 AM.
Tags
None
Referenced Files
F3399222: D8129.id27500.diff
Mon, Dec 2, 2:30 AM
F3399092: D8129.id27564.diff
Mon, Dec 2, 1:44 AM
F3399040: D8129.id27563.diff
Mon, Dec 2, 1:33 AM
F3398711: D8129.diff
Mon, Dec 2, 12:11 AM
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
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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

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

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

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.