acmutd / acmutd/meteormate-client
feat: Hook discover page up to real users
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 2
Descripción
### Problem / Motivation
Replace mock/hardcoded profiles with data from the potential matches endpoint
Handle the loading, empty and error states as well
### Proposal
Update the Discover page to display real user profiles from the backend instead of the current mock/hardcoded profile data.
The implementation should also handle the different states that can occur while retrieving profiles:
Loading: Show a loading state/skeleton while potential matches are being fetched.
Empty: Show a clear message when there are no potential matches available.
Error: Display an appropriate error message if the request fails.
## Important
- Need to think about what tags to put on the profile, also implement the highlighting of the important tags on the back of the card
- Hookup the like button - IMPORTANT
- When a user clicks the like button currently the confetti pops up but it shouldn’t do that matches should only pop up if the user they are liking has already liked them back
UI:
No major UI redesign is required. The existing Discover profile card layout will be reused, with its values populated dynamically using data returned from the backend.
Flow:
Discover Page → Fetch potential matches → Display real user profiles
If no profiles are returned, the user should see an empty-state message instead of an empty/broken card.
### Acceptance criteria
_No response_
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.