Commit Graph

37 Commits

Author SHA1 Message Date
Robin Munn 64812f5c06
Add join attribute to list widget (#7694)
* Add join attribute to list widget

* Use new join attribute in HTML saving templates

This simplifies the logic involved in saving tiddlers in JSON format
into TW html files, and should also slightly speed up the saving process
depending on how often that list widget gets refreshed.

* Unit tests for list widget's new join attribute

* Add `<$list-join>` widget

Allows specifying complicated join text more easily than an attribute
2023-11-25 09:35:05 +00:00
Jeremy Ruston 4c9c85aec5
Add support for list-template and list-empty widgets for specifying list widget templates (#7784)
Cherry picked from #7710
2023-10-14 09:31:11 +01:00
Mateusz Wilczek 643819f5f5
Add docs on achieving unique `tag` macro dropdowns inside `list` widget (#7639) 2023-07-31 12:09:46 +01:00
jeremy@jermolene.com 75865385a6 Docs: Fix typos
Thanks @amreus

Fixes #6860

Fixes #6859
2022-07-31 15:23:58 +01:00
jeremy@jermolene.com 93717560dc Docs: Update advice about using counter attribute of list widget 2022-07-18 12:03:42 +01:00
jeremy@jermolene.com b9c3c38edc List widget: Clarify performance optimisation impact of counter attribute 2021-10-02 18:27:50 +01:00
jeremy@jermolene.com dbfd45814d Search and replace "v5.1.24" to "v5.2.0"
As discussed in #5708
2021-07-14 09:21:37 +01:00
jeremy@jermolene.com 4a99e0cc7d Change "index" attribute of list widget to "counter", and use 1-based counting
Extends #5611
2021-04-26 14:41:26 +01:00
Jeremy Ruston 85ba7ac041
Extend list widget with "index" attribute (#5611)
* Extend list widget with "index" attribute

* Fix refreshing bug

* Clarify performance note
2021-04-20 09:15:11 +01:00
Jeremy Ruston 1e8a56768f Update ListWidget docs
Fixes #3964
2019-06-08 17:34:06 +01:00
Marxsal 7cd1c48643 Doc - additional notes re list widget behavior (#3480) 2018-11-06 15:33:00 +00:00
AlexHough 521c1f6068 Docs: add Lists tag to ListWidget (#3144) 2018-03-05 11:20:27 +00:00
nameanyone 12e3e8b489 Fix a link to GroupedTiddlers (#2537) 2016-08-15 18:42:26 +01:00
Astrid Elocson e4525a95c5 Try again to resolve merge conflict in LinkWidget.tid 2015-02-25 08:01:38 +00:00
Jermolene 74f423af2a Restoring some of @tobibeer's other edits to ListWidget docs 2015-02-13 22:56:28 +00:00
Jermolene 68165af081 Revert #1330 ("implements list iterator variables")
As discussed on the ticket, there is a problem:

https://github.com/Jermolene/TiddlyWiki5/pull/1330#issuecomment-74339195
2015-02-13 22:42:36 +00:00
Tobias Beer 80631b35ea updated NestedLists, renamed to GroupedLists added tw-code macro
Didn't implement the codeblock widget as suggested here...

https://github.com/Jermolene/TiddlyWiki5/pull/1332#discussion_r22762157

...because it would only return `undefined`.
2015-01-11 11:55:22 +01:00
Tobias Beer 3d61dd1aa9 documentation for #1330
heavily modified ListWidget
extracted NestedLists

added IteratorVariables
2015-01-06 21:18:28 +01:00
Jermolene 3d07b11894 Docs update
Fixes #1014 raised by @erwanm
2014-10-27 19:39:41 +00:00
Evolena 2fe095fcd1 Fix bad links 2014-10-12 13:59:26 +02:00
Jermolene 115245a632 Improve storyview error detection
Fixes #912
2014-09-27 10:34:59 +01:00
Jermolene e20ef97c27 More mangling of reference docs 2014-09-11 00:06:19 +01:00
Jermolene def4aca200 Update filter docs 2014-09-10 23:42:13 +01:00
Jermolene f223310d34 Yet more "tw-*" -> "tc-*"
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene 260d3ad8c0 Docs typo 2014-04-13 09:23:57 +01:00
Jermolene bad2e36e45 Remove obsolete itemClass attribute on the list widget 2014-01-12 17:01:18 +00:00
Jermolene 2ffcbb76eb Remove modifier and creator fields from tiddlers in tw5.com
Keeps things tidier
2013-12-11 07:57:12 +00:00
Jeremy Ruston 786f17d3b4 Docs update for list widget 2013-11-05 08:52:46 +00:00
Jeremy Ruston 0b1f0a5fab Refactor the list widget to get rid of some hacks
As promised.
2013-11-02 10:12:55 +00:00
Jeremy Ruston fbc1f5e5f6 Lots and lots and lots of docs updates
Now we've got up-to-date skeleton documentation for all the widgets
2013-10-31 22:03:40 +00:00
Jeremy Ruston c4d7401f02 Lots of docs updates 2013-08-30 20:06:23 +01:00
Jeremy Ruston 1ebe0d39b2 Get rid of the 'docs' tag
It was unnecessary, since everything here is documentation
2013-08-25 21:41:00 +01:00
Jeremy Ruston be06257430 Split "transclude" widget into a separate "tiddler" and "transclude" widget
Belatedly realised that the design would be clearer without these two
separate concepts being conflated into a single widget.

As a result of this change, any other widget or template that generates
transclude widgets has needed adjustment.
2013-08-24 16:45:45 +01:00
Jeremy Ruston d4a571ae79 Docs updates 2013-08-20 15:18:15 +01:00
Jeremy Ruston bc56253479 Extend the list widget to allow the generated HTML elements to be controlled
This makes it possible to generate UL or OL lists as well as the
current divs and spans.

This feature is clearly necessary but I'm not very happy with it. It
feels as though the syntax should be modifying a UL tag to specify the
extra information required to generate the list, rather than turning
the list widget to indirectly specify it's elements.
2013-08-19 11:08:00 +01:00
Jeremy Ruston 3426c89330 Update list widget docs 2013-08-18 20:42:17 +01:00
Jeremy Ruston 6be8afe49f Extend the list widget to allow it to render each element as a macro
This will enable us to drop several existing widgets: fields,
fieldlist, fieldgrid
2013-08-13 19:33:45 +01:00