Skip to content

fix: persist uploaded screenshots across refresh#191

Open
Anjali503 wants to merge 1 commit into
Mohit-368:mainfrom
Anjali503:fix/screenshot-persistence
Open

fix: persist uploaded screenshots across refresh#191
Anjali503 wants to merge 1 commit into
Mohit-368:mainfrom
Anjali503:fix/screenshot-persistence

Conversation

@Anjali503
Copy link
Copy Markdown

Fixes #185

Changes Made

  • Added screenshot persistence support to saveData()
  • Restored screenshots from localStorage on app load
  • Updated scheduleSave() to include screenshots state
  • Added autosave trigger for screenshot uploads/removals

Testing Done

  • Uploaded single and multiple screenshots
  • Verified screenshots persist after browser refresh
  • Tested screenshot removal flow
  • Confirmed screenshots are stored correctly in localStorage

Result

Uploaded screenshots now persist correctly across page refreshes alongside other README state data.

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.

Bug: Uploaded Screenshots Lost on Page Refresh

1 participant