TiddlyWiki5/editions/tw5.com/tiddlers
Jeremy Ruston 5d1c1eaf87
Introduce multi-valued variables and let filter run prefix (#8972)
* Introduce let filter run prefix for assigning filter run result to a variable

* Get rid of the special behaviour for all[]

Not needed because the input to the filter run is available

* Fix tests

* Fix tests

* Cleanup

* Support for saving result lists in a variable

Extend let filter run prefix to store list of results, and add varlist operator for accessing variables as a list.

We already had partial support for variables returning a list of values in order for functions to work, now we extend it so that any variable can be used to store a list

We should extend the set widget so that it returns a result list that can be accessed with the varlist operator

* Docs update

* Introduce letlist widget for assigning lists to variables

Terrible name. Annoyingly, we can't overload the existing let or set widgets.

* Docs update

* Update DefaultTiddlers to highlight the new docs

* Fixed varlist crash with empty parameter

* Switch to triple brace syntax for assigning filtered lists

* Docs update

* Test for multivalued functions

* varlist operator: fixed crash accessing non-existent variable

See https://github.com/TiddlyWiki/TiddlyWiki5/pull/8972#issuecomment-2712068743

* Dispense with the letlist widget

What this PR actually does is rename the letlist widget to "let". The result is the same as using the letlist widget, but it is backwards compatible by virtue of the fact that all existing ways to access variables will only see the single value for the variable.

* Refactor the let filter run prefix to assign the input list to the variable named by the filter run

These semantics are much simpler, and allow the variable name to be computed.

* Missed off 211b135265

* Docs update

* Bug fix

* Introduce round brackets for multi-valued filter operands

Allowing us to drop the varlist operator

* Introduce => as a shortcut syntax for the let filter run prefix

Also relax the requirement for a filter run prefix to be followed by an opening square bracket

* Fix bug exposed in "Filter Operators" tiddler

See https://github.com/TiddlyWiki/TiddlyWiki5/pull/8972#issuecomment-2740003414

* Fix bug with missing variable attributes

See https://github.com/TiddlyWiki/TiddlyWiki5/pull/8972#issuecomment-2752792329

* Fix bug with round brackets for 2nd parameter onwards

* Allow functions to take multivalued parameters

* Simplify title operator

* Extend title operator to allow negated form to use multi-valued variables

* Remove duplicate test

* Update action-log widget to log multi-valued attributes

* Docs updates

* Fix typos

* Happy linter happy life

* Fix version numbers of from-version procedures

* Another incorrect version number

* Add change note

* Fix filenames of tests

* Typo

* Update let.js

* Docs updates
2025-11-22 12:29:42 +00:00
..
_tw_shared Extend release note mechanism to allow multiple github commits/prs for a change 2025-09-14 11:43:22 +01:00
about [Docs] Convert Markdown links into TW-Links. Remove redundant TiddlyWiki links. Add links to current docs. (#9209) 2025-10-28 22:12:05 +01:00
cards Improve card spacing 2024-11-06 17:08:00 +00:00
commands Docs: Fix Issue in Triggering $:/AdvancedSearch (#9244) 2025-10-28 22:11:20 +01:00
community docs: update more links for PR maker (#9362) 2025-10-23 17:48:57 +02:00
communitycards Allow community cards to be edited in the browser under Node.js 2025-09-16 11:05:04 +01:00
concepts [Docs] Fix typo in DefaultTiddlers (#9202) 2025-10-10 15:01:00 +01:00
customising Update Alternative page layouts.tid (#8461) 2024-09-10 11:39:50 +01:00
definitions [DOC] ContentType Info and Links - Add Compount Tiddler Type (#9249) 2025-10-10 15:00:43 +01:00
demonstrations [DOCS] Improve "each operator" links (#8798) 2024-12-05 12:18:16 +00:00
editions
features [DOCS] Fix link to external blog post about TW (#8934) 2025-02-14 17:54:54 +00:00
fields Fix illegal filename 2024-06-30 18:21:11 +01:00
fileformats Update docs that mention store area 2021-07-14 13:08:19 +01:00
filters Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
functions Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
gettingstarted Mark IE related things as deprecated (#8841) 2024-12-22 11:27:31 +00:00
hellothere [DOCS] Convert PNG images into WEBP to reduce wiki size by 3MB (#9162) 2025-10-10 15:02:30 +01:00
hiddensettings Merge branch 'tiddlywiki-com' 2024-12-05 20:53:30 +00:00
hire-jeremy HireJeremy: Tweaks 2025-09-20 11:52:39 +01:00
howtos [DOCS] Slightly improve the substitution documentation (#9357) 2025-11-07 19:27:20 +00:00
images Somewhat better new prerelease banner 2025-11-05 12:02:16 +00:00
languages Remove flags in language plugins (#8837) 2025-02-21 12:17:53 +00:00
learning Update ActionListopsWidget documentation including notes on de-duplication (#7301) 2023-03-04 11:48:14 +00:00
macros Deprecate some CSS property macros (#9242) 2025-11-11 16:46:02 +00:00
marketplace Add Funding and Marketplace material, and refresh HelloThere 2022-12-04 17:58:16 +00:00
mechanisms Adds info tiddlers for viewport dimensions (#9260) 2025-10-06 17:00:13 +01:00
menubar
messages Revert #8912 and #8916 2025-06-17 16:00:59 +01:00
nodejs Replace Deprecated SaveTiddler(s) with Save Command (#8710) 2024-10-30 14:15:33 +00:00
platforms Remove docs references to Beaker Browser now it is archived 2023-01-19 16:43:48 +00:00
plugins [v5.4.0] Offload server components from browser builds of TiddlyWiki (#9183) 2025-09-12 15:21:34 +01:00
pragmas Fix typo (#8994) 2025-03-27 17:22:56 +00:00
procedures Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
readme Update Netlify badge 2024-11-06 10:43:09 +00:00
reference Fix tag pill colouring 2021-11-19 10:52:13 +00:00
releasenotes Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
roadmap Update MultiWikiServer tiddler 2025-04-06 15:22:25 +01:00
saving Merge branch 'tiddlywiki-com' 2025-10-07 10:43:50 +01:00
styleguide Doc-macros, styles and documentation overview tiddler (#8037) 2024-03-10 10:41:09 +00:00
system Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
systemtags docs: Correcting typo in description field (#9087) 2025-10-28 22:16:32 +01:00
testcases Fix/Widget css leading space (#9427) 2025-11-12 11:57:02 +00:00
testimonials Experiments: Refactoring HelloThere (#8664) 2024-10-08 17:11:30 +01:00
tiddlydesktop Update TiddlyDesktop repository URL 2022-03-31 12:05:56 +01:00
variables Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
videos Improve tagging of HelloThere tiddlers 2024-10-09 15:45:28 +01:00
webserver Get-file web server route now support streaming (#9078) 2025-10-23 11:55:30 +01:00
widgets Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
wikitext Merge branch 'tiddlywiki-com' 2025-11-10 10:22:16 +00:00
workingwithtw [DOCS] Convert PNG images into WEBP to reduce wiki size by 3MB (#9162) 2025-10-10 15:02:30 +01:00
_TiddlyStudy_ by Kebi.tid Update community resources TiddlyResearch and Drift (#7198) 2023-01-10 22:18:32 +00:00
actionTiddlerList Variable.tid Add action tiddler list to droppable widget (#8256) 2024-10-24 17:51:19 +01:00
Concatenating a text reference to create a URL.tid [DOCS] Slightly improve the substitution documentation (#9357) 2025-11-07 19:27:20 +00:00
Concatenating variables to create a URL.tid [DOCS] Slightly improve the substitution documentation (#9357) 2025-11-07 19:27:20 +00:00
Core Classes.tid Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
Core Functions.tid Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
Core Messages.tid Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
Core Procedures.tid Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
Core Widgets.tid Add new reference tiddlers for the new v5.3.x concepts (#8164) 2024-09-10 17:56:10 +01:00
currentTab Variable.tid Docs: Make currentTab variable tiddler, link from it to tabs Macro (#8310) 2024-06-29 13:24:26 +01:00
Deprecated Core Classes.tid [DOCS] Add docs about deprecated classes (#9345) 2025-11-04 13:03:38 +01:00
Deprecated core macros.tid Deprecate some CSS property macros (#9242) 2025-11-11 16:46:02 +00:00
empty-tag-node-template.tid Standardise whitespace in conditional shortcut syntax (#8583) 2024-09-02 16:51:15 +01:00
function Operator (Examples).tid Add example for the function operator (#8793) 2024-12-05 12:27:18 +00:00
Hidden Setting_ Import Content Types for Editor.tid [DOCS] Rename: Hidden Setting: Import Content Types for Editor (#8727) 2024-11-03 16:06:45 +00:00
HTML Tags.tid [DOCS] Add HTML Tag info to reveal-widget (#8941) 2025-03-22 20:37:15 +00:00
Operators without parameters.tid Help beginners orient to empty filter parameters (#8353) 2024-07-09 10:40:14 +01:00
Selection Constructors Conditional.tid Fix illegal filename 2024-07-11 11:07:57 +01:00
String Operators.tid Merge PR #7661 2024-06-06 17:15:41 +01:00
Tag Operators.tid Merge PR #7661 2024-06-06 17:15:41 +01:00
tag-picker Macro (Examples).tid Docs: Clarify wording on examples for tag-picker Macro (#8348) 2024-07-09 11:07:08 +01:00
tag-pill Macro (Examples).tid Merge PR #7661 2024-06-06 17:15:41 +01:00
Tags.tid [DOCS] Improve documentation about TW Concepts (#8942) 2025-02-14 17:27:24 +00:00
TestCases_WikifyWidget_RenderHTML.tid Provide examples for the wikify widget (#8792) 2024-12-05 12:25:22 +00:00
TestCases_WikifyWidget_RenderSVGURI.tid Add another example to the wikify widget : use core svg to show an icon next to links (#8806) 2024-12-08 19:56:35 +00:00
TestCases_WikifyWidget_WidgetValue_Fail.tid Provide examples for the wikify widget (#8792) 2024-12-05 12:25:22 +00:00
TestCases_WikifyWidget_WidgetValue_Success.tid Provide examples for the wikify widget (#8792) 2024-12-05 12:25:22 +00:00
TestCases_WikifyWidget_WordCount_Fail.tid Provide examples for the wikify widget (#8792) 2024-12-05 12:25:22 +00:00
TestCases_WikifyWidget_WordCount_Success.tid Provide examples for the wikify widget (#8792) 2024-12-05 12:25:22 +00:00
TiddlyWiki Docs PR Maker.tid docs: update more links for PR maker (#9362) 2025-10-23 17:48:57 +02:00
Title.tid [DOCS] Improve documentation about TW Concepts (#8942) 2025-02-14 17:27:24 +00:00
Welcome.tid Improve content of "Welcome" tiddler 2024-10-21 17:35:53 +01:00