cohstats / coh3-stats

COH3 Stats - Leaderboards, PlayerCards, Matches, Statistics for players, Unit stats and much more!
https://coh3stats.com
GNU General Public License v3.0
27 stars 17 forks source link

Create match details page #606

Open petrvecera opened 1 week ago

petrvecera commented 1 week ago

We want to create a single match details page. This task is divided into subtasks.

This match details page will include:

The example page is available on this url: /matches/31226243?profileIDs=[102119,%204566,%2057433,%20322047,%20138403,%20427875,%2058386,%20887819] aka https://dev.coh3stats.com/matches/31226243?profileIDs=[102119,%204566,%2057433,%20322047,%20138403,%20427875,%2058386,%20887819]

The content lives in this file https://github.com/cohstats/coh3-stats/blob/master/screens/matches/match-detail.tsx

The page should look similarly as it looks on coh2stats https://coh2stats.com/matches/376351317

image

RajVerma97 commented 1 week ago

got it ! Thanks for the explanation and guidance! I will give it a shot!

RajVerma97 commented 1 week ago

Is there already a component table like this or do i have to create one ?

Screenshot 2024-10-07 at 12 29 12 AM
petrvecera commented 1 week ago

Is there already a component table like this or do i have to create one ?

Screenshot 2024-10-07 at 12 29 12 AM

In coh3stats we don't have table like this. You will need to create a new one. The best inspiration can be taken on the matches table https://github.com/cohstats/coh3-stats/blob/master/screens/players/tabs/recent-matches-tab/player-recent-matches-tab.tsx#L176

RajVerma97 commented 1 week ago

what about charts? like DAMAGE DEALT ,UNITS KILLED?

petrvecera commented 1 week ago

what about charts? like DAMAGE DEALT ,UNITS KILLED?

I will explain the charts in the separate sub-issue later, but no - all charts are hand crafted for the specific visualisation.

RajVerma97 commented 1 week ago

okay got it i sent a dm to you on discord. My username is Rajneesh Verma