erin-fitzpatric / next-aom-gg

https://aom.gg
16 stars 13 forks source link

Add Query Params to Home Page for Filter Changes #132

Open erin-fitzpatric opened 2 weeks ago

erin-fitzpatric commented 2 weeks ago

When changing filters for the leaderboard, populate values in the url so that if the user refreshes the page, the current state of filters are still applied. This will help players who only view the team and deathmatch leaderboards.

image

  1. Add queryparam values for
    • leaderboard = 1v1
    • pageSize = 50
  2. When filters are changed, update these values
  3. When the page loads with these values, adjust the filters so that the correct data loads
JeanPec commented 2 weeks ago

I am down to work on that one