Skip to content

[334] Add 'Resume your last prediction' card on dashboard return - #397

Open
MaimunaY wants to merge 1 commit into
Predictify-org:mainfrom
MaimunaY:fix/334-add-resume-your-last-prediction-card-on-dashboard-return
Open

[334] Add 'Resume your last prediction' card on dashboard return#397
MaimunaY wants to merge 1 commit into
Predictify-org:mainfrom
MaimunaY:fix/334-add-resume-your-last-prediction-card-on-dashboard-return

Conversation

@MaimunaY

Copy link
Copy Markdown

Summary

  • Persist in-progress predictions in localStorage via lib/state/inProgress.ts
  • Show a ResumeCard on the dashboard when a draft prediction is available
  • Save and clear draft state from the bet confirmation flow

Test plan

  • pnpm test -- lib/state/tests/inProgress.test.ts
  • pnpm test -- components/dashboard/tests/ResumeCard.test.tsx

Closes #334

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@MaimunaY is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@MaimunaY Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add 'Resume your last prediction' card on dashboard return

1 participant