ronnigaba / BoyumFoosballStats-2.0

2 stars 0 forks source link

Matches history #13

Open alexandrutatarciuc opened 1 year ago

alexandrutatarciuc commented 1 year ago

I would like to be able to save matches to Cosmos and also fetch them and present them (like the Match Overview page in the previous app). But I am not sure how to access Cosmos to be able to test if what I'm doing is working.

alexandrutatarciuc commented 1 year ago

@ronnigaba I think this one should be a priority right now, because it will turn the app into a usable one :)

ronnigaba commented 1 year ago

@alexandrutatarciuc That already works, there is a CrudService for both Matches and Players. All Players and Matches have been migrated from the old system, but once we go live, we will have to do a clean migration of matches again.

ronnigaba commented 1 year ago

I can try to give you access to the CosmosDb directly in the Azure Portal as well!

alexandrutatarciuc commented 1 year ago

@ronnigaba This is what I have so far image image What do you think?

ronnigaba commented 1 year ago

I think I like the top one better - it's less compact, but I don't think that's a problem.

alexandrutatarciuc commented 1 year ago

image

I tried prototyping with how we could show who is what team. Coloring the icons doesn't look good imo. But having the column header saying explicitly what team the column represents seems like a good option for now

ronnigaba commented 1 year ago

I agree, it is too subtle - if the teams had been more colorful, it might've worked. Let's stick with the header option for now!