acmutd / acmutd/meteormate-client

feat: Integrate Matches page with backend

Aperta
#208 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
1g 3h
PR unite (30g)
2

Descrizione

### Problem / Motivation

Implement matches page that’s hooked up to the backend
Remove phone number on matches page (we dont collect this info)
Fill in the matches card with dynamic info

### Proposal

Update the Matches page to display real mutual matches from the backend instead of the current placeholder/hardcoded information.
The frontend should fetch the user’s mutual matches from the matches endpoint and dynamically populate the existing match cards with the information returned for each matched user.
# As part of this implementation:
Connect the Matches page to the mutual matches backend endpoint.
Replace all mock/placeholder match information with real user data.
Populate each match card dynamically using the matched user’s profile information.
Remove the phone number field from the match card since MeteorMate does not collect users’ phone numbers.
Handle loading, empty, and error states when retrieving matches.
If the user has no matches yet, display an appropriate empty state message rather than showing placeholder cards.

UI:
The existing Matches page design should be reused, with the cards populated using real backend data.
The phone number section should be removed from the current UI, while the remaining available profile/contact information should be displayed dynamically.

Flow:
Matches Page → Fetch mutual matches → Populate match cards with real user data
If no mutual matches are returned, display a clear “No matches yet” state instead of an empty or incomplete page.

### Acceptance criteria

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.