Astroport.ONE/templates/tw/$ _plugins_stobot_sticky.json

1 line
23 KiB
JSON
Raw Normal View History

2022-11-02 13:31:39 +01:00
[{"text":"{\n \"tiddlers\": {\n \"$:/config/ShortcutInfo/sticky\": {\n \"text\": \"Apply an inline sticky macro\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/config/ShortcutInfo/sticky\",\n \"tags\": \"\",\n \"revision\": \"3\",\n \"modified\": \"20210904210004417\",\n \"created\": \"20210904153546027\",\n \"bag\": \"default\"\n },\n \"$:/plugins/stobot/sticky/EditorToolbarButton\": {\n \"created\": \"20210710170117616\",\n \"text\": \"<$action-sendmessage\\n $message=\\\"tm-edit-text-operation\\\"\\n $param=\\\"wrap-selection\\\"\\n prefix='<<sticky \\\"'\\n suffix='\\\">>'\\n/>\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/plugins/stobot/sticky/EditorToolbarButton\",\n \"tags\": \"$:/tags/EditorToolbar\",\n \"shortcuts\": \"((sticky))\",\n \"revision\": \"2\",\n \"modified\": \"20210905215657023\",\n \"icon\": \"$:/plugins/stobot/sticky/icon\",\n \"description\": \"Turns text into a sticky todo\",\n \"condition\": \"[<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]\",\n \"caption\": \"Sticky\",\n \"bag\": \"default\"\n },\n \"$:/plugins/stobot/sticky/icon\": {\n \"text\": \"<svg width=\\\"22pt\\\" height=\\\"22pt\\\" class=\\\"tc-image-oct-tasklist-16 tc-image-button\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M2.5 2.75a.25.25 0 01.25-.25h10.5a.25.25 0 01.25.25v10.5a.25.25 0 01-.25.25H2.75a.25.25 0 01-.25-.25V2.75zM2.75 1A1.75 1.75 0 001 2.75v10.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0015 13.25V2.75A1.75 1.75 0 0013.25 1H2.75zm9.03 5.28a.75.75 0 00-1.06-1.06L6.75 9.19 5.28 7.72a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l4.5-4.5z\\\"/></svg>\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/plugins/stobot/sticky/icon\",\n \"tags\": \"\",\n \"revision\": \"3\",\n \"modified\": \"20210905213246120\",\n \"created\": \"20210904160941160\",\n \"bag\": \"default\"\n },\n \"$:/plugins/stobot/sticky/macros\": {\n \"text\": \"\\\\define sticky-string() \\\\<\\\\<sticky\\\\s\\\".+?\\\"\\\\>\\\\>\\n\\n\\\\define escape-actions() <$action-deletetiddler $tiddler=\\\"$:/temp/sticky-search\\\" />\\n\\n\\\\define sticky-filter-test() [\\n\\n\\\\define sticky-filter() <$list filter=\\\"[{$:/temp/sticky-search}split[]first[1]!match<sticky-filter-test>]\\\" emptyMessage={{$:/temp/sticky-search}}>[search:title,text{$:/temp/sticky-search}]</$list><$list filter=\\\"[[$:/temp/sticky-search]!has[text]]\\\">[has[text]]</$list>\\n\\n\\\\define sticky-table(macrofilter:\\\"[has[text]]\\\")\\n<$list filter=\\\"[{$:/plugins/stobot/sticky/settings##table-style}!match[none]]\\\" variable=\\\"x\\\">\\n<$vars macro-filter=\\\"$macrofilter$\\\">\\n<$list filter=\\\"[regexp:text<sticky-string>!is[system]!is[current]subfilter<macro-filter>first[1]]\\\" emptyMessage={{$:/plugins/stobot/sticky/settings##done-message}} variable=\\\"x\\\"> \\n <table class=\\\"sticky-table\\\">\\n <$list filter=\\\"[{$:/plugins/stobot/sticky/settings##table-searchbar}match[show]]\\\" variable=\\\"x\\\">\\n <tr><td colspan=2 style=\\\"padding-bottom:1em;padding-left:0;padding-right:0;border:none;\\\">\\n <$keyboard key=\\\"escape\\\" actions=<<escape-actions>>>\\n <$edit-text tiddler=\\\"$:/temp/sticky-search\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder=\\\"Search or [[filter]] here, esc to clear\\\" class=\\\"sticky-input\\\" />\\n </$keyboard>\\n </td></tr>\\n </$list>\\n <tr><th style=\\\"white-space: nowrap;\\\">Tiddler</th><th>Line</th></tr>\\n <$wikify name=\\\"sticky-filter-result\\\" text=<<sticky-filter>>>\\n <$list filter=\\\"[regexp:text<sticky-string>!is[system]!is[current]subfilter<sticky-filter-result>subfilter<macro-filter>sort[created]]\\\">\\n