mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-06 02:30:46 -08:00
* 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
|
||
|---|---|---|
| .. | ||
| #8258.tid | ||
| #8702 - darkmode-info-tiddler.tid | ||
| #8702 - palette-pluginisation.tid | ||
| #8702.tid | ||
| #8972.tid | ||
| #9078.tid | ||
| #9103.tid | ||
| #9118.tid | ||
| #9119 - sticky-flag.tid | ||
| #9119.tid | ||
| #9131 - strikethrough.tid | ||
| #9131.tid | ||
| #9135.tid | ||
| #9154.tid | ||
| #9167.tid | ||
| #9183 - core-server-pluginisation.tid | ||
| #9183.tid | ||
| #9235.tid | ||
| #9242 - deprecate-css-macros.tid | ||
| #9242.tid | ||
| #9243.tid | ||
| #9253 - textencoder.tid | ||
| #9253.tid | ||
| #9275 - remove-range-widget-ie.tid | ||
| #9275.tid | ||
| #9287.tid | ||
| #9295.tid | ||
| #9305.tid | ||
| #9313.tid | ||
| #9316 - currentcolor.tid | ||
| #9316.tid | ||
| #9328.tid | ||
| #9337 - math-filters .tid | ||
| #9337.tid | ||
| #9341.tid | ||
| #9347.tid | ||
| #9350 - deprecation.tid | ||
| #9350.tid | ||
| #9358.tid | ||
| #9371.tid | ||
| #9375.tid | ||
| #9401.tid | ||
| #9422.tid | ||
| #9427.tid | ||
| #9439.tid | ||
| #9445.tid | ||
| Release 5.4.0.tid | ||