openstock/diagnostic
root c3f5aba330 fix: make AI stock analysis lazy-load instead of blocking page render
The AI analysis card now fetches asynchronously on the client side after
the page mounts, instead of blocking the entire server-rendered page until
the LLM returns. A loading skeleton with animate-pulse is shown while the
analysis is being generated.

- Convert StockAIAnalysisCard to client component with useEffect fetch
- Page now only awaits fast sentiment insights server-side
- Add getAIAnalysis server action for client-side AI analysis requests
- Show loading skeleton and error states in the AI analysis card

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 14:48:51 +00:00
..
image.png fix: make AI stock analysis lazy-load instead of blocking page render 2026-06-02 14:48:51 +00:00