DescriptionCode for /+trash view.
I am breaking the code into two parts:-
1) If an item is without names (AND not intentionally created/kept so, e.g. for threaded comment system, that uses nameless items), we set the TRASH flag to indicate that it is not needed any more.
2) Manual entry into trash view:- If we decide that we don't need an item any more, we even could set the TRASH flag without having all names removed first.
This is the code for the first part.
Patch Set 1 #
Total comments: 9
Patch Set 2 : Changed layout for garbage view and fixed previous mistakes. #
Total comments: 11
Patch Set 3 : New code for trashed view. #
Total comments: 6
Patch Set 4 : Removed previous mistakes. #
Total comments: 2
Patch Set 5 : Updated trash test. #
Total comments: 2
Patch Set 6 : Added a unit test. #
Total comments: 4
Patch Set 7 : Modified as per comments. #
MessagesTotal messages: 13
|