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.

@Karanjot786

Copy link
Copy Markdown

Hey @Anjali503! Saw your work on GSSoC 2026.

We are building TermUI, a TypeScript terminal UI framework with React-style hooks and JSX, rendered entirely in the terminal.

We have 67 unassigned GSSoC issues open. 19 are marked good first issue. Your JavaScript background transfers directly.

Karanjot, TermUI maintainer

@Anjali503

Copy link
Copy Markdown
Author

Hi @Karanjot786,

Thanks for reaching out! The project sounds interesting. I'll take a look at the repository and the available GSSoC issues. Looking forward to exploring how I can contribute.

Thanks!

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

2 participants