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(invites): query file for handling API TASK-1092 TASK-991 #5409

Merged
merged 4 commits into from
Jan 24, 2025

Conversation

magicznyleszek
Copy link
Member

@magicznyleszek magicznyleszek commented Jan 7, 2025

📣 Summary

A query file that allows using new invitation system API. The functionalities are:

  • send invite (for admins to invite users to their org)
  • remove invite (for admins to cancel invite)
  • get single invite (for users to get invite info after visiting link from email with ?params)
  • patch single invite (for admins to resend invite, for users to accept or decline invite)

All the actions ensure membersQuery is up to date (it's being used as the source of data for the list of invites).

💭 Notes

This requires #5395 to be merged first, but is totally reviewable now :) And upcoming PRs would use this.

@magicznyleszek magicznyleszek changed the title feat(invites): query file for handling API TASK-1092 TASK-991 (main) feat(invites): query file for handling API TASK-1092 TASK-991 Jan 10, 2025
Copy link
Contributor

@jamesrkiger jamesrkiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@magicznyleszek magicznyleszek merged commit b237f87 into main Jan 24, 2025
7 checks passed
@magicznyleszek magicznyleszek deleted the leszek/task-991-(main)-api-member-invitation branch January 24, 2025 09:00
rajpatel24 pushed a commit that referenced this pull request Jan 28, 2025
### 📣 Summary
A query file that allows using new invitation system API. The
functionalities are:
- send invite (for admins to invite users to their org)
- remove invite (for admins to cancel invite)
- get single invite (for users to get invite info after visiting link
from email with `?params`)
- patch single invite (for admins to resend invite, for users to accept
or decline invite)

All the actions ensure `membersQuery` is up to date (it's being used as
the source of data for the list of invites).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants