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)
Sun, Nov 10, 1:02 AM
Unknown Object (File)
Fri, Nov 8, 10:03 PM
Unknown Object (File)
Fri, Nov 8, 7:16 PM
Unknown Object (File)
Fri, Nov 8, 7:16 PM
Unknown Object (File)
Fri, Nov 8, 7:16 PM
Unknown Object (File)
Oct 3 2024, 4:51 PM
Unknown Object (File)
Oct 3 2024, 4:50 PM
Unknown Object (File)
Sep 13 2024, 7:26 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.