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

Deleting file -> unable to pull from skeleton file #815

Closed yc2lee closed 6 years ago

yc2lee commented 7 years ago

On the new Seashell if you delete a file it boots you back to the project list with an error message

kpalway commented 7 years ago

As of yesterday's fixes, it actually does pull the skeleton file after it is deleted. However, it still has the behaviour that it kicks you back to the home screen when this happens. This is because it sees a change from the server, and assumes that someone is editing the file in another tab/browser. I will try to think of a reasonable workaround.

e45lee commented 7 years ago

The reducer will need to do something more intelligent. One thing you could do is have the code that applies the server change compute the changes for each project, and pass that along to the reducer, so it can update the UI properly.

e45lee commented 7 years ago

See #794.