Skip to content

Hero: remove duplicate Realised sparkline#38

Merged
heyitsStylez merged 1 commit into
mainfrom
hero-remove-duplicate-sparkline
May 6, 2026
Merged

Hero: remove duplicate Realised sparkline#38
heyitsStylez merged 1 commit into
mainfrom
hero-remove-duplicate-sparkline

Conversation

@heyitsStylez
Copy link
Copy Markdown
Owner

Summary

  • Deletes the second Realised sparkline from the hero band (markup + nToX/nToY render block + .npnl-* CSS)
  • One Realised cumulative line remains, with the big number and 1M/3M/ALL toggle unchanged
  • Includes the parent PRD context: CONTEXT.md "Hero" section and ADR 0004

Closes #35.

Test plan

  • New guard test asserts #npnl-val, #npnl-chart-area, #npnl-canvas, .npnl-spark are all absent
  • Existing hero test (Cumulative-hero sparkline header shows Realised P&L) still passes
  • python3 build.py --check passes
  • npm test — 59/59 pass

🤖 Generated with Claude Code

Closes #35. Strict subtraction per ADR 0004: the hero now renders one
Realised cumulative line. Deletes the second canvas markup, the nToX/nToY
render block in rCpnlChart, and the orphaned .npnl-* CSS. Adds a guard
test asserting the #npnl-* nodes are gone.

Also commits the parent PRD context: CONTEXT.md "Hero" section and
ADR 0004 (hero = Realised line + static Total tile).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperwheel Ready Ready Preview, Comment May 6, 2026 9:31am

@heyitsStylez heyitsStylez merged commit 8fad5db into main May 6, 2026
4 checks passed
@heyitsStylez heyitsStylez deleted the hero-remove-duplicate-sparkline branch May 6, 2026 09:31
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.

Hero: remove duplicate Realised sparkline

1 participant