Slightly modified trash system. In the current version of nb, every directory has its own trash. If you click on a directory that has been trashed, you don't access that directory as one would expect; instead, you access its trash. I have preserved the localized trash system for now, but I made it so that entering a trashed folder enters the folder itself, not the folder's trash. I would be happy to further work on the trash system if you think a different system (perhaps a global trash) would be better.
Notes:
In the current version of nb, one accesses a directory by clicking the bubble that holds the directory. Now, one accesses it by clicking the folder icon, as shown below. This enables the user to choose between accessing and editing a directory.
I will now show screenshots of each feature.
1) Renaming and Deleting Folders:
Renaming folders is done via clicking the edit button next to the directory name.
This will open a window that asks what the desired edit is.
One can click cancel to go back...
Enter a new name and click save to rename the folder (Note that our folder moves to the end because they are sorted in order of their last modification)...
Or click delete to move it to trash.
2) Restoring folders from trash
Clicking the restore icon results in a deleted folder being restored from the trash.
3) Edits with browsing trash
To demonstrate, I have re-deleted the templates folder, and we can access this folder as expected despite it being in the trash.
As you can see, this is still a local trash system; I have attached an image of the directory Math Textbooks, which has its own trash.
Added the following features:
Notes:
I will now show screenshots of each feature.
1) Renaming and Deleting Folders: Renaming folders is done via clicking the edit button next to the directory name.
This will open a window that asks what the desired edit is.
One can click cancel to go back...
Enter a new name and click save to rename the folder (Note that our folder moves to the end because they are sorted in order of their last modification)...
Or click delete to move it to trash.
2) Restoring folders from trash Clicking the restore icon results in a deleted folder being restored from the trash.
3) Edits with browsing trash To demonstrate, I have re-deleted the templates folder, and we can access this folder as expected despite it being in the trash.
As you can see, this is still a local trash system; I have attached an image of the directory Math Textbooks, which has its own trash.