Skip to content

feat: render per-day stats with Chart.js and reaction icons#11

Merged
Uno-Takashi merged 1 commit into
mainfrom
feature/chartjs-stats-perday
Jun 23, 2026
Merged

feat: render per-day stats with Chart.js and reaction icons#11
Uno-Takashi merged 1 commit into
mainfrom
feature/chartjs-stats-perday

Conversation

@Uno-Takashi

Copy link
Copy Markdown
Member

Summary

  • Replace the hand-rolled per-day bar charts with Chart.js (chart.js + react-chartjs-2) so hovering shows the exact day and count via a proper tooltip
  • Keep the previous visual style (thin rounded primary bars, no axes, first/最大/last footer) and resolve var(--…) theme colors to concrete canvas colors
  • Render reaction rows with react-icons matching the player's reaction buttons instead of raw reaction_type labels

Changes

  • src/components/stats/StatsDashboard.tsx — Chart.js bar chart + reaction icon mapping
  • package.json / pnpm-lock.yaml — add chart.js, react-chartjs-2

🤖 Generated with Claude Code

Replace the hand-rolled per-day bar charts with Chart.js (chart.js +
react-chartjs-2) so hovering shows the exact day and count via a proper
tooltip. Render reaction rows with react-icons matching the player's
reaction buttons instead of raw reaction_type labels.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Uno-Takashi Uno-Takashi merged commit a976c5a into main Jun 23, 2026
3 checks passed
@Uno-Takashi Uno-Takashi deleted the feature/chartjs-stats-perday branch June 23, 2026 00:33
@Uno-Takashi Uno-Takashi restored the feature/chartjs-stats-perday branch June 23, 2026 00:40
@Uno-Takashi Uno-Takashi deleted the feature/chartjs-stats-perday branch June 23, 2026 00:41
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.

1 participant