Page MenuHomePhabricator

[lib/web] lift useSortedENSResolvedUsers into lib
ClosedPublic

Authored by ginsu on Feb 6 2024, 3:13 PM.
Tags
None
Referenced Files
F3575475: D10978.id36814.diff
Sat, Dec 28, 7:38 PM
F3575474: D10978.id36755.diff
Sat, Dec 28, 7:38 PM
F3575473: D10978.id.diff
Sat, Dec 28, 7:38 PM
F3573409: D10978.id36816.diff
Sat, Dec 28, 2:36 PM
Unknown Object (File)
Thu, Dec 26, 7:09 PM
Unknown Object (File)
Thu, Dec 26, 7:09 PM
Unknown Object (File)
Thu, Dec 26, 7:09 PM
Unknown Object (File)
Thu, Dec 26, 7:08 PM
Subscribers

Details

Summary

Based on some feedback I got in D10919 + D10921 I should make sure that the memberInfos in useMembersGroupedByRole should already be sorted before I return it. In order to do that I need to lift useSortedENSResolvedUsers from web to lib so I can use this hook in useMembersGroupedByRole

Test Plan

flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Feb 6 2024, 3:30 PM

Thanks for addressing this feedback. Think it's a lot cleaner that the data is being "transformed" once and "pushed up" so that downstream components/logic don't have to deal with transforming data that isn't "ready to go"

This revision is now accepted and ready to land.Feb 7 2024, 12:47 PM
This revision was landed with ongoing or failed builds.Feb 7 2024, 2:56 PM
This revision was automatically updated to reflect the committed changes.