therungg / therun-frontend

Frontend for therun.gg
https://therun-fr-therun.vercel.app
MIT License
23 stars 8 forks source link

feat: Add ability to count user route visits #242

Closed florence-wolfe closed 2 months ago

florence-wolfe commented 2 months ago

This PR adds the ability to maintain a log of all of the user route visits.

For anyone reading this: This is not tracking, nor is it related to any kind of analytics. None of this data is persisted to the database. None of this data leaves the user's machine.

Basically it's just a { [route: string]: number } object so that we can eventually display this data to the user: routes visited this session and top routes historically.