sunnydl / GamePerformanceTracker

Team project for CSE 115A in Fall 2021, UCSC
3 stars 0 forks source link

Compute data needed for match history page's match list. #74

Closed sunnydl closed 2 years ago

sunnydl commented 3 years ago

I have already set up the interface for the data needed in match history in the matchHistorySetup branch. image

You would need to write a function in matchService for example

const computeMatchHistoryData = (matchList, puuid) => {
      const matchHistoryList = []
      // iterate the matchList to collect the data of the user into a single MatchHistoryDTO obj then push the obj to matchHistoryList
      return matchHistoryList;
}

Let me know if there is any concern, thanks!

sunnydl commented 2 years ago

Everything seems to be working, will close the issue for now and revisit later if needed