Ticket #743 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

[TiddlyWeb] Tiddler class should support extended fields

Reported by: FND Owned by: ChrisDent
Priority: undefined Milestone:
Component: tiddlyweb Version:
Severity: undefined Keywords:
Cc:

Description


Change History

Changed 3 years ago by cdent

From email discussion on this matter:

It's simple enough in the Tiddler object itself to just have the fields field as a dict, but inside the Stores and Serializations it could get complicated if there are no restrictions on the structure of the data. Does TiddlyWiki have any limitations there?

Do we _want_ extended fields to be on a "fields" attribute, or just in there as attributes?

Changed 3 years ago by mahemoff

The main thing I'm looking for in "fields" is to manage relationships. It's possible in some sense to do this via hyperlinks in the tiddler, but in some cases, more structure is required.

For example, I'm developing a comments system. I need a "subject" field on each comment pointing back to the thing it refers to, and a "creator" field for attribution. I would need to be able to run filters against a particular subject or creator.

Changed 3 years ago by cdent

  • status changed from new to closed
  • resolution set to fixed

See tiddlyweb/tiddler.py. Each Tiddler now has a fields field which can hold arbitrary fields. These are properly saved by the stores.

Changed 3 years ago by FND

[original comment by cdent (2008-09-25)]

changeset:6696 begins work on extended fields

Note: See TracTickets for help on using tickets.