Page MenuHomePhabricator

Rip `LegacyThreadInfo` out of selectors and related code
ClosedPublic

Authored by atul on Dec 1 2023, 11:24 AM.
Tags
None
Referenced Files
F3385504: D10142.id34135.diff
Fri, Nov 29, 12:44 AM
F3385495: D10142.id34136.diff
Fri, Nov 29, 12:40 AM
Unknown Object (File)
Thu, Nov 7, 4:20 AM
Unknown Object (File)
Wed, Oct 30, 6:50 PM
Unknown Object (File)
Oct 2 2024, 11:50 PM
Unknown Object (File)
Oct 2 2024, 12:30 AM
Unknown Object (File)
Oct 2 2024, 12:30 AM
Unknown Object (File)
Oct 2 2024, 12:30 AM
Subscribers
None

Details

Summary

Ripped LegacyThreadInfo out of selectors and updated related code to use ThreadInfo as well.

We're now down to 6 usages of LegacyThreadInfo from ~750

WARNING: There was one instance where we had to add noop branching to web/modals/threads/settings/thread-settings-modal.react.js:68-72 to appease flow.

Depends on D10140

Test Plan

CI/flow/etc.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

web/chat/thread-list-provider.js
152

This was accidental, it will be removed.

web/modals/threads/settings/thread-settings-modal.react.js
68–72
NOTE: This is the one place we had to add branching to appease flow.
atul published this revision for review.Dec 1 2023, 11:28 AM
atul edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Dec 1 2023, 12:18 PM
This revision was landed with ongoing or failed builds.Dec 1 2023, 12:44 PM
This revision was automatically updated to reflect the committed changes.