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)
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
Unknown Object (File)
Sun, Dec 15, 11:50 AM
Unknown Object (File)
Sat, Nov 30, 1:34 AM
Unknown Object (File)
Sat, Nov 30, 1:05 AM
Unknown Object (File)
Nov 26 2024, 8:56 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
No Lint Coverage
Unit
No Test Coverage

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.