TiddlyWiki.org

Ticket #184 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Refactor tiddlers (shadow and filesystem) in svn so they are not one gigantic line

Reported by: BobMcElrath Assigned to: MartinBudden
Priority: major Milestone: 2.2
Component: core Version:
Severity: medium Keywords:
Cc:

Description

Large shadow tiddlers such as StyleSheetLayout? (etc.) are just not maintainable as stored. Any change in any shadow tiddler results in the entire shadow tiddler being replaced.

Instead, we should store shadow tiddlers as actual tiddlers. We should use a separate file for them that will be mixed in with 'cook'. Fixing #175 will allow tiddler files in svn to be stored with the proper whitespace (no escaping).

We should then add a new directive to cook: 'shadow' that will add the tiddler to config.shadowTiddlers.

Change History

11/10/06 20:10:13 changed by JeremyRuston

  • owner changed from JeremyRuston to UdoBorkowski.

24/11/06 07:22:24 changed by MartinBudden

Rather than cooking the shadowtiddlers directly into config.shadowtiddlers they could be stored in their own div in the TiddlyWiki file (say <div id="shadowArea"> analogous to the main storage area <div id="storeArea">). At startup a loadFromDiv could load these and then assign the contents to config.shadowtiddlers.

25/11/06 07:42:44 changed by MartinBudden

  • owner changed from UdoBorkowski to MartinBudden.

27/11/06 21:24:47 changed by MartinBudden

  • status changed from new to assigned.

01/12/06 17:53:52 changed by JeremyRuston

Part 1 implemented in changeset:1077

11/03/07 16:52:38 changed by MartinBudden

  • status changed from assigned to closed.
  • resolution set to fixed.

After a review on 11 Mar, 2007, I'm declaring this ticket fixed: we have implemented all of this and shadow tiddlers are now easily maintainable with an editor.