GridPlugin - the missing piece ;-)

61 views
Skip to first unread message

twgrp

unread,
Apr 1, 2010, 2:21:39 PM4/1/10
to TiddlyWiki
@ELS, obviously, but anyone is free to jump in to tell me what I
misunderstand :-)


GridPlugin[1] is wonderful, rendering tables to show - and even
directly edit - meta data of specified tiddlers; fields, slices and
sections... but not tags.

Tags are used to filter out tiddlers, but you cannot edit tags in the
grid. I assume the major(?) reason for this is that individual tags
don't have a label, i.e it is tricky to refer to particular tag(s) in
tiddlers. The plugin would be a complete "meta data" control panel if
this was solved. Tags are probably the most popularly used form of
meta data so I think it makes sense to solve this. I've come up with
three IMO so-so ideas and a good one:

1) Grid list *specified tags*, i.e instead of a required label it is a
matter of if a named tag *exists or not*. In the macro you enter the
tag name as a column and if it does not exist then the grid shows a
blank field but if it does exist, the tag itself is displayed, ready
for editing. Altho I see value in this, it obviously deviates quite a
bit from the the current 'paradigm' of the plugin.

2) Positions as labels, i.e where a tag is physically listed in the
tags field. Positional number as column header. Workable at least for
the first tag, but admittedly not very elegant.

3) Append labels to individual tags, or some certain format for
certain tags. Perhaps sticking to the fields notation, i.e by naming
tags like; label1:tag1 label2:tag2 or just certain string as a
prefix. Column header is obviously the prefix. The drawback is you'd
have to keep be aware of this at the time of tagging the tiddlers and
it'd permanently affect the look of the tags. (An interesting aspect
would be if it was possible to append multiple types to a tag, i.e
label1,label2:tag1 or such)

4) ...and finally my favorite idea: Let tags be labeled by... tagging
them! I.e so that GridPlugin can list all tiddlers that are tagged
with a tag of a certain type. For example; list all tiddlers tagged
with "BasketBall", "Soccer", etc (unknown amount) that, in turn, are
tagged with "Sport". The column in this case would be "Sport".

Thoughts?

:-)


[1] http://www.tiddlytools.com/#GridPlugin

twgrp

unread,
Apr 9, 2010, 12:51:48 PM4/9/10
to TiddlyWiki
Bump

Surely, many more must be interested in editing tags easily in tiddler
lists? Or am I missing something, e.g do fields totally replace tags?
GridPlugin seems like a natural place for it but of course not
necessarily so.

I came up with a not-so-good solution using Lewcids TaggerPlugin[1]
that at least lets add (but not edit or delete) tags to tiddlers
presented in a table:
http://edittagtable.tiddlyspot.com/

:-)

[1] http://tw.lewcid.org//#TaggerPlugin

Saverio

unread,
Apr 9, 2010, 1:48:34 PM4/9/10
to TiddlyWiki
I've advocated for combining tag functionality with custom field
functionality in order to support "semantic tagging" [1], but I may
need to wait for TW 5 [2].

[1] http://groups.google.com/group/tiddlywiki/browse_thread/thread/b501b9832122e775?hl=en
[2] http://groups.google.com/group/tiddlywiki/browse_thread/thread/33f9cb46d5d15566#50a12a240db4c49b

Eric Shulman

unread,
Apr 9, 2010, 2:22:27 PM4/9/10
to TiddlyWiki
> @ELS, obviously, but anyone is free to jump in to tell me what I
> misunderstand :-)
>
> GridPlugin[1] is wonderful, rendering tables to show - and even
> directly edit - meta data of specified tiddlers; fields, slices and
> sections... but not tags.
>
> Tags are used to filter out tiddlers, but you cannot edit tags in the
> grid.

Tags are stored as a space-separated, bracketed list in the 'tags'
*field* of each tiddler. You **can** edit the tags using the grid,
simply by specifying the tags field as one of the grid columns, like
this:

<<grid columns:[[=tags]] inline edit>>

enjoy,
-e

twgrp

unread,
Apr 9, 2010, 7:51:23 PM4/9/10
to TiddlyWiki
On Apr 9, 8:22 pm, Eric Shulman <elsdes...@gmail.com> wrote:
>    <<grid columns:[[=tags]] inline edit>>

Wohoo! Thank you!!! May I humbly suggest a more explicit mention of
this in the documentation (for us mortals who *do* carefully read the
documentation but still miss it!)
Very happy to see it does work! Thank you Eric! What a great plugin
GridPlugin is!


Saverio; Yes, "semantic tagging" would be *very* useful. I've had
related issues before. Your mention here made me just post this;
http://groups.google.com/group/tiddlywiki/browse_thread/thread/08d8b4aa90341080#


Thank you guys!

Reply all
Reply to author
Forward
0 new messages