From f54ecc23f3562a7931334576a7a02ab4f7cedf3c Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Mon, 31 Oct 2022 12:03:47 +0000 Subject: [PATCH 1/4] Fix wikification of tiddler titles in advanced search filter dropdown Closes #7017 Thanks @ericshulman --- core/ui/AdvancedSearch/FilterButtons/dropdown.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ui/AdvancedSearch/FilterButtons/dropdown.tid b/core/ui/AdvancedSearch/FilterButtons/dropdown.tid index b5c3c2ecc..b1d400aeb 100644 --- a/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +++ b/core/ui/AdvancedSearch/FilterButtons/dropdown.tid @@ -15,7 +15,7 @@ tags: $:/tags/AdvancedSearch/FilterButton
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Filter]]"> -<$link to={{!!filter}}><$transclude field="description"/> +<$link to={{!!filter}}><$let tv-wikilinks="no"><$transclude field="description"/>
From 30af537b9102369ed70213dad42ec5361c4c985e Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Tue, 1 Nov 2022 09:45:08 +0000 Subject: [PATCH 2/4] Update release note --- editions/prerelease/tiddlers/Release 5.2.4.tid | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/editions/prerelease/tiddlers/Release 5.2.4.tid b/editions/prerelease/tiddlers/Release 5.2.4.tid index 9c5ae019b..f6da952af 100644 --- a/editions/prerelease/tiddlers/Release 5.2.4.tid +++ b/editions/prerelease/tiddlers/Release 5.2.4.tid @@ -1,6 +1,6 @@ caption: 5.2.4 -created: 20221017165036377 -modified: 20221017165036377 +created: 20221101094408196 +modified: 20221101094408196 tags: ReleaseNotes title: Release 5.2.4 type: text/vnd.tiddlywiki @@ -49,6 +49,7 @@ Improvements to the translation features of TiddlyWiki: ! Hackability Improvements +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6976">> support for [[SystemTag: $:/tags/ClassFilters/TiddlerTemplate]] and [[SystemTag: $:/tags/ClassFilters/PageTemplate]] to assign dynamic CSS classes to both tiddler frames and the page template * <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6936">> new operators for reading and formatting JSON data: [[jsonget Operator]], [[jsonindexes Operator]], [[jsontype Operator]] and [[format Operator]] * <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/commit/c5d3d4c26e8fe27f272dda004aec27d6b66c4f60">> safe mode to disable wiki store indexers * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/166a1565843878083fb1eba47c73b8e67b78400d">> safe mode to prevent globally disabling parser rules @@ -60,6 +61,8 @@ Improvements to the translation features of TiddlyWiki: * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/fb34df84ed41882c1c2a6ff54f0e908b43ef95a3">> "new image" keyboard shortcut not to assign journal tags * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6987">> SelectWidget class to update if it uses a filter +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6303">> issue with availability of variables within filter runs +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/7017">> issue with wikification within the advanced search filter dropdown ! Developer Improvements From 8fe2f6086dc1829152ffa2fe866cf7f032eb4b18 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Tue, 1 Nov 2022 09:48:08 +0000 Subject: [PATCH 3/4] Update release notes credits --- editions/prerelease/tiddlers/Release 5.2.4.tid | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editions/prerelease/tiddlers/Release 5.2.4.tid b/editions/prerelease/tiddlers/Release 5.2.4.tid index f6da952af..b80ecd52a 100644 --- a/editions/prerelease/tiddlers/Release 5.2.4.tid +++ b/editions/prerelease/tiddlers/Release 5.2.4.tid @@ -84,14 +84,20 @@ Improvements to the translation features of TiddlyWiki: <<.contributors """ bestony +btheado BramChen +EvidentlyCube +FlashSystems flibbles fu-sen +joebordes +hoelzro Marxsal oflg pmario rmunn roma0104 +saqimtiaz tw-FRed twMat xcazin From 62f26d6630e4668af2c33b481230ae421ae6779e Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Tue, 1 Nov 2022 10:07:54 +0000 Subject: [PATCH 4/4] Improve genesis widget examples --- editions/prerelease/tiddlers/Release 5.2.4.tid | 2 +- .../tw5.com/tiddlers/widgets/GenesisWidget.tid | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/editions/prerelease/tiddlers/Release 5.2.4.tid b/editions/prerelease/tiddlers/Release 5.2.4.tid index b80ecd52a..3f38343a8 100644 --- a/editions/prerelease/tiddlers/Release 5.2.4.tid +++ b/editions/prerelease/tiddlers/Release 5.2.4.tid @@ -34,8 +34,8 @@ Improvements to the translation features of TiddlyWiki: * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/d62a16ee464fb9984b766b48504829a1a3eb143b">> problem with long presses on tiddler links triggering a preview on iOS/iPadOS * <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6910">> consistency of button and input elements across browsers * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/d825f1c875f5e46158c9c41c8c66471138c162d1">> edit preview to use the [[View Template Body Cascade]] -* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6970">> detection of infinite recursion errors in widgets and filters * <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/36896c3db8c9678c0385a561996248a6f00a45ff">> opening a tiddler in a new window to use the [[View Template Body Cascade]] +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6970">> detection of infinite recursion errors in widgets and filters * <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/6877">> default styles for [[styled runs|Styles and Classes in WikiText]] ! Widget Improvements diff --git a/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid b/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid index 9b324e8fa..a9d2cf713 100644 --- a/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid @@ -1,6 +1,6 @@ caption: genesis -created: 20220924140702430 -modified: 20220924140702430 +created: 20221101100729587 +modified: 20221101100729587 tags: Widgets title: GenesisWidget type: text/vnd.tiddlywiki @@ -27,3 +27,15 @@ Note that attributes explicitly specified take precedence over attributes with t <$macrocall $name='wikitext-example-without-html' src='<$genesis $type="div" class="tc-thing" label="Squeak">Mouse'/> + +<$macrocall $name='wikitext-example-without-html' +src="""\define my-banner(mode:"inline",caption) +<$genesis $type={{{ [<__mode__>match[inline]then[span]else[div]] }}} class="tc-mybanner"> +<<__caption__>> + +\end + +<> + +<> +"""/>