[TW5] Favorites

504 views
Skip to first unread message

Andrew

unread,
Nov 5, 2015, 2:12:48 PM11/5/15
to TiddlyWiki
Hello again wonderful Tiddlywiki people. I created another plugin, this time to create a useful list so it is easier to get to what you want. Check it out and let me know what you think. http://favorites.tiddlyspot.com

Tobias Beer

unread,
Nov 5, 2015, 4:28:31 PM11/5/15
to tiddl...@googlegroups.com
Cool stuff, simple, useful, Andrew.

Some feedback:

1) I'd expect the star button to be a toggle;
changing it's style when the tiddler is a favourite, e.g. to yellow.

2) To keep the tabs bar short, I'd...
  1. make it the first tab
  2. actually name it ★
3) I'd possibly place the button somewhere else, too, to not overcrowd the toolbar.
But that's just me, e.g. possible locations:
  • the top right of a tiddler, below the toolbar
  • in front of the title
  • the bottom right of a tiddler
Best wishes,

Tobias.

Felix Küppers

unread,
Nov 5, 2015, 4:55:13 PM11/5/15
to tiddl...@googlegroups.com

Cool stuff, simple, useful, Andrew.

I agree!


Some feedback:

1) I'd expect the star button to be a toggle;
changing it's style when the tiddler is a favourite, e.g. to yellow.

I agree with Tobias.


2) To keep the tabs bar short, I'd...
  1. make it the first tab

I think he does not have controll over the tab order…

  1. actually name it ★

Good point! Short tabs are important and this makes much sense.

3) I'd possibly place the button somewhere else, too, to not overcrowd the toolbar.
But that's just me... e.g. the bottom right of a tiddler, or actually in front of the title.

While I agree that the toolbar gets too crowded, I think this is a general TW problem and imo it is good if he follows the conventions of placing stuff like this in the toolbar – I would expect it there.

-Felix

Tobias Beer

unread,
Nov 5, 2015, 5:13:12 PM11/5/15
to tiddl...@googlegroups.com
Hi Felix,
 
I think he does not have control over the tab order…

That is true, to some degree. Sure, if every plugin would specify the list-before field with an empty string, none of those tabs would eventually, truly be first, when combined... except, for the first plugin adding an additional tab, it would. ;-)

While I agree that the toolbar gets too crowded, I think this is a general TW problem and imo it is good if he follows the conventions of placing stuff like this in the toolbar – I would expect it there.

I guess this is plugin territory: exploring alternative UIs that provide placeholders for controls, e.g. either of the left or right gutter in a tiddler, or a "tiddler footer". In fact, seeing that the folding control is now put in the left "gutter", I'd actually prefer to have it in the right "gutter". not only would it align with the "close this tiddler" button, but (I think) the left gutter is better suited for a secondary tiddler toolbar that is only shown on-hover and possibly with much less contrasty buttons). I'd use the left gutter for that, because the top-right corner would become too crowded if a secondary toolbar was in the right gutter.

Best wishes,

Tobias.

Andrew

unread,
Nov 6, 2015, 12:24:17 AM11/6/15
to TiddlyWiki
I moved the Favorites tab under the All tab on the More tab in the Sidebar. Tab tab tab. Please forgive me for not doing anything else with it yet. Thank you all. Tab...

Felix Küppers

unread,
Nov 10, 2015, 6:48:34 AM11/10/15
to tiddl...@googlegroups.com
Hi Andrew,

your plugin is very useful but it defeats the purpose of a favorite
plugin to make the favorites hard to access by putting them in the more
tab. tab tab tab… I highly agree with Tobias suggestion to simply give
it a star icon as caption and leave it in the sidebar as main tab.

-Felix

Andrew

unread,
Nov 11, 2015, 1:19:38 AM11/11/15
to TiddlyWiki
Thank you both for feedback. I have placed the favorites tab in front of the others and named it with the star icon and gave it a tooltip of favorites. Thank you again for your feedback.

Tobias Beer

unread,
Nov 11, 2015, 3:29:10 AM11/11/15
to TiddlyWiki
Hi Andrew,
 
Thank you both for feedback. I have placed the favorites tab in front of the others and named it with the star icon and gave it a tooltip of favorites. Thank you again for your feedback.

Cool stuff. Now I'm beginning to wonder if it should not, in fact, be the last tab. :D

Best wishes,

— tb 

andrew harrison

unread,
Jan 23, 2016, 5:20:44 PM1/23/16
to tiddl...@googlegroups.com
Hello again wonderful Tiddlywiki people. I've upgraded my favorites plugin to 2.0.0. It's still a useful way to displaying a cherry-picked list of tiddlers. Version incremented because it no longer uses tags. Check it out and let me know what you think. http://favorites.tiddlyspot.com

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9958109b-c116-4d5f-8972-0615d272f70c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Alex Hough

unread,
Jan 23, 2016, 5:58:10 PM1/23/16
to TiddlyWiki
Very useful Andrew,

thank you.
It replaces my crude "pin to topBar" checkbox. Its good to have a temporary place to "put" things

Alex

andrew harrison

unread,
Jan 24, 2016, 12:34:31 PM1/24/16
to tiddl...@googlegroups.com
Hello again. It seems that there was a problem with my previous release of an upgrade to my favorites plugin. Funny thing about it was that it worked on the plugin page but when you import it the link in the favorites tab didn't work. I've fixed it and re-released it as version 2.0.1. Sorry for any inconvenience.

magev958

unread,
Jan 25, 2016, 9:19:38 AM1/25/16
to TiddlyWiki
Hi, I was wondering if it would be possible to use fields in one single tiddler to keep track of favorites? A new field with text-ref for every new favorite?

Jed Carty

unread,
Jan 25, 2016, 11:42:37 AM1/25/16
to TiddlyWiki
Field titles are limited to lower case letters, numbers, . - and _, so you have to somehow have an automated way to generate the field names and put the tiddler titles as the contents.
You can use data tiddlers like this and just put each index as a tiddler title. That wouldn't be too difficult to do.

Matabele

unread,
Jan 25, 2016, 12:47:15 PM1/25/16
to tiddl...@googlegroups.com
Hi magev958

A list of favourites can be kept in a single field (as a list of titles):

<$button>
<$action-listops $tiddler="MyData" $field="my-favourites" $subfilter="[{!!title}]"/>
Add Me to Favourites
</$button>

<$button>
<$action-listops $tiddler="MyData" $field="my-favourites" $subfilter="-[{!!title}]"/>
Remove Me to Favourites
</$button>

<$list filter="[list[MyData!!my-favourites]]" variable="favourite">

* <$link><<favourite>></$link>
</$list>

regards
Message has been deleted

Tobias Beer

unread,
Jan 25, 2016, 1:37:55 PM1/25/16
to tiddl...@googlegroups.com
Hi magev958,

That's entirely possible, especially with the new action-listops widget.
You could have a Favorites tiddler with a list field in which you store
all the titles of the tids that you want to be favorites.

For that you could use a toolbar button like so:

title: $://ui/Buttons/favorite
tags: [[$:/tags/ViewToolbar]]

\define add() [[$(currentTiddler)$]]
\define remove() -[[$(currentTiddler)$]]

<$list filter="[list[Favorites]is[current]]">
<$button class=<<tv-config-toolbar-class>>>
<$action-listops $tiddler="Favorites" $field="list" $subfilter=<<remove>>/>
<span style="color:orange;">★</span>
</$button>
</$list>
<$list filter="[all[current]!list[Favorites]]">
<$button class=<<tv-config-toolbar-class>>>
<$action-listops $tiddler="Favorites" $field="list" $subfilter=<<add>>/>
<span style="color:#ccc;">★</span>
</$button>
</$list>

And then the Favorites tiddler simply being:

title: Favorites

{{{ [list[]] }}}

Best wishes,

Tobias. 

infurnoape

unread,
Jan 25, 2016, 1:42:47 PM1/25/16
to tiddl...@googlegroups.com
Regretably, since field names cant have capital letters and titles can, I ran into difficulties trying to keep a list of favorites. I could try revisiting it again in the future.



Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

Matabele

unread,
Jan 25, 2016, 2:47:13 PM1/25/16
to tiddl...@googlegroups.com
Hi  magev958

