Skip to content

Fix monthly comparison card not rendering#35

Merged
tschaefermedia merged 1 commit intomainfrom
fix/monthly-comparison-card-data
Apr 8, 2026
Merged

Fix monthly comparison card not rendering#35
tschaefermedia merged 1 commit intomainfrom
fix/monthly-comparison-card-data

Conversation

@tschaefermedia
Copy link
Copy Markdown
Owner

Summary

  • The monthly comparison card wasn't showing because it depended on snapshot data from the AI API response, which is only available after an AI analysis runs
  • Now passes monthlyRatios, topGrowingCategories, and topShrinkingCategories as Inertia props from the controller so the card renders immediately on page load

Test plan

  • Visit AI analysis page — monthly comparison card should appear next to categories without running an AI analysis first
  • Verify savings rate, expenses, and growing/shrinking categories display correctly

🤖 Generated with Claude Code

The comparison card depended on snapshot data from the AI API response,
which is only available after an AI analysis runs. Now the monthly ratios
and growing/shrinking categories are passed as Inertia props from the
controller, making the card render immediately on page load.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tschaefermedia tschaefermedia merged commit 84c976d into main Apr 8, 2026
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