Skip to content

Drop duplicate P&L cards, rename section to Premium Economics#41

Merged
heyitsStylez merged 1 commit intomainfrom
premium-economics-rename
May 6, 2026
Merged

Drop duplicate P&L cards, rename section to Premium Economics#41
heyitsStylez merged 1 commit intomainfrom
premium-economics-rename

Conversation

@heyitsStylez
Copy link
Copy Markdown
Owner

@heyitsStylez heyitsStylez commented May 6, 2026

Closes #40.

Summary

  • Remove Realised P&L, Unrealised P&L, Total P&L cards from the Premium P&L Total tab — hero band already owns these per ADR 0004 / Hero: add Total P&L tile beside Realised line #36.
  • Rename section header "Premium P&L" → "Premium Economics" to reflect what the remaining tiles uniquely answer.
  • Keep: Total Premium Collected, Total Notional, Portfolio APR, Return Rate (with existing tooltips).
  • Monthly tab untouched.
  • Migrated pnl-tiles.test.js: dropped 6 obsolete card tests, added an absence test + a section-rename test. Hero coverage already lives in hero-total-tile.test.js.

Tradeoff to flag

Removing the cards means asset-filtered Realised/Unrealised/Total numbers only appear above the fold. Judged worth it to eliminate duplication.

Section name picked: "Premium Economics" (issue allowed "Wheel Performance" as alternative — easy swap if preferred).

Test plan

  • python3 build.py --check passes
  • npm test passes (58/58)
  • Eyeball Total tab in built hyperwheel.html — 4 cards, no Realised/Unrealised/Total
  • Eyeball section header reads "Premium Economics"
  • Hero band Realised line + Total tile unchanged
  • Monthly tab still shows Realised P&L column

🤖 Generated with Claude Code

…40)

Hero band is the canonical Realised/Unrealised/Total surface (per ADR 0004).
Remove the duplicated cards from the Total tab and rename the section to
reflect what it uniquely answers: premium economics.

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 2:11pm

@heyitsStylez heyitsStylez merged commit c8c9676 into main May 6, 2026
4 checks passed
@heyitsStylez heyitsStylez deleted the premium-economics-rename branch May 6, 2026 14:26
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.

Premium P&L: drop duplicate Realised/Unrealised/Total cards, rename section

1 participant