TiddlyWiki.org

Ticket #41 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Invisible tags

Reported by: JeremyRuston Assigned to: JeremyRuston
Priority: minor Milestone: unscheduled
Component: core Version:
Severity: low Keywords:
Cc:

Description

Here's an idea: if a tag is specified in rounded paranthesis -- like (excludeLists) -- then the tag only gets displayed when the tiddler is being editted, and the tag is hidden when the tiddler is being viewed, hiding the housekeeping gubbins.

Change History

25/05/06 23:15:31 changed by UdoBorkowski

Should the parenthesis be part of the tag name?

If not how do you think the "hidden" flag for a tag should be stored in the tiddler? Currently a tag is just an item in an array of strings.

Alternatively I suggest to maintain a list of tags that should not be displayed in "View mode". A function "TiddlyWiki.prototype.isHiddenTag(tag)" could be used to check if a tag is "hidden". This function would be used in the view mode to check if a tag should be displayed or not.

As a standard implementation for isHiddenTag we could use a "HiddenTags?" tiddler containing a list of tags (similar to the DefaultTiddlers? tiddler). By defining a shadowTiddler "HiddenTags?" one could defined some tags that should be hidden by default, but for every TiddlyWiki this list could be overwritten by explicitly defining a "HiddenTags?" tiddler.

Later someone may overwrite the "isHiddenTag" function to use a different policy to detect if a tag is "hidden" (i.e. should not be displayed in the "view" mode).

10/07/06 11:25:50 changed by JeremyRuston

  • milestone deleted.

27/08/06 16:51:38 changed by MartinBudden

  • milestone set to 2.2.

06/10/06 14:31:28 changed by JeremyRuston

  • milestone changed from 2.2 to unscheduled.