Replies: 5 comments 20 replies
-
I did find a hack, which is not really pretty, but works.
|
Beta Was this translation helpful? Give feedback.
-
@Jermolene -- How far can we go with creating new temporary tiddlers in test-casees. eg: To create the new TOC documentation I need to activate the "New Here" or "New Child Here" buttons and I would like it, if they actually work. If clicked, they do create a new "Draft of..." tiddler. I did modify the testcase templates a tiny bit, to get this: If OK is clicked it creates a new temporary tiddler Do you think that's too far? |
Beta Was this translation helpful? Give feedback.
-
@btheado -- I did just push a new preview to tiddlyhost, where the testcase shows 2 "tabbed views"
|
Beta Was this translation helpful? Give feedback.
-
@btheado -- In general, what do you think about using a "story-river" instead of the tabs-macro for the testcase main UI? |
Beta Was this translation helpful? Give feedback.
-
Hi @pmario these are interesting experiments, but I am concerned at the unintended side effects of so much added complexity. If the new TOC stuff is particularly demanding to demo with the testcase widget then I'd be inclined to explore a special testcase template for the TOC demos, rather than complexifying the main testcase template. |
Beta Was this translation helpful? Give feedback.
-
@Jermolene I did create a testcase tiddler "Examples/TOC/SimpleToc" as:
text/vnd.tiddlywiki-multiple
like soThat's OK. -- Now I do want to create a second test, that adds a fifth tiddler with an
alt
-field, to describe the<<toc captionField:alt ..>>
parameter.The code looks like this and is extremely hard to read and create. The code works as a standard tiddler, with no tag.
What I would like to do is: Create a second test-tiddler tagged:
$:/tags/wiki-test-spec
type:text/vnd.tiddlywiki-multiple
with something as follows.So there is minimal "duplication"
Beta Was this translation helpful? Give feedback.
All reactions