ProximaEPFL / proxima

A social app that encourages users to visit places in order to see posts.
7 stars 1 forks source link

Ranking/Leaderboard ViewModel #324

Closed gruvw closed 3 months ago

gruvw commented 4 months ago

Fixes #299

Ranking/Leaderboard ViewModel

This PR aims to bring real user data from the database into the view of the leaderboard/ranking page.

Waiting on #319 and #322 to be merged before integration of viewmodel inside view.

Acceptance criteria

Result

We now have a real leaderboard directly inside the application, which gets populated with real data from the database.
On top of that, we also have a bottom element with our own score and position.

The viewmodel is unit tested in depth and the UI is checked for correctness too.

Note: first relevant commit is 0b29bab.

gruvw commented 3 months ago

Hey, thank you for your feedback, definitely some interesting stuff I missed (like that double wait RTT).