From 15001020fe858da8398ca37d0dd02ef65545d415 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 29 May 2024 10:33:08 +0100 Subject: [PATCH] Update release note --- .../prerelease/tiddlers/Release 5.3.4.tid | 28 ++++++++++++++++--- .../testcases/TestCaseWidget/TwoPlusTwo.tid | 18 ++++++++++++ 2 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid diff --git a/editions/prerelease/tiddlers/Release 5.3.4.tid b/editions/prerelease/tiddlers/Release 5.3.4.tid index 638afaaa2..b88a8feb8 100644 --- a/editions/prerelease/tiddlers/Release 5.3.4.tid +++ b/editions/prerelease/tiddlers/Release 5.3.4.tid @@ -1,6 +1,6 @@ caption: 5.3.4 -created: 20231223102229103 -modified: 20231223102229103 +created: 20240529100240232 +modified: 20240529100240232 tags: ReleaseNotes title: Release 5.3.4 type: text/vnd.tiddlywiki @@ -10,6 +10,8 @@ description: Under development ! Major Improvements +!! Tour Plugin + <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7734">> several new features that together allow interactive learning tours to be created and presented in TiddlyWiki. The demo TiddlyWiki interactive tour can be seen at https://tiddlywiki.com/prerelease/tour @@ -20,6 +22,20 @@ The new features include: * The new Confetti Plugin that allows animated bursts of confetti to be displayed * Improvements to the Dynannotate Plugin to add the ability to highlight screen elements using an animated spotlight effect +!! <<.wlink TestCaseWidget>> Widget + +<<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7817">> new <<.wlink TestCaseWidget>> widget that is intended to solve a problem with the examples that we feature in the documentation. The existing macros are workable for simple, self-contained examples, but can be hard to follow in cases where the examples use additional tiddlers. The <<.wlink TestCaseWidget>> widget displays complete, self-contained interactive examples showing the output together with a tabbed display of the constituent tiddlers that produce it: + +<> + +The payload tiddlers for a test case are specified with the <<.wlink DataWidget>> widget. Test cases are run as an independent, self-contained nested wiki in a similar way to the [[Innerwiki Plugin]], but are much more lightweight. The disadvantage is that test cases are rendered as part of the main page, and so any styling changes will leak out to the rest of the page. + +Test cases can also specify the raw HTML of the expected result which causes them to be executed as tests, with success or failure indicated by an icon: + +<> + +The easiest way to use the <<.wlink TestCaseWidget>> is by creating TestCaseTiddlers using the new CompoundTiddlers format. There are also many test cases to view in the TiddlyWiki test edition at https://tiddlywiki.com/prerelease/test.html + ! Translation improvements Improvements to the following translations: @@ -30,7 +46,7 @@ Improvements to the following translations: ! Plugin Improvements -* +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/8198">> badges to the core plugins to indicate their [[stability level|Plugin Stability]] from "deprecated", "experimental", "stable" and "legacy". These badges are shown in the plugin library and in the control panel ! Widget Improvements @@ -46,11 +62,13 @@ Improvements to the following translations: ! Hackability Improvements +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/7882">> infinite recursion handling using a custom exception * <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7966">> button to the JavaScript error popup allowing tiddlers to be saved to a local JSON file * <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/issues/8120">> to latest version of modern-normalize 2.0.0 ! Bug Fixes +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8186">> nested [[Block Quotes in WikiText]] * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7933">> TiddlyWikiClassic build process * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7935">> LinkWidget not refreshing when the `to` attribute changes * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/3460">> parsing bug with empty procedures/macros @@ -79,7 +97,8 @@ Improvements to the following translations: ! Developer Improvements -* +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8195">> issue with fakedom TW_Node inheritence +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8099">> SJCL library creating variables in global scope ! Infrastructure Improvements @@ -114,5 +133,6 @@ rmunn saqimtiaz sarna Telumire +twMat yaisog """>> diff --git a/editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid b/editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid new file mode 100644 index 000000000..d08260e68 --- /dev/null +++ b/editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid @@ -0,0 +1,18 @@ +title: TestCases/TestCaseWidget/TwoPlusTwo +type: text/vnd.tiddlywiki-multiple +tags: [[$:/tags/wiki-test-spec-failing]] +description: A testcase to calculate 2+2 + +title: Narrative + +This test case shows an elaborate way to calculate 2+2 involving multiple tiddlers ++ +title: Output + +The sum is <$text text={{{ [{FirstNumber}add{SecondNumber}] }}}/> ++ +title: FirstNumber +text: 2 ++ +title: SecondNumber +text: 2