This is great to integrate different plugins.

Some comments

If you move to trash a tiddler say test, it will be seen as test inside
trash bin

Next you can create another test tiddler
If again move this to trash, you see it as test 1

If you restore any of these, you will have  a test tiddler not test 1

So, if the second test tiddler has some revisions, and you restore the
first test tiddler what will happen to revisions?

It seems on moving to trash you need also move all revisions.
On restore you need the restore all revisions

Mohammad

On Thu, Sep 19, 2019, 5:35 PM HC Haase <[email protected]> wrote:

> A small mod of Kookma's trashbin plugin so it will be compatible with JD's
> Plain Revisions plugin.
>
> *Demo and Download:* https://hchaase.github.io/TW-Trashbin-mod/
>
> The problem
>
> If you use JD's very nice Plain Revisions
> <http://j.d.revisions.tiddlyspot.com/> plugin and also want to use
> Kookma's very nice Trashbin <https://kookma.github.io/TW-Trashbin/>
> plugin you have a problem! when a tiddler go in the trash bin, the
> revisions are not touched, and if you later delete the tiddler from trash,
> you will have revisions of non-existing tiddlers filling up the wiki and a
> hard time locating these revisions.
>
>
> The solution
>
> The solution is my Trashbin-mod. With this mod, the revision tiddlers will
> be deleted whenever the corresponding tiddlers is deleted permanently from
> the trash bin.
>
> The revisions are not changed nor deleted as long as the corresponding
> tiddler is in the trash bin. Therefore, if you restore a tiddler from the
> trash bin, the revisions will still be there.
>
>
> Features
>
>    1. When a tiddler is *permanently* deleted from the trash
>    (individually or in bulk), the corresponding revisions of these tiddlers
>    are also deleted.
>    2. In the trashbin sidebar I added a count items in trash that will
>    appear when the trashbin is not empty.
>
>
> (@Kookma and @JD)
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/cdb52435-fc6f-4257-9d62-2480887edee3%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/cdb52435-fc6f-4257-9d62-2480887edee3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBpBp8NoZ7KPzQa8NUE5fqwVAqdzGY-dimP0pDCV4dOkw%40mail.gmail.com.

Reply via email to