mwin1201 / fpl-draft-2022

FPL Draft website to track league team performance stats
2 stars 1 forks source link

Promotional Playoff in the Championship #95

Closed mwin1201 closed 3 days ago

mwin1201 commented 1 year ago

Screenshot 2023-07-25 at 2 20 34 PM

mwin1201 commented 11 months ago

Add a section to the Homepage with Championship Playoffs information. Include a link to a new page that will contain more details.

HOMEPAGE

LINKED PAGE

mwin1201 commented 11 months ago

Dev thoughts:

  1. Create a new component for championship playoffs -- must look for rank 3-6 each game week and display them as current playoff matchups -- at GW 36 (aka GW 35 is complete) we need to set these 4 teams in stone, no matter if their ranks change in GW 37 and 38

  2. Current form section could utilize the fixture history component and just return past X games instead of all

  3. avg game week scores would need to be a new component OR a new data method

mwin1201 commented 11 months ago

Things are progressing nicely. I have added a section to the Homepage only appearing on the Championship site for the playoffs and it links to a page. However this is where things are getting more dicey. I would really like to get the league data table configured so that the playoffs page will reliably show the 4 competing teams and not get mixed up come weeks 36-38. This also encourages me to build out another table to contain all of the team's gameweek stats.

All these additional tables will need to be built into the existing pages so that there is no functionality loss (game week stats, season stats pages).

Also need to determine when to push to the database (this is the hardest part of this whole thing).

mwin1201 commented 10 months ago

want to add section to the playoffs page showing the past matchups between both teams over the season