├── Packaged
└── trashbin.tid
├── README.md
├── archive
├── $__plugins_kookma_trashbin_sidebar-tab.tid
├── README.md
├── index.html
└── trashbin-1.0.0.tid
├── docs
└── index.html
└── source
└── trashbin
├── extra
└── system
│ ├── config
│ └── EditToolbarButtons
│ │ └── Visibility
│ │ └── system
│ │ └── core
│ │ └── ui
│ │ └── Buttons
│ │ └── delete.tid
│ └── language
│ └── Buttons
│ └── Trashbin
│ ├── Caption
│ ├── Move.tid
│ └── Recycle.tid
│ └── Hint
│ ├── Move.tid
│ └── Recycle.tid
├── history.tid
├── icon.svg
├── icon.svg.meta
├── images
├── recycle.tid
├── sort-alpha-down.tid
├── sort-alpha-up.tid
├── sort-numeric-down.tid
├── sort-numeric-up.tid
├── times.svg.tid
└── trash-alt.tid
├── license.tid
├── macros
├── bulk-operation.tid
├── confirm-empty.tid
├── move-to-trashbin.tid
├── preview-option.tid
├── restore.tid
└── sort.tid
├── plugin.info
├── readme.tid
├── restore-notification.tid
├── sidebar-tab.tid
├── styles
├── main.css.tid
├── show-trashed.tid
├── toolbar-buttons.css
├── toolbar-buttons.css.meta
├── trashed-item.css
└── trashed-item.css.meta
├── templates
├── body.tid
├── subtitle.tid
├── tags.tid
└── title.tid
├── ui
├── sidebar.tid
└── toolbar-button.tid
└── viewtemplate
└── trash-item.tid
/Packaged/trashbin.tid:
--------------------------------------------------------------------------------
1 | author: Mohammad Rahmani
2 | core-version: >= 5.1.22
3 | dependents:
4 | description: A trashbin mechanism for Tiddlywiki
5 | list: readme license history
6 | name: Trashbin
7 | packaged-by: Gatha on 16th February 2025, 23:41:16
8 | plugin-type: plugin
9 | source: https://github.com/kookma/TW-Trashbin
10 | stability: STABILITY_2_STABLE
11 | title: $:/plugins/kookma/trashbin
12 | type: application/json
13 | version: 1.3.5
14 |
15 | {"tiddlers":{"$:/plugins/kookma/trashbin/history":{"title":"$:/plugins/kookma/trashbin/history","type":"text/vnd.tiddlywiki","text":"Full change log https://kookma.github.io/TW-Trashbin/#ChangeLog\n\n* ''1.3.5'' -- 2024.05.17 -- update to TW 5.3.6 and some bug fixes\n* ''1.3.3'' -- 2024.05.17 -- update to TW 5.3.3 and some bug fixes\n* ''1.2.4'' -- 2022.12.02 -- update to TW 5.2.3 and minor bug fixes\n* ''1.2.3'' -- 2022.01.11 -- update to TW 5.2.1\n* ''1.2.2'' -- 2020.04.10 -- bug fix in remove draft tiddlers to trashbin\n* ''1.2.1'' -- 2020.03.30 -- bug fix and doc improvement and UI fade correction\n* ''1.1.2'' -- 2020.03.28 -- stable release with new features and bug fixes\n* ''0.1.0'' -- 2019.02.12 -- mature public release\n"},"$:/plugins/kookma/trashbin/icon":{"title":"$:/plugins/kookma/trashbin/icon","text":"","type":"image/svg+xml","tags":""},"$:/plugins/kookma/trashbin/images/recycle":{"title":"$:/plugins/kookma/trashbin/images/recycle","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/sort-alpha-down":{"title":"$:/plugins/kookma/trashbin/images/sort-alpha-down","caption":"sort-alpha-down","tags":"$:/tags/Image","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/sort-alpha-up":{"title":"$:/plugins/kookma/trashbin/images/sort-alpha-up","caption":"sort-alpha-up (Solid)","tags":"$:/tags/Image","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/sort-numeric-down":{"title":"$:/plugins/kookma/trashbin/images/sort-numeric-down","caption":"sort-numeric-down","tags":"$:/tags/Image","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/sort-numeric-up":{"title":"$:/plugins/kookma/trashbin/images/sort-numeric-up","caption":"sort-numeric-up (Solid)","tags":"$:/tags/Image","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/times.svg":{"title":"$:/plugins/kookma/trashbin/images/times.svg","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/trash-alt":{"title":"$:/plugins/kookma/trashbin/images/trash-alt","caption":"trash-alt","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/license":{"title":"$:/plugins/kookma/trashbin/license","type":"text/vnd.tiddlywiki","text":"Distributed under an MIT license.\n\nCopyright (c) 2019-2023 [[Mohammad Rahmani|https://github.com/kookma]]\n\n<<<\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n<<<"},"$:/plugins/kookma/trashbin/macros/bulk-operation":{"title":"$:/plugins/kookma/trashbin/macros/bulk-operation","type":"text/vnd.tiddlywiki","text":"\\define delete-trashed-tiddlers()\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\" variable=\"Item\">\n<$action-deletetiddler $tiddler=<> />\n$list>\n\\end\n\n\\define trashbin-empty-bin()\n<$macrocall $name=\"trashbin-confirm-delete\"\nbtnLabel=\"Empty Trashbin\"\ncountFilter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\"\nactionMacro=<>\nstateTiddler=\"$:/state/trashbin/emptyTrashBin\"\n/>\n\\end\n\n\\define restore-all()\n<$button tooltip=\"Restore all\" class=\"tc-btn-invisible tc-tiddlylink\"> {{$:/plugins/kookma/trashbin/images/recycle}}\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]sort[]]\" variable=\"Item\">\n<$macrocall $name=\"restore\" tiddler=<> />\n$list>\n$button>\n\\end"},"$:/plugins/kookma/trashbin/macros/confirm-empty":{"title":"$:/plugins/kookma/trashbin/macros/confirm-empty","type":"text/vnd.tiddlywiki","text":"\\define trashbin-confirm-delete(\nbtnLabel:\"Delete these tiddlers\", \nconfirmMessage:\"Are you sure you wish to delete\", \nstateTiddler:\"\", \ncountFilter:\"\", \nactionMacro:\"\")\n\n<$button class=\"tc-btn-invisible tc-tiddlylink\" tooltip=\"Empty Trashbin\" popup=<> > {{$:/core/images/delete-button}}\n$button>\n\n<$reveal state=<> type=\"popup\" position=\"belowleft\" animate=\"yes\">\n
\n\t\n\t<> <> <> <>\n\t \n\t\n\t<$list filter='[tag[$:/tags/trashbin]prefix[$:/trashbin/]limit[1]]' variable=null emptyMessage=\"Trash bin is empty\">\n\t<$count filter='[tag[$:/tags/trashbin]]'/> items in Trashbin\n\t$list>\n\t\n
43 |
--------------------------------------------------------------------------------
/archive/README.md:
--------------------------------------------------------------------------------
1 | # TW-Trashbin
2 | Trash bin tools in Tiddlywiki. Delete tiddlers and restore them easily
3 |
4 |
5 | ## Mechanism
6 | Trash plugin has two parts
7 |
8 | * Move to trash bin
9 | * Restore from trash bin
10 |
11 | ### By moving a tiddler to trash bin it means
12 |
13 | * A new data tiddler created
14 | * The title of data tiddler is the title of objective tiddler prefixed with `$:/trashbin/`
15 | * All the fileds of objective tiddler is moved into a new data tiddler
16 | * The objective tiddler is deleted
17 |
18 |
19 | ### By restoring a tiddler from trash bin, it means
20 | * A new tiddler is created
21 | * Its title is taken from the title index in data tiddler
22 | * All other index/value are copied to newly created tiddler fields respectively. This means every index creates a field
23 | * The data tiddler is deleted
24 |
--------------------------------------------------------------------------------
/archive/trashbin-1.0.0.tid:
--------------------------------------------------------------------------------
1 | author: Mohammad Rahmani
2 | core-version: >= 5.1.18
3 | created: 20190710023556241
4 | description: Trashbin
5 | list: readme history customization license
6 | modified: 20190724035859201
7 | plugin-type: plugin
8 | source: https://github.com/kookma/TW-Trashbin
9 | tags:
10 | title: $:/plugins/kookma/trashbin
11 | type: application/json
12 | version: 1.0.0
13 |
14 | {"tiddlers":{"$:/plugins/kookma/trashbin/images/trash-alt":{"title":"$:/plugins/kookma/trashbin/images/trash-alt","caption":"trash-alt (Regular)","created":"20190710102513532","modified":"20190711081546482","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/times.svg":{"title":"$:/plugins/kookma/trashbin/images/times.svg","created":"20190716033811299","modified":"20190723042051695","tags":"","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/images/recycle":{"title":"$:/plugins/kookma/trashbin/images/recycle","created":"20190723043410550","modified":"20190723050442840","tags":"","type":"text/vnd.tiddlywiki","text":""},"$:/plugins/kookma/trashbin/macros/move-to-trashbin":{"title":"$:/plugins/kookma/trashbin/macros/move-to-trashbin","created":"20190710071039480","modified":"20190723061249101","tags":"$:/tags/Macro","type":"text/vnd.tiddlywiki","text":"\\define trashTidName() <>\n\n\\define move-to-trashbin(tiddler)\n<$vars trashTiddler={{{ [<__tiddler__>addprefix[$:/trashbin/]] }}}>\n<$wikify name=\"trashTid\" text=<> >\n<$list filter=\"[<__tiddler__>fields[]]\" variable=\"fieldName\">\n<$action-setfield \n $tiddler=<>\n $index=<>\n $value={{{[<__tiddler__>get] }}}\n/>\n$list>\n<$action-setfield $tiddler=<> tags=\"$:/tags/trashbin\"/>\n$wikify>\n<$action-sendmessage $message=\"tm-close-tiddler\" $param=<<__tiddler__>> />\n<$action-deletetiddler $tiddler=<<__tiddler__>> />\n$vars>\n\\end\n"},"$:/plugins/kookma/trashbin/macros/restore":{"title":"$:/plugins/kookma/trashbin/macros/restore","created":"20190710105439064","modified":"20190723141729655","tags":"$:/tags/Macro","type":"text/vnd.tiddlywiki","text":"\\define restoreTid(tiddler)\n<$list filter=\"[<__tiddler__>indexes[]] -title\" variable=\"fieldName\">\n <$action-setfield \n $tiddler=<> \n\t $field=<> \n\t $value={{{ [<__tiddler__>getindex] }}} \n />\n$list>\n<$action-sendmessage $message=\"tm-close-tiddler\" $param=<<__tiddler__>> />\n<$action-deletetiddler $tiddler=<<__tiddler__>> />\n\\end\n\n\n\\define restore(tiddler)\n<$vars \n restoredTid={{{ [<__tiddler__>getindex[title]] }}} \n isExisted= {{{ [<__tiddler__>getindex[title]has[title]] }}} \n >\n<$reveal type=\"nomatch\" text=<> default=<> >\n<$macrocall $name=\"restoreTid\" tiddler=<<__tiddler__>> />\n$reveal>\n\n<$reveal type=\"match\" text=<> default=<> >\n <$action-sendmessage $message=\"tm-notify\" \n $param=\"$:/plugins/kookma/trashbin/restore-notification\" \n\t restoredTiddler=<>\n\t/>\n$reveal>\n\n$vars>\n\\end"},"$:/plugins/kookma/trashbin/macros/bulk-operation":{"title":"$:/plugins/kookma/trashbin/macros/bulk-operation","created":"20190723115934925","modified":"20190724052253496","tags":"$:/tags/Macro","type":"text/vnd.tiddlywiki","text":"\\define delete-trashed-tiddlers()\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\" variable=\"Item\">\n<$action-deletetiddler $tiddler=<> />\n$list>\n\\end\n\n\\define trashbin-empty-bin()\n<$macrocall $name=\"trashbin-confirm-delete\"\nbtnLabel=\"Empty Trashbin\"\ncountFilter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\"\nactionMacro=<>\nstateTiddler=\"$:/state/trashbin/emptyTrashBin\"\n/>\n\\end\n\n\\define restore-all()\n<$button tooltip=\"Restore all\" class=\"tc-btn-invisible tc-tiddlylink\"> {{$:/plugins/kookma/trashbin/images/recycle}}\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]sort[]]\" variable=\"Item\">\n<$macrocall $name=\"restore\" tiddler=<> />\n$list>\n$button>\n\\end"},"$:/plugins/kookma/trashbin/macros/confirm-empty":{"title":"$:/plugins/kookma/trashbin/macros/confirm-empty","created":"20190723114948285","creator":"Mohammad","modified":"20190724052214146","modifier":"Mohammad","tags":"$:/tags/Macro","type":"text/vnd.tiddlywiki","text":"\\define trashbin-confirm-delete(\nbtnLabel:\"Delete these tiddlers\", \nconfirmMessage:\"Are you sure you wish to delete\", \nstateTiddler:\"\", \ncountFilter:\"\", \nactionMacro:\"\")\n\n<$button class=\"tc-btn-invisible tc-tiddlylink\" tooltip=\"Empty Trashbin\" popup=<> > {{$:/core/images/delete-button}}\n$button>\n\n<$reveal state=<> type=\"popup\" position=\"belowleft\" animate=\"yes\">\n
\n$reveal>\n\\end"},"$:/plugins/kookma/trashbin/styles/main.css":{"title":"$:/plugins/kookma/trashbin/styles/main.css","created":"20190716040116074","modified":"20190723142907866","tags":"$:/tags/Stylesheet","type":"text/css","text":"/* trashbin main ui */\n.kk-trashbin-ui{\n\tmin-width:320px; /* controls the minimum width of whole ui */\n}\n\n.kk-trahbin-ui svg{\n fill:#aaaaaa;\n}\n\n.kk-trahbin-ui button:hover svg {\n fill: #000000; \n}\n\n.kk-trahbin-ui .kk-trahbin-ui-controls svg{\n width:1.2em;\n height:1.2em;\t\n}\n\n/* trashbin items ui */\n.kk-trashbin-row{\n\tdisplay: flex;\t\n\twidth: 95%;\n\tflex-wrap: wrap;\n}\n\n.kk-trashbin-row .kk-trashbin-delete,\n.kk-trashbin-row .kk-trashbin-restore {\n\tflex-grow:0; width:20px;\n\tmargin-left:5px;\n}\n\n.kk-trashbin-row .kk-trashbin-link{\n\tflex-grow:1; \n\twidth: calc(100% - 50px); \n\tpadding-right: 10px;\n}\n\n.kk-trashbin-row:hover {\n\tbackground-color: #f6f6f6;\n}\n\n/* set border for trashed tiddlers */\n[data-tags ~=\"$:/tags/trashbin\"] { border: 1px solid crimson; }"},"$:/plugins/kookma/trashbin/history":{"title":"$:/plugins/kookma/trashbin/history","created":"20190710025344738","modified":"20190724040554123","tags":"","type":"text/vnd.tiddlywiki","text":"* ''1.0.0'' -- final release\n<<<\n# [NEW] restore all button has been added\n# [NEW] delete button has been added for each tiddler in trashbin\n# [NEW] the tag for tiddlers moved to trashbin is `$:/tags/trashbin`\n# [NEW] tiddlers in trashbin have a pink boredr\n# [NEW] delete and restore all buttons have icons\n# [NEW] restoring tiddlers with repeated titles (have the same title) is based on their real title not incremented ones in trashbin\n# [FIXED] the colors of move to trash bin and restore have been set consistent with tiddler controls\n# [FIXED] documentation improved\n<<<\n\n* ''0.6.0'' -- release candidate\n<<<\n# [FIXED] the position of button on toolbar fixed using the list-after field\n# [FIXED] documentation improved\n<<<\n\n* ''0.5.0 beta'' -- optimized release\n<<<\n# [NEW] restore button in fronts of each trashed tiddler in Trash Bin sidebar tab\n# [NEW] prevent overwriting existing tiddlers when restoring from trash bin\n# [NEW] move to trash bin check for duplicate tiddlers in trash bin and prevent overwriting by making it unique with a numeric suffix \n<<<\n\n* ''0.1.0 beta'' -- initial release.\n<<<\n# Basics\n# Simple delete and restore\n<<<"},"$:/plugins/kookma/trashbin/license":{"title":"$:/plugins/kookma/trashbin/license","created":"20190710025344739","modified":"20190711081546473","tags":"","type":"text/vnd.tiddlywiki","text":"Distributed under an MIT license.\n\nCopyright (c) 2018-2019 [[Mohammad Rahmani|https://github.com/kookma]]\n\n<<<\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n<<<\n"},"$:/plugins/kookma/trashbin/readme":{"title":"$:/plugins/kookma/trashbin/readme","created":"20190710025344739","creator":"Mohammad","modified":"20190724045749200","modifier":"Mohammad","tags":"","type":"text/vnd.tiddlywiki","text":"The concept behind trash plugin is to have a simple mechanism to move tiddlers to Trashbin and be able to restore them later if required.\n\n!! Terminology\n<<<\n; Trashbin\n: i. a collection of data tiddlers holds the deleted tiddlers\n: ii. the name of plugin and the mechanism to delete tiddlers temporarily and restore them or delete them permanently later\n\n; Delete tiddler\n: the action to //move a tiddler to Trashbin//. This action removes tiddler from wiki, but it does not eliminate it permanently.\n\n; Deleted tiddler\n: a tiddler is removed from wiki and stored in Trashbin. This tiddler can be restored.\n\n; Delete permanently\n:the action to eliminate and destroy a tiddler such that it cannot be restored anymore. This action is performed on deleted tiddlers in Trashbin.\n<<<\n\n!! How to\n<<<\n* Every tiddler has a new button as <> and is called ''Move to Trashbin''\n\n* On clicking on ''Move to Trashbin'' the tiddler is deleted from wiki and moved to Trashbin (//it is not removed permanently//)\n\n* A sidebar tab called ''Trashbin'' shows what is existed in the Trashbin\n\n* In sidebar tab ''Trashbin'' there is //header// and a //list// of deleted tiddlers\n** Deleted tiddlers in Trashbin list are displayed in alphanumerical order.\n** Each tiddler in Trashbin list has a ''delete permanently'' button <> and a ''restore'' button <> individually and let you to remove or restore a single tiddler.\n** In the header, the <> lets you to remove all tiddlers from Trashbin and ''delete them permanently''.\n** In the header, the <> lets you to ''restore all'' tiddlers from Trashbin.\n\n* On clicking on every tiddler in Trashbin list it is opened in story river.\n\n* Every deleted tiddler opened in story river has colored borders, a restore button as <> which is called ''Restore''\n\n* On clicking on ''restore'' button <> the tiddler is restored.\n\n* It is possible to edit the deleted tiddler, for example change `title` or other fields (indexes) and restore a modified tiddler different from the original deleted one.\n<<<\n\n!! Impotent note\n<<<\nIf a tiddler is existed in Trashbin and another with the same title in TW:\n\n* when moving it to trash, a unique title is created by adding //numeric suffix//, so they never overwrite other tiddlers.\n\n* when restoring from Trashbin, a notification is appeared and notifies user and does not restore such tiddler. User needs to decide and rename the existing tiddler or modify the deleted tiddler title index in Trashbin before restoring.\n\n* Note that Trashbon title for deleting tiddlers (actually data tiddlers) does not change the real title of tiddlers which is stored in an index called `title`.\n<<<\n\n!! Install\n<<<\nSimply drag and drop $:/plugins/kookma/trashbin into your wiki, or download from [[source page|https://github.com/kookma/TW-Trashbin]]\n<<<\n\n!! Mechanism\n<<<\nTrash plugin has two parts\n\n* Move to Trashbin\n* Restore from Trashbin\n\n; By moving a tiddler to Trashbin it means\n\n# A new data tiddler created\n# The title of data tiddler is the title of objective tiddler prefixed with `$:/trashbin/`\n# All the fields of objective tiddler is moved into a new data tiddler\n# The objective tiddler is deleted\n\n\n; By restoring a tiddler from Trashbin, it means\n# A new tiddler is created\n# Its title is taken from the `title` index in data tiddler\n# All other index/value are copied to newly created tiddler fields respectively. This means every index creates a field\n# The data tiddler is deleted\n\n;Duplicates\n# Deleted tiddlers will get numeric suffix if another tiddler with same title is existed in Trashbin.\n# Tiddlers existed in wiki will never overwritten if a tiddler with the same title is tried to be restored. A notification will notify user and operation will be cancelled.\n# Note that, the real title of deleted tiddler is what stored in `title` index of data tiddler NOT the title of data tiddler itself which stores the deleted tiddler in Trashbin.\n<<<\n\n!! Project code and demo\n<<<\n* [[GitHub demo page|https://github.com/kookma/TW-Trashbin]]\n* [[GitHub code page|https://github.com/kookma/TW-Trashbin]]\n<<<"},"$:/plugins/kookma/trashbin/restore-notification":{"title":"$:/plugins/kookma/trashbin/restore-notification","created":"20190711130503628","modified":"20190723112206209","tags":"","type":"text/vnd.tiddlywiki","text":"{{$:/plugins/kookma/trashbin/images/recycle}} \n\n''Warning'' \nThe target tiddler <$text text=<>/> already exists. \nIt cannot be overwritten!"},"$:/plugins/kookma/trashbin/sidebar-tab":{"title":"$:/plugins/kookma/trashbin/sidebar-tab","caption":"Trashbin","created":"20190613131234955","modified":"20190724052350143","tags":"$:/tags/SideBar","type":"text/vnd.tiddlywiki","text":"\\define show-link()\n<$link to=<> ><$text text={{{ [removeprefix[$:/trashbin/]] }}} /> $link>\n\\end\n\n\\define recycle-button()\n{{||$:/plugins/kookma/trashbin/viewtoolbar-button}}\n\\end\n\n\\define delete-button()\n<$button class=\"tc-btn-invisible\" tooltip=\"Delete permanently\">\n{{$:/plugins/kookma/trashbin/images/times.svg}}\n<$action-deletetiddler $tiddler=<> />\n$button>\n\\end\n\n
\n\n\n<> <>\n\n\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]sortan[]]\" emptyMessage=\"Trash bin is empty\">\n
\n\t
<>
\n\t
<>
\n\t
<>
\n
\n$list>\n\n
"},"$:/plugins/kookma/trashbin/viewtoolbar-button":{"title":"$:/plugins/kookma/trashbin/viewtoolbar-button","caption":"Trashbin","created":"20190623140751496","creator":"Mohammad","description":"move to trashbin / restore from trashbin","list-after":"$:/core/ui/Buttons/close-others","modified":"20190723061334812","modifier":"Mohammad","tags":"$:/tags/ViewToolbar","type":"text/vnd.tiddlywiki","text":"\\whitespace trim\n<$list filter=\"[all[current]!tag[$:/tags/trashbin]!search:title[$:/trashbin/]]\">\n<$button aria-label=\"to be added\" \n class=<>\n tooltip=\"Move to Trashbin\" >\n <$macrocall \n $name=\"move-to-trashbin\" \n\t tiddler=<>\n />\n\t\n<$list filter=\"[prefix[yes]]\">\n{{$:/plugins/kookma/trashbin/images/trash-alt}}\n$list>\n<$list filter=\"[prefix[yes]]\">\n\n<$text text={{$:/plugins/kookma/trashbin/viewtoolbar-button!!caption}}/>\n\n$list>\n\n\t\n$button>\n$list>\n<$list filter=\"[all[current]tag[$:/tags/trashbin]search:title[$:/trashbin/]]\">\n<$button aria-label=\"to be added\" \n class=<>\n tooltip=\"Restore\" >\n {{$:/plugins/kookma/trashbin/images/recycle}}\n <$macrocall \n $name=\"restore\" \n\t tiddler=<>\n />\n$button>\n$list>"},"$:/plugins/kookma/trashbin/customization":{"title":"$:/plugins/kookma/trashbin/customization","created":"20190723134934716","modified":"20190723135307162","tags":"","type":"text/vnd.tiddlywiki","text":"; Colorify button on tiddler toolbar\n: Create a tiddler and tag it with `$:/tags/Stylesheet` with below contents\n