PythonBuddy icon indicating copy to clipboard operation
PythonBuddy copied to clipboard

Add History of Code Submissions

Open ethanchewy opened this issue 6 years ago • 4 comments

As a user, I want to be able to view my previous code submissions.

Since PythonBuddy is only for 1 user for this repo (for PythonBuddySandboxed aka the demo server, it's different), we can achieve this by either

  1. creating a database and storing each of the submissions. OR
  2. using window.localstorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage

ethanchewy avatar Oct 04 '19 22:10 ethanchewy

I really like this idea, although perhaps this could be a separate application within the repository as you might want to have restricted sandbox for user submitted code and an application that handles all history/login/customization.

Let me know what you think this is a thought, don't want to overstep bounds. Awesome project!

dgmouris avatar Oct 07 '19 16:10 dgmouris

Yup, we would probably build it in: https://github.com/ethanchewy/PythonBuddySandboxed

Feel free to work on it if you want to!

ethanchewy avatar Oct 07 '19 18:10 ethanchewy

Actually, for this repo, assuming that we aren't handling any logins, we can still set up a way for the user to easily check his/her/their code submission history.

ethanchewy avatar Oct 08 '19 21:10 ethanchewy

Edited issue description to reflect this

ethanchewy avatar Oct 08 '19 21:10 ethanchewy