Skip to content

feat: add portfolio summary cache fallback and UI enhancements#81

Open
feifeinorfly wants to merge 1 commit into
TNT-Likely:mainfrom
feifeinorfly:pr-feat-portfolio-cache
Open

feat: add portfolio summary cache fallback and UI enhancements#81
feifeinorfly wants to merge 1 commit into
TNT-Likely:mainfrom
feifeinorfly:pr-feat-portfolio-cache

Conversation

@feifeinorfly

Copy link
Copy Markdown
  • 为投资组合摘要添加本地存储缓存,以便在页面加载时立即显示数据,并在API失败时(8秒超时)回退
  • 在显示缓存数据时添加琥珀色警告横幅
  • 添加带有翡翠色和脉冲动画的数据更新时间戳
  • 在数据获取过程中为建议添加骨架加载状态

- Add localStorage cache for portfolio summary to show data immediately
  on page load and fall back when API fails (8s timeout)
- Add amber warning banner when displaying cached data
- Add data update timestamp with emerald color and pulse animation
- Add skeleton loading states for suggestions during data fetch
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