Page MenuHomePhabricator

[lib/web] lift useSortedENSResolvedUsers into lib
ClosedPublic

Authored by ginsu on Feb 6 2024, 3:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 28, 9:21 AM
Unknown Object (File)
Wed, Jun 26, 4:51 AM
Unknown Object (File)
Mon, Jun 24, 7:12 AM
Unknown Object (File)
Sun, Jun 23, 11:24 PM
Unknown Object (File)
Sun, Jun 23, 11:09 PM
Unknown Object (File)
Fri, Jun 21, 1:33 PM
Unknown Object (File)
Thu, Jun 20, 5:06 PM
Unknown Object (File)
Thu, Jun 20, 12:47 AM
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.