HomePhabricator
Diffusion Comm f882deb936df

[lib] Replace threadSearchIndex selector with useGlobalThreadSearchIndex hook

Tags
None
Referenced Files
F353513: Screenshot 2023-01-31 at 8.04.12 AM.png
Jan 31 2023, 12:06 PM
File Not Attached
F353512: Screenshot 2023-01-31 at 8.04.24 AM.png
Jan 31 2023, 12:06 PM
File Not Attached
F353511: Screenshot 2023-01-31 at 8.02.01 AM.png
Jan 31 2023, 12:06 PM
File Not Attached
F353510: Screenshot 2023-01-31 at 8.01.55 AM.png
Jan 31 2023, 12:06 PM
File Not Attached
F353509: Screenshot 2023-01-31 at 8.01.46 AM.png
Jan 31 2023, 12:06 PM
File Not Attached
F353508: Screenshot 2023-01-31 at 8.01.37 AM.png
Jan 31 2023, 12:06 PM
File Not Attached
Subscribers
None

Description

[lib] Replace threadSearchIndex selector with useGlobalThreadSearchIndex hook

Summary: Depends on D6477

Test Plan:
There were six surfaces affected by this change:

  1. ThreadPickerModal on native
  2. ThreadPickerModal on web
  3. ChatThreadList on native
  4. ThreadListProvider on web (surfaced through ChatThreadList)
  5. SidebarsModal on web
  6. SubchannelsModal on web

I tested all of them:

Screenshot 2023-01-31 at 8.01.37 AM.png (2×1 px, 832 KB)
Screenshot 2023-01-31 at 8.01.46 AM.png (1×1 px, 93 KB)
Screenshot 2023-01-31 at 8.01.55 AM.png (2×1 px, 866 KB)
Screenshot 2023-01-31 at 8.02.01 AM.png (1×832 px, 187 KB)
Screenshot 2023-01-31 at 8.04.24 AM.png (1×838 px, 82 KB)
Screenshot 2023-01-31 at 8.04.12 AM.png (1×832 px, 57 KB)

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Jan 30 2023, 2:53 PM
Reviewer
atul
Differential Revision
D6478: [lib] Replace threadSearchIndex selector with useGlobalThreadSearchIndex hook
Parents
rCOMM472a155c6620: [lib] Introduce useThreadSearchIndex hook
Branches
Unknown
Tags
Unknown