Page MenuHomePhabricator

[web] Replace `threadInChatList` with `useThreadsInChatList` in `SidebarsModal`
ClosedPublic

Authored by atul on May 9 2024, 2:08 PM.
Tags
None
Referenced Files
F4382323: D11980.id40244.diff
Wed, Feb 26, 8:53 PM
Unknown Object (File)
Wed, Feb 26, 2:21 AM
Unknown Object (File)
Wed, Feb 26, 2:06 AM
Unknown Object (File)
Mon, Feb 24, 9:28 AM
Unknown Object (File)
Jan 24 2025, 8:18 PM
Unknown Object (File)
Jan 24 2025, 5:59 AM
Unknown Object (File)
Jan 24 2025, 5:59 AM
Unknown Object (File)
Jan 24 2025, 5:59 AM
Subscribers
None

Details

Summary

Part of replacing threadInChatList with useThread[s]InChatList hooks, which in turn is part of replacing threadHasPermission with the useThreadHasPermission hook.


Depends on D11950

Test Plan

flow + close reading

Add log statements to SidebarsModal on web and ensure that threadInChatList and useThreadsInChatList return same results.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage