Beautiful work again @Mohammad I am so Jealous of your productivity, well documented and beautiful solutions.
- The tools to organise into folders is wonderful and it would be nice if one day it can also accommodate URL bookmarks, or you make an independent solution.
- Below is a quick hack POC
- If you do decide to go ahead do connect because I have some powerful tools for urls.
You have structured your design so well I found I could modify $:/plugins/kookma/favorites/templates/item-link-btn to include a small macro “url-link” as follows;
<$link to={{!!title}} tooltip=<<currentTiddler>> class="kk-fav-item">
<$transclude field="caption">
<$view field="title" />
</$transclude>
</$link> <<url-link>><br>
With a global macro defined as;
\define url-link() <$list filter="[all[current]has[url]get[url]]" variable=url> <a href=<<url>> target=_blank>{{$:/core/images/link}}</a></$list>
So now if a favorited tiddle has the URL filed it is used to generate a link icon after the title that takes you to that url.
- It would perhaps be better for url bookmarks, that clicking the title opened the url and a separate icon opened the url bookmark favorite.
Just some food for thought.