XPEHO / YAKI

Working localization declaration app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Front-Admin - save team picture in the applicaiton once fetched

LaurentMag opened this issue · comments

Context
Currently the team logo is fetch when the user select the team, and its never saved in the application. yet it can create delay and when selecting another team and waiting for the new team logo to be displayed

to do ?
Different proposition :

  • display the default teamlogo while awaiting for the current team logo to respond and diplay the image, instead of keeping the display of the preview team image
  • fetch all logo from all current team the captain has at the connexion
  • save the logo in the store allong with the appropriate team informations when the user select the team, and fetch it.
    meaning the current team logo display management should be changed as the source from the store to get the logo will change (no from the same store attribute, but, from the teamList (or teamLogo list) associated with the correct teamID)