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)
Wed, Apr 17, 10:48 PM
Unknown Object (File)
Wed, Apr 17, 10:48 PM
Unknown Object (File)
Wed, Apr 17, 10:48 PM
Unknown Object (File)
Wed, Apr 17, 10:48 PM
Unknown Object (File)
Wed, Apr 17, 10:46 PM
Unknown Object (File)
Feb 24 2024, 10:07 AM
Unknown Object (File)
Feb 24 2024, 10:07 AM
Unknown Object (File)
Feb 24 2024, 10:07 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.