Enclosed a JSON file (revised using Tobias's method) containing all that's necessary for simple favourites functionality -- download and drop onto your wiki

regards

On Monday, 25 January 2016 16:19:38 UTC+2, magev958 wrote:
favourites.json

infurnoape

unread,
Jan 25, 2016, 8:20:35 PM1/25/16
to tiddl...@googlegroups.com
@tobias, this would be cool if {{{ [list[]] }}} worked. I cant seem to get it to work in a tab in the sidebar. Anyone else get it to work or is it just me.

Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


-------- Original message --------
From: Tobias Beer <beert...@gmail.com>
Date: 01/25/2016 11:37 AM (GMT-07:00)
To: TiddlyWiki <tiddl...@googlegroups.com>
Subject: Re: [tw] Re: [TW5] Favorites

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Matabele

unread,
Jan 25, 2016, 8:38:06 PM1/25/16
to TiddlyWiki
Hi Andrew

When in a tab in the sidebar, the name of the tiddler containing the list must be specified explicitly -- like so:
{{{ [list[Favorites]] }}}

Or, grab the JSON file from my post above (this contains Tobias's code.)

regards

andrew harrison

unread,
Jan 25, 2016, 11:13:41 PM1/25/16
to tiddl...@googlegroups.com
ok, hot on the tail of previous upgrade of favorites comes a new upgrade to 3.0.0 because now instead of using visibility tiddlers for each favorite, it now uses a list field. Any more suggestions?

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Jon

unread,
Jan 26, 2016, 1:51:52 AM1/26/16
to tiddl...@googlegroups.com
Hi Andrew, 

Thanks for this. Noticed that after upgrading, previous favourites are lost. 
Better if they could be kept if possible, or maybe a warning in the docs.

Regards
Jon

infurnoape

unread,
Jan 26, 2016, 7:33:49 AM1/26/16
to tiddl...@googlegroups.com
Sorry jon, I'm not very good at developing. You are right, there should have been a warning. I should have advised the loss of previous favorites again so soon, hence the increase in the first number. It should really be in beta but I actually am not a programmer so I kinda skipped that stage. Again, my deepest appoligies. You may also want to delete the previous now erroneous visibility tiddlers from the previous version.



Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


-------- Original message --------
From: Jon <five...@gmail.com>
Date: 01/25/2016 11:51 PM (GMT-07:00)
To: TiddlyWiki <tiddl...@googlegroups.com>
Subject: Re: [tw] Re: [TW5] Favorites

Hi Andrew, 

Thanks for this. Noticed that after upgrading, previous favourites are lost. 
Better if they could be kept if possible, or a maybe a warning in the docs.

Jon

unread,
Jan 26, 2016, 8:15:54 AM1/26/16
to TiddlyWiki
Hi Andrew,

No problem - I didn't loose anything, I was just flagging it up as a potential issue. I suspect most people would perhaps use favourites during a session anyway as a temporary tag, rather than a long-term thing.
I'm not a programmer either but what' you've done is really useful - keep developing!

Regards
Jon

magev958

unread,
Jan 27, 2016, 11:20:32 AM1/27/16
to TiddlyWiki
Thank You all, that was fast & fine solution to my question. I will implement them directly. :)

Tobias Beer

unread,
Jan 27, 2016, 11:33:01 AM1/27/16
to TiddlyWiki
Hi Andrew,

One bit of advise, although, again mildly breaking backwards compatibility — which could be remedied with a simple "migrate" button or instructions that say "please copy the list from A to B" — I would not store the actual favorites at the list field of the template tiddler. I'd rather put it into a tiddler of its own with the entire purpose of storing the Favorites list, e.g.:

$:/plugin/ajh/favorites/list

Best wishes,

Tobias.

magev958

unread,
Jan 27, 2016, 4:41:48 PM1/27/16
to TiddlyWiki
Good advise, I'll do that

Pit.W.

unread,
Jan 28, 2016, 12:55:53 PM1/28/16
to tiddl...@googlegroups.com
Dear Andrew,

Your plugin occupies minimum space on the user interface [GUI], actually
not more than the space of 2 icons(one in the tiddler, one in the
sidebar) , and adds quick, flexible and powerful functionality to the
workflow.

It is a fundamental tool for first-time users or people who need to deal
with things under time-stress, to sort out their information - I would
compare it to the "table-of-content-plugin", which I perceived to be a
breakthrough in the evolution of tiddlywiki.

Thank you!

Pit.W

Am 05.11.2015 um 20:12 schrieb Andrew:
> Hello again wonderful Tiddlywiki people. I created another plugin, this time to create a useful list so it is easier to get to what you want. Check it out and let me know what you think. http://favorites.tiddlyspot.com
>



infurnoape

unread,
Jan 28, 2016, 7:45:11 PM1/28/16
to tiddl...@googlegroups.com
Thank you for all your valuable advice @tobias.
Ok, introducing miner upgrade to 3.0.1. Please forgive me if this is upsetting. Please note the following warning and I hope I don't make any more huge mistakes. Keep in mind this is a community plugin and not a part of the core plugin library...yet.

Warning!!! Upgrading from prior to version 3.0.1 will delete all previous favorites so take note of favorites before upgrading so you can reselect them after upgrading. This will not be a problem after version 3.0.1. Again, upgrading to version 3.0.1 or later from a previous version before 3.0.1 will loose all favorites. Thank you for your forgiveness.


Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


-------- Original message --------
From: Tobias Beer <beert...@gmail.com>
Date: 01/27/2016 9:33 AM (GMT-07:00)
To: TiddlyWiki <tiddl...@googlegroups.com>
Subject: Re: [tw] Re: [TW5] Favorites

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Jon

unread,
Jan 29, 2016, 1:53:13 AM1/29/16
to tiddl...@googlegroups.com
Hi Andrew,

Give yourself a break!

What you've produced here is really valuable- I use it all the time now, and I'm grateful to you for making it. 

I'm not a developer so can't appreciate what's done behind the scenes but if you're new to doing this, then like anything else, it will be a learning curve. Don't forget, we're all advised to take back ups etc. so don't worry if things don't work first time.

Anyway, some feedback on this release as there may be some more tweaking to do:

I had a couple of favorites which I left in place and these were still there after the upgrade. However, deselecting the favorites icon didn't remove them. Likewise, selecting icon on new tiddlers didn't put them in the sidebar tab. 

I removed the plug in but there were still some $:/favorite tiddlers left (from previous version?). Deleted all $:/favorite-related tiddlers and then installed latest version - everything working. 

Therefore, might be better to remove previous version before installing this one.

Thanks again
Jon

Tobias Beer

unread,
Jan 29, 2016, 5:29:46 AM1/29/16
to TiddlyWiki
Hi Andrew,
 
Ok, introducing miner upgrade to 3.0.1. Please forgive me if this is upsetting. Please note the following warning and I hope I don't make any more huge mistakes. Keep in mind this is a community plugin and not a part of the core plugin library...yet.

I think you did a great job at pulling through all this, seriously. Allowing yourself to get a feel for all the nitty gritty complexities that come with a possibly much under-appreciated "job description" that goes by the title of "developer". ;-)

