-
Notifications
You must be signed in to change notification settings - Fork 9
Ability to delete file in the sidebar #796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Branch issues/796-Delete_file_in_files_tab_dropdown created! |
Branch feature/796-Ability_to_delete_file_in_the_sidebar created! |
Allow the deletion of files within the Code EditorCCP = Code Club Projects General considerations
When is delete 'easy'?Your own projects created via code editor website (not created via remix):
Teacher editing project - CEFE
On a project that is remixed from CCP via the "View starter project" link
When is it tricky?Integrated project on CCPWhen you open a integrated project, it always links to the same project if already remixed. So if you have messed up that project, you cannot reset it. Currently how this works is that the CCP provides a project ID (starter project) to the Editor Web Component which then automatically fetches the remixed version of that starter project - which will be the users version. This means that currently once the user has created 1 version of the starter project they are not able to create an additional remix, their first remix will always be loaded. Suggested solution:
Why this solution?
CEFE - Student editing a projectIf a student messes up a project, they cannot reset it or start a new version. Here I think we are less concerned about a student being able to create multiple versions of a project. Suggested solutions:
This allows students to start a project over if something goes wrong, it also allows teachers to help with this. Although assuming we allow the Editor Web component to fetch multiple remixes (from the CCP solution) this could be implemented on CEFE in time if we felt the need. Discounted solutionLocking filesA potential solution that has been discussed is "locking files" preventing them from being deleted. I have discounted this for a few reasons:
Work requiredIf we go with my proposed solutions above here is a rough outline of the work required Design:
Engineering:VERY ROUGH - More engineering input required, this is just what I've gathered from initial conversations
Next steps
|
Thoughts
|
User story ✍️
As a general Code Editor user
I want to be able to delete an individual file
So that I can tidy up my project
As an Owner/Teacher or student in a CEfE account
I want to be able to delete an individual file that I created
So that I can tidy up my project
Designs 🎨
Notes 🗒️
Questions 🤔
ACs ✅
On Code Editor (https://editor.raspberrypi.org/en/)
Within a Code Editor for Education account (https://editor.raspberrypi.org/en/school)
Measuring impact 📈
The text was updated successfully, but these errors were encountered: