DesperateSolutions/rating-frontend-old

Front needs some type of select league

Opened this issue · 4 comments

Easy fix

Quist commented

Which url do you need it to fetch from?

Quist commented

I'll added the possibility for the user to specify the league name in 169c295.

However, this need to change whenever you want to deploy to another league.. I don't know how we should handle this yet. @Molyna

Quist commented

Jeg tror vi kan løse det med å ta det som en parameter i URL'en på frontenden.

Tipper det fungerer bra med react-routing. Har du jobbet med det før @henninglh ?

Well easiest thing to do is to create a dashboard type thingy that only contains a drop down list with created leagues and a button to create a new league. The create new league then shows a input field for name and a checkbox for "Score games" which displays if the score from the game should be shown and a checkbox for "Allow ties" which allows or disallows ties. Should be fairly simple to create really.