As a user I want to be able to delete files I created in the editor.
User stories - Post MVP
As a user I want to be able to delete any file in the editor.
As a Learning team member I want to be able to specify what files are part of the starter project to prevent them being deleted by users, AND/OR as a user I want to be able to reset all/part of my starter project to get back files I may have deleted.
Concerns
Are we able to prevent users from deleting files included with a starter project? Aka, they can only delete files they have created? If not we may want to hold off on this until we have a way to reset a project or prevent deleting a particular file (or limit to files the user has created).
Thoughts
Even though the MVP user story solves preventing the user deleting a starter file, in the future we may want to allow them to delete a starter file, so more fine grain control would be nice.
The file/project reset would also be nice if the user hasnt deleted the file but has deleted all the code.
This may be linked to another issue about resetting projects/having multiple versions of a project (in the projects site integration) as we know users like to do the same project multiple times.
User stories - MVP
User stories - Post MVP
As a user I want to be able to delete any file in the editor.
As a Learning team member I want to be able to specify what files are part of the starter project to prevent them being deleted by users, AND/OR as a user I want to be able to reset all/part of my starter project to get back files I may have deleted.
Concerns
Thoughts
Design
https://www.figma.com/file/SrINjD1MCT6VWYf1Yc9fV1/Code-Editor---Designs?type=design&node-id=4588-45811&mode=design&t=rDtaFR30W7B3eVLx-4
I have not designed a way for the user to 'reset' the starter files, as I have just designed to the MVP.
Related issues