Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(js): Add useMembers hook #49043

Merged
merged 1 commit into from
May 12, 2023

Conversation

evanpurkhiser
Copy link
Member

This hook is similar to useProjects and useTeams

  • Uses the MemberListStore to presist the list of loaded members

  • Supports querying for members via search and persists to the store

  • Supports loading a specific set of member emails

    NOTE: This feature probably isn't needed, but I kept it in for
    parity with how useTeams and useProjects let you specify slugs to
    lookup.

@evanpurkhiser evanpurkhiser requested a review from a team May 12, 2023 19:57
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 12, 2023
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-js-add-usemembers-hook branch from 55c44d3 to 116f5f0 Compare May 12, 2023 20:27
This hook is similar to useProjects and useTeams

 * Uses the MemberListStore to presist the list of loaded members

 * Supports querying for members via search and persists to the store

 * Supports loading a specific set of member emails

   NOTE: This feature probably isn't needed, but I kept it in for
   parity with how useTeams and useProjects let you specify slugs to
   lookup.
@evanpurkhiser evanpurkhiser merged commit 2e0fec6 into master May 12, 2023
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/feat-js-add-usemembers-hook branch May 12, 2023 23:01
@github-actions github-actions bot locked and limited conversation to collaborators May 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants