acmutd / acmutd/meteormate-client
feat: Hook discover page up to real users
- Vorherrschende Sprache
- TypeScript
- Sterne
- 0
- Forks
- 0
- Ø Merge
- 1 T. 3 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
### 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_
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.