uclaacm / TeachLAFrontend

🌱 The frontend for Teach LA's online IDE, designed to teach kids how to code!
https://editor.uclaacm.com
MIT License
21 stars 40 forks source link

Update sketch deletion to avoid setMostRecentProgram #1053

Closed TomBinford closed 1 year ago

TomBinford commented 1 year ago

With the changes for #746, setMostRecentProgram will update the URL to /editor/:newMostRecentProgram but this is undesirable from the sketches page. Remove the mostRecentProgram accounting from the sketch deletion modal and do that work in the /editor path of the router. This is also more resilient to other ways that mostRecentProgram could get corrupted, besides sketch deletion.

netlify[bot] commented 1 year ago

Deploy request for sleepy-franklin-7a3e4c rejected.

Name Link
Latest commit 5c312e3c0f5f986aacecc2ed285adfa495c1801c