Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: update home dashboard #111

Merged
merged 3 commits into from
Mar 13, 2024
Merged

web: update home dashboard #111

merged 3 commits into from
Mar 13, 2024

Conversation

Cari1111
Copy link
Collaborator

@Cari1111 Cari1111 commented Mar 13, 2024

Issues

Changes

  • Added game database in sqlite.data.tsx and added getStatistics function.
  • Made a styled DashboardPaper and DashboardsStatistic
  • Used Grids for positioning
  • The token is only visible by clicking a button
  • Added game statistics to the dashboard

Example Images

grafik
grafik

@Cari1111 Cari1111 requested review from Raining-Cloud and PacoSchatz and removed request for Raining-Cloud March 13, 2024 11:52
Copy link
Collaborator

@PacoSchatz PacoSchatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work. It looks and works great. I tested it with a db of approx 1000 games and the information was displayed correctly.

I can't comment that much on code quality, as I am not as experienced in typescript, but I didn't spot any obvious flaws.

As a future task, it might be an option to count also draws, especially for the hockey game or similar games, as draws occur there often and are not the same as a loss.

@Cari1111 Cari1111 merged commit ba1835c into main Mar 13, 2024
4 checks passed
@Cari1111 Cari1111 deleted the carina/web-statistics branch March 13, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants