ethanchewy / PythonBuddy

1st Online Python Editor With Live Syntax Checking and Execution
https://pythonbuddy.com
BSD 3-Clause "New" or "Revised" License
277 stars 84 forks source link

Add History of Code Submissions #48

Open ethanchewy opened 5 years ago

ethanchewy commented 5 years ago

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

dgmouris commented 5 years ago

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!

ethanchewy commented 5 years ago

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

Feel free to work on it if you want to!

ethanchewy commented 5 years ago

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 commented 5 years ago

Edited issue description to reflect this