Hi David

> Just wanted to mention I think the new Javascript mid-level macro
> implementation in the new renderer is looking very useful Jeremy! .. it
> should be a good entry point for people getting into javascript via TW5.
>

Great, thank you, that's exactly my thinking: people shouldn't need to know
any TW5 APIs in order to write a JavaScript macro.


> Looking forward to seeing the new rendering work go live.
>

Soon! You can't imagine how pleased I will be to get it done. It's proving
an irresistible opportunity to fix lots of small stuff too. Unfortunately
there are a lot of minor incompatibilities between the old widgets and the
new.


> I have been stalled in my TW5 development work at the moment while I wait
> for it ;) ..
>

Yup, I feel the same way. I've been putting lots of little things on ice
for the last three weeks.

but I have a few plugins in mind once it is stable.
>

Good, looking forward to seeing them


>
> One of which is a plugin for creating multiple fields (with possible
> default entries) for a tiddler at the same time. This will gather all
> data-tiddlers (dictionary or json) marked with a $:/fieldTemplate tag and
> display them in a drop down box at the bottom of the tiddler editing
> template (right after the add field line). If you choose one and select the
> "add" button it will read the relevant data tiddler, add the fields to the
> tiddler you are editing using the names from the data tiddler and then
> populate them with any relevant data from the data tiddler.
>
> So if your dictionary looked like this...
>
> bookprice: $5.00
> bookisbn:
> bookweight: 0.5kg
> storelocation: warehouse
>
> It would create the fields as bookisbn, bookprice etc ... and for those
> with default content it would place the relevant content, so bookprice
> default would be $5.00 etc
>

Aha, that makes sense, very useful.

I found I needed this "structure" when I wanted to create tiddlers with a
> lot of repeated information, with only minor variance. For the example
> about, the book description and title would be the main things that changed
> and would be stored in the tiddler text and title respectively. The
> remainder of the information was needed for filtering, but would not vary
> too much from the defaults.
>
> I also found when entering the field names etc a lot, it involved a lot of
> slow repeat typing of field names and then default data. This solved that
> problem
>
> I had to extend the fieldmangler widget to handle adding multiple fields
> and their default data, but it was a minor change and I called it
> $fieldmanglerext.
>
> I have a version working with the old renderer, helped me input lots of
> tiddlers accurately and quickly, just need to amend it for use with the new
> renderer.
>

Excellent, should be fairly straightforward.

Best wishes

Jeremy




>
>
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to