Skip to content

feat: interactive prize-slot history chart with zoom and gradient series - #78

Merged
hoangsvit merged 3 commits into
mainfrom
feat/interactive-slot-trends-chart
Sep 24, 2026
Merged

hoangsvit merged 3 commits into
mainfrom
feat/interactive-slot-trends-chart

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Summary

  • Upgrade the existing shadcn/Recharts slot-history visualization to a responsive, layered ComposedChart with four independently toggleable line + subtle gradient-area series.
  • Add a mini timeline navigator (Brush) for datasets with at least 4 real observations, selected-range state, and a localized reset control.
  • Improve crosshair tooltip, hover highlights, chart density, dark/light styling and narrow mobile layout.
  • Keep recorded timestamps intact in tooltip and move older comparison baselines only to the left window edge; no interpolated or fabricated observations.
  • Reuse existing Recharts package and the existing 13-language chart catalog. Add regression checks for zoom, data provenance and styling.

QA

CI unit tests + Next typecheck/build will run on the PR. Check preview at /pr-preview/pr-<PR>/ on mobile and desktop; open the Prize slot history panel, switch 7/14/21/30-day ranges, toggle tiers, hover/click on lines, and drag the navigator if 4+ observations exist.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 4b17a3dd-2ead-4613-80df-fab4a0d4ccdb


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🧹 PR preview removed

The preview for this pull request was removed after the PR was closed.

github-actions Bot added a commit that referenced this pull request Sep 24, 2026
@hoangsvit
hoangsvit merged commit 2d24863 into main Sep 24, 2026
5 checks passed
@hoangsvit
hoangsvit deleted the feat/interactive-slot-trends-chart branch September 24, 2026 12:01
github-actions Bot added a commit that referenced this pull request Sep 24, 2026

This branch was successfully deployed

1 active deployment
pr-preview — e31ff255 Deployed Sep 24, 2026 by hoangsvit via preview #771
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