Skip to content

✨ Feature: Auto-Save and Restore (#1239)#1291

Open
BhakktiGautam wants to merge 7 commits into
JiyaBatra:mainfrom
BhakktiGautam:feature/auto-save-1239
Open

✨ Feature: Auto-Save and Restore (#1239)#1291
BhakktiGautam wants to merge 7 commits into
JiyaBatra:mainfrom
BhakktiGautam:feature/auto-save-1239

Conversation

@BhakktiGautam

Copy link
Copy Markdown
Contributor

🎯 Closes Issue

Closes #1239 - Auto-Save and Restore Functionality

##Labels:
GSSoC26, enhancement, feature

✨ Features

  • ✅ Code auto-saves while typing (1-second debounce)
  • ✅ Restores on page refresh
  • ✅ Save indicator (💾 Saving / ✅ Saved / ⚠️ Unsaved)
  • ✅ Reset clears editor + localStorage
  • ✅ Last saved timestamp

📁 Files Changed

  • Compiler.jsx - Modified
  • Compiler.css - New

✅ Testing

  • Code persists after refresh
  • Restores automatically
  • Reset clears everything
  • Works across all languages

🚀 Ready for Review!

- Auto-save code while typing with 1-second debounce
- Restore saved code on page refresh
- Save indicator showing status
- Reset clears both editor and localStorage
- Handle lesson switching and page unload
- Stores last 10 executions with output, status, timestamp
- Success/Failure indicators with color coding
- Clear history option
- Auto-updates after each run
- Persistent during session
- Keep auto-save functionality
- Add execution history panel
- Both features working together
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

@BhakktiGautam is attempting to deploy a commit to the jiya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploy Preview for codevibeforyou canceled.

Name Link
🔨 Latest commit 915f6c7
🔍 Latest deploy log https://app.netlify.com/projects/codevibeforyou/deploys/6a37b4d98066ca0008ff8066

@BhakktiGautam

Copy link
Copy Markdown
Contributor Author

@JiyaBatra PR ready for #1239! 🚀 Please review! 🙏

@JiyaBatra

Copy link
Copy Markdown
Owner

@BhakktiGautam ALL netlify checks are fail

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.

Enhancement: Add Auto-Save and Restore Functionality to Compiler

2 participants