devsoc-unsw / devsoc-unsw/notangles

[Rewrite-Frontend]: Adding new pages for invite link

Open
#1,168 0 comments 0 reactions 0 assignees View on GitHub
👨🏻‍💻 dev 💻
Dominant language
TypeScript
Stars
79
Forks
9
PR merge metrics
No merged PRs in 30d

Description

In the rewrite version of Notangles, currently copying and pasting the friend invite link shows nothing. The idea is developing a new page for inviting friend.

Image

Possible bahaviors:
1. If the user has already logged in, calling the existing `sendFriendRequest` function and show two buttons of "Accept"/"Decline".
2. If the user has not logged in, store the inviting code and guide the user to the login page.
3. If the user is a guest, showing that this functionality can only be accessed with an account.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the rewrite frontend's invite-link entry point, the existing sendFriendRequest function, and the login flow. Done means copied invite links handle logged-in users with Accept/Decline actions, preserve the code for users who must log in, and explain to guests that an account is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
authentication, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.