Skip to content

Sync fund comparison tool with latest 24-fund build#51

Open
stenehrlich-tuleva wants to merge 1 commit intomasterfrom
add-fund-comparison-tool
Open

Sync fund comparison tool with latest 24-fund build#51
stenehrlich-tuleva wants to merge 1 commit intomasterfrom
add-fund-comparison-tool

Conversation

@stenehrlich-tuleva
Copy link
Contributor

Summary

  • Regenerated content.php and sources-content.php from latest local web/index.html and web/sources.html
  • All 24 II pillar funds with full data: provider tabs, overlap analysis, holdings detail, sunburst charts, NAV history, CTA with dynamic deadline
  • Sources page now loads ETF metadata, proxy mappings, and coverage stats from etf_metadata.json (new file)
  • Updated all 6 JSON data files with latest pipeline output (fund_data.json grew from 210KB to 1.2MB with 14 new funds)
  • All JS uses var/function(){} (no const/arrow functions) for max browser compat
  • CSS scoped under .fund-comparison / .fc-sources — no global style leaks
  • No API keys or secrets (verified via grep)

Files changed

  • fund-comparison/content.php — full rewrite from latest source
  • fund-comparison/sources-content.php — full rewrite with Active Share methodology, 24 fund report links, dynamic ETF/proxy tables
  • fund-comparison/data/*.json — 6 files (added etf_metadata.json)
  • page.php and page-sources.php unchanged

Test plan

  • Open /fondide-vordlus/ — verify fund picker shows all 5 providers (Tuleva, Swedbank, LHV, SEB, Luminor)
  • Select two funds — verify overlap bar, holdings, NAV chart, CTA all render
  • Open /fondide-vordlus-allikad/ — verify methodology section, fund table (24 rows), ETF table, proxy table all load
  • Check mobile layout (< 640px) — fund grid should be 2 columns
  • Verify no console errors in browser dev tools

🤖 Generated with Claude Code

- Regenerate content.php from web/index.html: all 24 II pillar funds,
  provider tabs, holdings detail, sunburst charts, CTA with deadline
- Regenerate sources-content.php from web/sources.html: Active Share
  methodology, all 24 fund report links, ETF look-through tables,
  proxy mappings (loaded from etf_metadata.json)
- Update all JSON data files with latest pipeline output
- Add etf_metadata.json (ETF sources, proxy mappings, coverage stats)
- All JS converted to var/function() for max browser compat
- CSS scoped under .fund-comparison / .fc-sources
- PHP paths via get_template_directory_uri() and home_url()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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