Skip to content

[frontend] - Invite friends flow sends duplicate invites without feedback #557

Description

@Hydrax117

Description

InviteFriends.tsx does not track which users have already been invited. Clicking "Invite" a second time sends another request without indicating the invite is already pending.

Acceptance Criteria

  • After a successful invite, the button state changes to "Invited" and is disabled.
  • The invited state persists for the session (local state or React Query cache).
  • If the friend has already sent a request to the current user, the button shows "Accept request" instead.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions