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

Add link where users can enter a join code and join a team #81

Open
StoneT2000 opened this issue Jan 27, 2023 · 0 comments
Open

Add link where users can enter a join code and join a team #81

StoneT2000 opened this issue Jan 27, 2023 · 0 comments
Assignees

Comments

@StoneT2000
Copy link
Member

StoneT2000 commented Jan 27, 2023

Uses this API route: https://github.com/acmucsd/acm-ai-api/blob/master/src/routes/v1/teams/index.ts#L95

On the all teams page, in addition to team creation form you can also copy paste a join code and click join and attempt to join a team. Should be a simple input element / form and should use the /:competitionName/add-to-team/ route to join a team with the join code.

This should also do error handling. E.g. if joining is unsuccessful, list out reason (e.g. server error or wrong join code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants