Skip to content

Commit

Permalink
Update 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kookma committed Apr 23, 2021
1 parent deb1766 commit 391d421
Show file tree
Hide file tree
Showing 34 changed files with 11,382 additions and 10,603 deletions.
21,833 changes: 11,301 additions & 10,532 deletions docs/index.html

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions packaged/favorites.tid

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/favorites/frozen-list.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
caption: Favorites
created: 20191228192318272
list-after: $:/core/ui/SideBar/Open
modified: 20200326083226904
modified: 20210423152034542
tags:
title: $:/plugins/kookma/favorites/frozen-list
type: text/vnd.tiddlywiki
Expand Down
6 changes: 3 additions & 3 deletions source/favorites/history.tid
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
created: 20200326073607951
modified: 20200326080816159
created: 20210423151018020
modified: 20210423153149731
tags:
title: $:/plugins/kookma/favorites/history
type: text/vnd.tiddlywiki

Full change log https://kookma.github.io/TW-Favorites/#ChangeLog

* ''4.4.0 '' -- 2020.03.26 -- moved to new Thirdflow development platform
* ''4.5.0 '' -- 2020.04.23 -- updated to Tiddlywiki 5.1.23 and fixed few issues
* ''4.3.0 '' -- 2019.11.19 -- correct caption when caption filed has wikitext
* ''4.0.0 '' -- 2019.12.17 -- a rewrite of old favorite plugin
* ''3.0.12'' -- 2018.11.01 -- released by Mohammad Rahmani
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/image.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20181010141333403
modified: 20200326185558195
modified: 20210423152034549
path: c-3.3-16.6-15.1-27.3-30.3-27.3-8.5,0-17.7,3.5-26.7,10.1-9.1-6.8-18.3-10.3-26.9-10.3-15.2,0-27.1,10.8-30.3,27.6-4.8,24.9 10.6,58 55.7,76 0.5,0.2 1,0.3 1.5,0.3 0.5,0 1-0.1 1.5-0.3 45-18.4 60.3-51.4 55.5-76.1zm-57,67.9c-39.6-16.4-53.3-45-49.2-66.3 2.4-12.7 11.2-21 22.3-21 7.5,0 15.9,3.6 24.3,10.5 1.5,1.2 3.6,1.2 5.1,0 8.4-6.7 16.7-10.2 24.2-10.2 11.1,0 19.8,8.1 22.3,20.7 4.1,21.1-9.5,49.6-49,66.3z
tags: $:/tags/Image
title: $:/plugins/kookma/favorites/image
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/language/Buttons/Caption/Add.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191216200037937
modified: 20200326193233403
modified: 20210423153606311
title: $:/language/Buttons/Favorites/Caption/Add
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/language/Buttons/Caption/Remove.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191216200037793
modified: 20200326193156596
modified: 20210423153606322
title: $:/language/Buttons/Favorites/Caption/Remove
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/language/Buttons/Hint/Add.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191216200037919
modified: 20200326193116928
modified: 20210423153606337
title: $:/language/Buttons/Favorites/Hint/Add
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/language/Buttons/Hint/Remove.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20200326193045794
modified: 20200326193104571
modified: 20210423153606329
tags:
title: $:/language/Buttons/Favorites/Hint/Remove
type: text/vnd.tiddlywiki
Expand Down
4 changes: 2 additions & 2 deletions source/favorites/license.tid
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
created: 20200326073607952
modified: 20200326080900832
modified: 20210423153248913
tags:
title: $:/plugins/kookma/favorites/license
type: text/vnd.tiddlywiki

Distributed under an MIT license.

Copyright (c) 2018-2020 [[Mohammad Rahmani|https://github.com/kookma]]<br>
Copyright (c) 2018-2021 [[Mohammad Rahmani|https://github.com/kookma]]<br>
Copyright (c) 2017-2018 [[Andrew Harrison|http://favorites.tiddlyspot.com/]]

<<<
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/macros/combo-search.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20191219070911471
description: do not delete, part of example 103
modified: 20200326190600963
modified: 20210423152034558
title: $:/plugins/kookma/favorites/macros/combo-search
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/macros/definition.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191223204533023
modified: 20200326190417057
modified: 20210423152034563
title: $:/plugins/kookma/favorites/macros/definition
type: text/vnd.tiddlywiki

Expand Down
4 changes: 2 additions & 2 deletions source/favorites/macros/folding-editor.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191222134036727
modified: 20200326083226990
modified: 20210423152919023
tags: $:/tags/Macro
title: $:/plugins/kookma/favorites/macros/folding-editor
type: text/vnd.tiddlywiki
Expand All @@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki
<$set name="state" value={{{ [[$:/temp/folding-editor/]addsuffix<currentTiddler>addsuffix<__tiddler__>] }}}>
<$reveal stateTitle=<<state>> type="nomatch" text="edit">
<span style="display:inline-block;min-width:320px;font-weight:700">
<$transclude tiddler=<<__tiddler__>> field="caption"/>
<$view tiddler=<<__tiddler__>> field="caption"/>
</span>
<$button class="tc-btn-invisible" setTitle=<<state>> setTo="edit">{{$:/core/images/edit-button}}</$button>
</$reveal>
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/macros/sidebar.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
caption: Favorites
created: 20191226064633412
list-before: $:/core/ui/SideBar/Recent
modified: 20200326190524020
modified: 20210423152034578
title: $:/plugins/kookma/favorites/macros/sidebar
type: text/vnd.tiddlywiki

Expand Down
4 changes: 2 additions & 2 deletions source/favorites/macros/slider.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191220123602267
modified: 20200326190213819
modified: 20210423152034586
title: $:/plugins/kookma/favorites/macros/slider
type: text/vnd.tiddlywiki

Expand All @@ -16,7 +16,7 @@ type: text/vnd.tiddlywiki
</$button>
</$reveal>
<$list filter="[<fv-config-buttons>match[yes]]"
emptyMessage="""<b><$transclude tiddler=<<__title__>> field="caption"/></b>"""
emptyMessage="""<b><$view tiddler=<<__title__>> field="caption"/></b>"""
variable=ignore>
<$macrocall $name="fv-folding-editor" tiddler=<<__title__>> />
</$list>
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/manager.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191224190957179
modified: 20200326083227025
modified: 20210423152034594
tags:
title: $:/plugins/kookma/favorites/manager
type: text/vnd.tiddlywiki
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/manager/export.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
caption: Export
created: 20191226173845382
modified: 20200326083227031
modified: 20210423152034603
tags: $:/favorites/Manager
title: $:/plugins/kookma/favorites/manager/export
type: text/vnd.tiddlywiki
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/manager/exptab-delete.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191226172205238
modified: 20200326190524040
modified: 20210423152034610
title: $:/plugins/kookma/favorites/manager/exptab-delete
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/manager/exptab-export.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191226172145394
modified: 20200326190524050
modified: 20210423152034620
title: $:/plugins/kookma/favorites/manager/exptab-export
type: text/vnd.tiddlywiki

Expand Down
35 changes: 22 additions & 13 deletions source/favorites/manager/folders.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
caption: Folders
created: 20191226064442751
modified: 20200326083227048
modified: 20210423170253500
tags: $:/favorites/Manager
title: $:/plugins/kookma/favorites/manager/folders
type: text/vnd.tiddlywiki
Expand All @@ -10,28 +10,36 @@ type: text/vnd.tiddlywiki
\define newtitle() $(folderpath)$-{{{[tag<foldertagTid>count[]add[1]addprefix[0000]split[]last[3]join[]]}}}


\define new-fav-folder()
<$edit-text tag=input tiddler=<<tempNewTid>> default="" placeholder="enter a folder name"/>
<$list filter="[<tempNewTid>get[text]!is[blank]]">
\define add-new-fav-folder-actions()
<$list filter="[<tempNewTid>get[text]!is[blank]]" variable=null>
<$vars
folderName ={{{ [<tempNewTid>get[text]] }}}
saveTitle={{{[<saveTid>get[text]]}}} >
<$wikify name=xtitle text=<<newtitle>> >
<$button tooltip="create new folder" class="tc-btn-invisible">{{$:/core/images/new-button}}
<$wikify name=ntitle text=<<newtitle>> >
<$action-createtiddler
$basetitle=<<xtitle>>
$basetitle=<<ntitle>>
$savetitle=<<saveTid>>
caption=<<folderName>>
tags=<<foldertagTid>> />
<$action-listops $tiddler=<<foldertagTid>> $field="list" $subfilter="[<saveTid>get[text]]" />
<!-- clear edit-text temp tiddler-->
<$action-setfield $tiddler=<<tempNewTid>> text=""/>
</$button>
</$wikify>
</$vars>
</$list>
\end


\define new-fav-folder()
<$keyboard key=enter actions=<<add-new-fav-folder-actions>> >
<$edit-text tag=input tiddler=<<tempNewTid>> default="" placeholder="enter a folder name"/>
</$keyboard>
<$button tooltip="create new folder" class="tc-btn-invisible"
actions=<<add-new-fav-folder-actions>> disabled= {{{ [<tempNewTid>get[text]!is[blank]then[no]else[yes]] }}}>
{{$:/core/images/new-button}}
</$button>
\end

\define folder-reorder(listTid)
<$tiddler tiddler={{{ [<tempreorderTid>get[text]] }}} >
<span style="display:inline-block;min-width:120px;font-weight:700;"><$view field=caption/></span>
Expand Down Expand Up @@ -66,7 +74,7 @@ type: text/vnd.tiddlywiki

\define remove-all-favs()
<$button class="tc-btn-invisible tc-btn-mini" popup=<<qualify $(temppopupTid)$>> >
Remove all favorite items
''Remove all favorite items''
</$button>
<$reveal state=<<qualify $(temppopupTid)$>> type="popup" position="belowleft" animate="yes">
<div class="tc-block-dropdown-wrapper">
Expand All @@ -93,10 +101,6 @@ Remove all <<resultCount>> favorite item(s)?

Create, rename, rearrange and delete folders

!! Rearrange
<<<
Rearrange folder:&nbsp;<$macrocall $name="folder-reorder" listTid="$(foldertagTid)$" />
<<<

!! Create
<<<
Expand All @@ -105,6 +109,11 @@ Rearrange folder:&nbsp;<$macrocall $name="folder-reorder" listTid="$(foldertagTi
</div>
<<<

!! Rearrange
<<<
Rearrange folder:&nbsp;<$macrocall $name="folder-reorder" listTid="$(foldertagTid)$" />
<<<

!! Structure
<<<
<$vars fv-config-buttons=yes>
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/manager/search.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
caption: Search
created: 20191226092612349
modified: 20200326083227054
modified: 20210423152034637
tags: $:/favorites/Manager
title: $:/plugins/kookma/favorites/manager/search
type: text/vnd.tiddlywiki
Expand Down
21 changes: 11 additions & 10 deletions source/favorites/plugin.info
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"title": "$:/plugins/kookma/favorites",
"description": "Favorites",
"author": "Mohammad Rahmani",
"version": "4.4.0",
"core-version": ">=5.1.22",
"source": "https://github.com/kookma/TW-Favorites",
"list": "readme history license",
"dependents": "",
"plugin-type": "plugin"
}
"title": "$:/plugins/kookma/favorites",
"name": "Favorites",
"description": "create bookmarks, shortcuts and favorite items as flat and structured lists",
"author": "Mohammad Rahmani",
"version": "4.5.0",
"core-version": ">=5.1.23",
"source": "https://github.com/kookma/TW-Favorites",
"list": "readme license history",
"plugin-type": "plugin",
"dependents": ""
}
4 changes: 4 additions & 0 deletions source/favorites/plugin.info.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
created: 20210423151039658
modified: 20210423151039690
title: $:/plugins/kookma/favorites/plugin.info
type: application/json
12 changes: 3 additions & 9 deletions source/favorites/readme.tid
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
created: 20200326073607952
modified: 20200326082214810
created: 20210423151018021
modified: 20210423153414882
tags:
title: $:/plugins/kookma/favorites/readme
type: text/vnd.tiddlywiki

; Favorites
A favorite item also called a bookmark is a shortcut, you are creating for quick access to it. You can access that bookmark at any time and view that as many times as you want without having to search and find it again.

''Favorites plugin'' is a set of tool for creating favorites (bookmarks) in Tiddlywiki. Each favorite item is a shortcut to a tiddler.

The Favorites plugin contains three modes

* ''flat mode'': one favorite list, no folder
* ''structured mode'': use folder, search tool, export and delete tool
* ''frozen list'': read only, simple table of content style
Favorites plugin is a set of tool for creating favorites (bookmarks) in Tiddlywiki. Each favorite item is a shortcut to a tiddler.

;Code and demo
For learning plugin features, syntax, tutorial and examples see the plugin demo and code pages
Expand Down
4 changes: 2 additions & 2 deletions source/favorites/recent.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
caption: Recently added
created: 20200103090757281
creator: a revised version of Andrew Harrison favorite plugin
list: $:/plugins/kookma/favorites/styles/image.css
modified: 20200326195945747
list:
modified: 20210423171120699
modifier: a revised version of Andrew Harrison favorite plugin
tags: $:/tags/Favorites/Folder
title: $:/plugins/kookma/favorites/recent
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/sidebar-tab.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
caption: Favorites
created: 20191226064836102
list-after: $:/core/ui/SideBar/Open
modified: 20200326083227061
modified: 20210423152034645
tags: $:/tags/SideBar
title: $:/plugins/kookma/favorites/sidebar-tab
type: text/vnd.tiddlywiki
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/styles/image.css.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
button-color: #ff0000
created: 20200326140130064
creator: a revised version of Andrew Harrison favorite plugin
modified: 20200326195938233
modified: 20210423152034653
modifier: a revised version of Andrew Harrison favorite plugin
tags: $:/tags/Stylesheet
title: $:/plugins/kookma/favorites/styles/image.css
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191219075310949
modified: 20200326185700659
modified: 20210423152034660
tags: $:/tags/Stylesheet
title: $:/plugins/kookma/favorites/styles/style.css
type: text/css
2 changes: 1 addition & 1 deletion source/favorites/templates/delete-item.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191220075034126
modified: 20200326190524058
modified: 20210423152034669
title: $:/plugins/kookma/favorites/templates/delete-item
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/templates/item.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191226214526038
modified: 20200326190524068
modified: 20210423152034677
title: $:/plugins/kookma/favorites/templates/item
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/templates/show-link.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20191220074823880
modified: 20200326190524073
modified: 20210423152034687
title: $:/plugins/kookma/favorites/templates/show-link
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion source/favorites/ui/ControlPanel/Settings.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
caption: Favorites
created: 20191229193717073
list-after: $:/core/ui/ControlPanel/Settings/TiddlyWiki
modified: 20200326191059735
modified: 20210423152034704
tags: $:/tags/ControlPanel/SettingsTab $:/tags/MoreSideBar
title: $:/plugins/kookma/favorites/ui/ControlPanel/Settings
type: text/vnd.tiddlywiki
Expand Down
2 changes: 1 addition & 1 deletion source/favorites/ui/buttons/add-remove.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ caption: {{$:/plugins/kookma/favorites/image}}{{$:/language/Buttons/Favorites/Ca
created: 20181010141620348
description: {{$:/language/Buttons/Favorites/Hint/Add}}
list-after: $:/core/ui/Buttons/info
modified: 20200326193035070
modified: 20210423152034695
tags: $:/tags/ViewToolbar
title: $:/plugins/kookma/favorites/ui/buttons/add-remove
type: text/vnd.tiddlywiki
Expand Down

0 comments on commit 391d421

Please sign in to comment.