HomePhabricator
Diffusion Comm bfe6c2b410b4

[native] Add subchannnels modal

Tags
None
Referenced Files
F298790: image.png
Dec 29 2022, 9:26 AM
File Not Attached
Subscribers
None

Description

[native] Add subchannnels modal

Summary:
Linear issue: https://linear.app/comm/issue/ENG-2373/subchannels-view
Adding a subchannels modal, similar to the SidebarListModal that displays sidebars of a chat.
This modal is supposed to display subchannels of a given chat. It is to be used in the community drawer.

As the designs are still being discussed, this diff doesn't introduce the final styling yet. Here is what it looks like for now:

image.png (1×612 px, 114 KB)

Test Plan:
In chat-thread-list.react in onPressSeeMoreSidebars exchange the navigation call for:

this.props.navigation.navigate<'SubchannelsListModal'>({
      name: SubchannelsListModalRouteName,
      params: { threadInfo },
    });

Run ios simulator, press “See more…” under a chat that has threads and see that the SubchannelsListModal appears

Reviewers: przemek, kamil, tomek

Reviewed By: kamil, tomek

Subscribers: ashoat, tomek, atul

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

Details

Provenance
InkaSokolowskaAuthored on Dec 29 2022, 9:09 AM
Reviewer
kamil
Differential Revision
D5972: [native] Add subchannnels modal
Parents
rCOMMf28769cd18e8: [native] Extract from SidebarListModal code that can be reused for the…
Branches
Unknown
Tags
Unknown