cs136 / seashell

Seashell is an online environment for editing, running, and submitting C programming assignments.
GNU General Public License v3.0
38 stars 19 forks source link

Backend storage -- metadata for read-only. #646

Closed cs136 closed 7 years ago

cs136 commented 7 years ago

Submitter: Matthew Black Email: mjablack@uwaterloo.ca Issue with user typing in SeaShell. Bug present since beginning of January. At certain points the editor will lock up, and I am unable to type. Refreshing or Resetting SeaShell does not fix the problem.

Below is a video of the issue in action.

As you can see, I was unable to type, refreshing did not fix the problem. I also tried resetting.

https://www.youtube.com/watch?v=Fa5dOrhPMmM

kpalway commented 7 years ago

I notice the file you're editing has the // SEASHELL_READONLY comment, which should make it a read only file in seashell

matthewjablack commented 7 years ago

Thank you for the quick response. Makes perfect sense for that file.

I have also been having the same issue with other files as well. These files seem to work fine after a refresh, but I need to refresh several times while writing the code.

e45lee commented 7 years ago

We should probably not store meta-data in the file itself as that leads to issues with people copy-pasting code. We'll address this when we get around to the backend storage cleanup -- #665.