That is why large organisations eventually split things up into different teams:
  • those that know "how"
    • to get from A to B
  • and then those that know "what"
    • who don't have all the bells and whistles to make it all come true but know where it's all worth going
  • and possibly some that keep track of "why" 
    • those can be a rare breed :D
;-)

Best wishes,

Tobias.

infurnoape

unread,
Jan 29, 2016, 7:10:50 PM1/29/16
to tiddl...@googlegroups.com
Oh my, light just went on in my head. Thank you for the feedback. I'm rewording the warning. After upgading from previous to version 3.0.1, reselect each favorite and then delete $:/plugin/ajh/favorites/SideBar for the upgrade to be visible. How does that sound?


Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


-------- Original message --------
From: Jon <five...@gmail.com>
Date: 01/28/2016 11:53 PM (GMT-07:00)
To: TiddlyWiki <tiddl...@googlegroups.com>
Subject: Re: [tw] Re: [TW5] Favorites

Hi Andrew,

Give yourself a break!

What you've produced here is really valuable- I use it all the time now, and I'm grateful to you for making it. 

I'm not a developer so can't appreciate what's done behind the scenes but if you're new to doing this, then like anything else, it will be a learning curve. Don't forget, we're all advised to take back ups etc. so don't worry if things don't work first time.

Anyway, some feedback on this release as there may be some more tweaking to do:

I had a couple of favorites which I left in place and these were still there after the upgrade. However, deselecting the favorites icon didn't remove them. Likewise, selecting icon on new tiddlers didn't put them in the sidebar tab. 

I removed the plug in but there were still some favorite tiddlers left (from previous version?). Deleted all $:/favorite-related tiddlers and then installed latest version - everything working. 

Therefore, might be better to remove previous version before installing this one.

Thanks again
Jon





On Friday, 29 January 2016 00:45:11 UTC, Andrew wrote:
Thank you for all your valuable advice @tobias.
Ok, introducing miner upgrade to 3.0.1. Please forgive me if this is upsetting. Please note the following warning and I hope I don't make any more huge mistakes. Keep in mind this is a community plugin and not a part of the core plugin library...yet.

Warning!!! Upgrading from prior to version 3.0.1 will delete all previous favorites so take note of favorites before upgrading so you can reselect them after upgrading. This will not be a problem after version 3.0.1. Again, upgrading to version 3.0.1 or later from a previous version before 3.0.1 will loose all favorites. Thank you for your forgiveness.


Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


-------- Original message --------
From: Tobias Beer <beert...@gmail.com>
Date: 01/27/2016 9:33 AM (GMT-07:00)
To: TiddlyWiki <tiddl...@googlegroups.com>
Subject: Re: [tw] Re: [TW5] Favorites

Hi Andrew,

One bit of advise, although, again mildly breaking backwards compatibility — which could be remedied with a simple "migrate" button or instructions that say "please copy the list from A to B" — I would not store the actual favorites at the list field of the template tiddler. I'd rather put it into a tiddler of its own with the entire purpose of storing the Favorites list, e.g.:

$:/plugin/ajh/favorites/list

Best wishes,

Tobias.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d45be0a5-f588-4522-87ef-2c01ad97be78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages