User invite system#643
Merged
KavikaPalletenne merged 13 commits intoCHAOS-224-KHAOS-rewritefrom Jan 15, 2026
Merged
Conversation
- Updated the organisation model to include ChaosEmail for sending invitations. - Added TODOs for future invite code generation and summary of related UI.
… feedback. Fix the backend accordingly.
…already exists etc
KavikaPalletenne
requested changes
Jan 10, 2026
|
|
||
| let invite; | ||
| try { | ||
| invite = await getInvite(inviteId); |
Contributor
There was a problem hiding this comment.
Use react-query and prefetchQuery
| setMessage(null); | ||
| try { | ||
| if (!mockMode) { | ||
| await acceptInvite(code); |
Contributor
There was a problem hiding this comment.
Remove try catch blocks and mockMoode
Contributor
There was a problem hiding this comment.
Revert change for this whole file
added 5 commits
January 14, 2026 13:56
Base automatically changed from
CHAOS-598-nextjs
to
CHAOS-571-integrate-be-fe
January 14, 2026 11:26
Base automatically changed from
CHAOS-571-integrate-be-fe
to
CHAOS-224-KHAOS-rewrite
January 14, 2026 11:32
Plebbaroni
approved these changes
Jan 15, 2026
KavikaPalletenne
approved these changes
Jan 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what i have done:
To test:
To see the invite page:
http://localhost:3000/en/dashboard/invite/7c1fbfcde -> replace "7c1fbfcde" with your invite code you have in DB. This will open up an invite page, you can now accept it, if account not created, then u have to create one. IF browser is currently have an CHaos account, but different email, user. You will not allowed to accept anyway.