HomePhabricator
Diffusion Comm a647d70cdef4

[native] Introduce `CommunityCreationNavigator`

Description

[native] Introduce CommunityCreationNavigator

Summary:
Heavily inspired by RegistrationNavigator, this diff introduces CommunityCreationNavigator. This navigator will "handle" the screens of the community creation flow. Specifically the community configuration screen and the optional "Add members" screen.

WARNING: Please let me know if this is the wrong approach. My understanding is that because we have > 1 screen in sequence as part of our flow we should create a new navigation stack. HOWEVER, I have a very very limited understanding of navigation on native, so please correct me if that assumption is incorrect and I should approach this differently.

Test Plan:

  1. Set isCommunityCreationButtonEnabled to true.
  2. Open community drawer and press "Create community."
  3. Observe that CommunityConfiguration is displayed (by looking at screen "title").

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-05-23 at 16.26.55.png (2×1 px, 86 KB)

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7950

Details

Provenance
atulAuthored on May 24 2023, 7:31 AM
Reviewer
ashoat
Differential Revision
D7950: [native] Introduce `CommunityCreationNavigator`
Parents
rCOMMd49713bc9d54: Revert "[web] Added FocusTrap for modals"
Branches
Unknown
Tags
Unknown