HomePhabricator
Diffusion Comm 0ab6a315ac2d

[lib] Introduce `useOnScreenEntryEditableThreadInfos`

Description

[lib] Introduce useOnScreenEntryEditableThreadInfos

Summary:
Replace onScreenEntryEditableThreadInfos with hook which consumes useThreadsWithPermission introduced in D11924.


Depends on D11924

Test Plan:
flow + close reading for now

Checked ThreadPickerModal on web (skipped native, but assuming everything is the same since lib) and ensured that threads appeared as expected.

Reviewers: ashoat, ginsu, tomek, varun, will

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on May 14 2024, 5:50 PM
Reviewer
ashoat
Differential Revision
D11925: [lib] Introduce `useOnScreenEntryEditableThreadInfos`
Parents
rCOMM25680afe29ab: [lib] Introduce `useThreadsWithPermission` to filter `ThreadInfo`s
Branches
Unknown
Tags
Unknown