HomePhabricator
Diffusion Comm de39c3067550

[lib][native][web] Introduce threadTypeIsSidebar

Description

[lib][native][web] Introduce threadTypeIsSidebar

Summary: In this diff we replace threadTypes.SIDEBAR checks with threadTypeIsSidebar, a new utility function that also checks threadTypes.THICK_SIDEBAR. This allows our business logic to treat the two in the same way.

Test Plan: I followed the test plan described in this Linear comment, specifically for sidebar creation

Reviewers: tomek, kamil, marcin

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on Jul 21 2024, 1:22 AM
Reviewer
tomek
Differential Revision
D12839: [lib][native][web] Introduce threadTypeIsSidebar
Parents
rCOMM25deb730c421: [web][native] Increase number of actions kept in Redux debugger
Branches
Unknown
Tags
Unknown