Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
adc9360
feat(frontend): price-chart intro sweep (line + crosshair draw left→r…
claude May 30, 2026
72c7dfd
fix(frontend): chart-sweep clip ends at -8px right so the flush-right…
claude May 30, 2026
4cdd990
fix(frontend): gate chart-sweep to a single play (no double-sweep on …
claude May 30, 2026
5da1700
fix(frontend): crosshair rides line L→R + bolder color + X-axis stays…
claude May 30, 2026
5aef58d
fix(frontend): null drawRafRef after draw completes (frontend-design-…
claude May 30, 2026
8a4667a
fix(frontend): unify chart intro into ONE rAF — sync line+crosshair, …
claude May 30, 2026
c60f658
perf(frontend): kill chart freeze — drop getPointAtLength (O(path)·20…
claude May 30, 2026
c9fbde5
test(frontend): add downsample regression guard (frontend-design-revi…
claude May 30, 2026
2f0bee0
fix(frontend): chart draw only on period change (not on enter/refresh…
claude May 30, 2026
9f73657
docs(frontend): fix stale sweepKey comment (IO trigger removed) — fro…
claude May 30, 2026
d71f458
feat(frontend): headline (price/change/date) tracks the crosshair — o…
claude May 30, 2026
89962b5
fix(frontend): guard mid-draw re-park + hide period label while scrub…
claude May 30, 2026
b4b8896
fix(frontend): stop chart crash on scrub/period-switch — single-text-…
claude May 30, 2026
53da768
fix(frontend): crosshair follows the scrub — own overlay cursor inste…
claude May 30, 2026
a81aeda
fix(frontend): overlay overflow:visible + clear hoverIndex on period …
claude May 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions frontend/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,18 @@ code {
animation: gauge-sweep 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Price-chart intro draw — the line + fill are revealed left→right by
* Recharts' OWN area-draw animation (the component sets `isAnimationActive` +
* ease-out on a sweep remount), and a self-drawn crosshair overlay rides the
* curve left→right in lockstep (rAF in PriceHistoryChart.tsx). This replaced an
* earlier clip-path-on-the-wrapper approach, which also revealed the X-axis +
* date labels — the user wanted those to stay PUT. Recharts animates only the
* `.recharts-area` layer (a sibling of `.recharts-xAxis`), so the axis no
* longer moves. No CSS keyframe is needed here anymore; the animation is
* JS-driven and reduced-motion is handled in the component (skip the rAF + pass
* isAnimationActive=false), so SSR / no-JS / reduced-motion show the full chart
* immediately. */

/* Hover lift — table rows / cards rise a hair on hover. Kept tiny
* (1px) + fast so it reads as "alive" not "bouncy"; pairs with the
* existing slate hover-bg. transform ONLY (Motion Rule 1) — no
Expand Down
Loading