Every core widget and macro doc page now carries its name as caption, so
`#:[tag[Widgets]field:caption[<name>]]` opens the right page.
- Fix QualifyWidget's caption, which said `vars` like VarsWidget
- Add the missing captions to EventCatcherWidget, MessageCatcherWidget,
keyboard-driven-input Macro and show-filter-count Macro
Calls stated that a value needs no delimiters if it contains no spaces or
quotes. A colon also requires them: name:value is call syntax, so the text
before the colon is read as a parameter name and the positional parameter
receives nothing, silently.
Call Syntax already has this right - param-name ":" value is one of its
productions - so this brings the prose into line with the grammar, and adds
a warning naming the two ways round it.
Document the button widget with runnable test cases and explain how its
attributes combine.
* Add eleven test case tiddlers, listed by title prefix so a new one needs
no edit to the widget page
* Describe the order in which a button runs body actions, to, message,
popup, set and actions, whatever order they are written in
* Prefer class over a hardcoded style
* Add GroupedLists examples
Document grouped lists with runnable test cases over a shared
bibliography sample.
* Cover plain grouping, search, tabs by first character, both combined,
and grouping on one field while searching another
* Name the grouped field in one procedure, so the grouping changes in
one line
* Import it with import-compound, and list the examples by tag so a new
one needs no page edit
* Rewrite the opening paragraph, which described only the sidebar tabs
* Replace GroupedLists code dumps with examples
Turn the two sidebar tabs the page describes into runnable test cases,
and tighten how the examples handle an empty result.
* Give each new example its own dummy payload, and point the page at the
live tabs instead of quoting core source
* Carry the values through the filter from the start, so an All tab with
no matches yields nothing rather than the literal All
* Use the list-empty widget
* use tc-tiny-gap instead of -left -right
* [DOCS] Update [[Custom Widgets]] with new example for overriding LinkWidget
* fix: non-svg link icon are now sizing properly
* replace HelloThere by list-link in the example for robustness
* Add class to span for better styling in Custom Widgets
* Fix typo in Custom Widgets.tid documentation
* Improve doc by using the proper macro to link widgets
* Change font size style to important for title icon
Updated the font size style for the title icon to be important.
* Update transclude and slot elements in Custom Widgets
Provide a fallback if no body for the link is given
* Enhance link widget to show icons conditionally
Updated the link widget to conditionally display an icon next to the link based on the target tiddler's icon field. Modified the rendering logic to use a conditional statement for the icon display.
* Change transclude height to size in Custom Widgets
* Fix invalid source positions in parse tree nodes
Several wikitext rules recorded start and end offsets that did not match
the source they represent. The offsets are only used for source position
mapping, not rendering or serialization, so output is unchanged and
source.slice(start, end) now equals the node text.
* import: the filter attribute start was set to the whole source string
instead of the numeric offset. It used this.parser.source where it
meant this.parser.pos, so every \import node carried a copy of the
entire source as its start.
* codeinline: the text node end pointed past the closing backtick, so the
span included the closing delimiter and could read one or two characters
too far. It now ends where the content ends.
* wikilinkprefix and extlink: a suppressed link such as ~SomeLink or
~http://example.com produced a text node whose span included the
leading ~ while its text did not. The span now starts after the ~.
* Add 5.4.1 change note for #9882
Document the parse tree source position fixes: inline code, suppressed
external links, suppressed wikilinks, and the import filter rule.
* Add tests for parse tree source positions
Cover the four wikitext parser rules whose `start` and `end` offsets are
corrected in this PR: codeinline, extlink, wikilinkprefix, and import.