TiddlyWiki5/core
Robin Munn 8effb3f218
Fix list widget bug with counter-last when appending items (#7712)
* Add failing test for list widget with counter-last

The failing test appends a value to a list without changing the rest of
the list, and the counter-last value doesn't get updated correctly when
that happens. Also added another test, which passes, testing removing
the last item of the list, just in case of a regression.

* Improve unit tests for counter-last list widget bug

The unit tests were looking very similar to each other, so I factored
out the common code and made them into simple data-driven tests.

* Fix bug where counter-last fails in list widget

The only scenario that was failing was when counter-last was used, but
the list was strictly appended to with no other changes made. The one
unit test that was failing now passes with this fix.

* Improve bugfix to list widget counter-last

Now we only refresh the last item if it was truly necessary.
2023-09-24 20:19:50 +01:00
..
images Fix whitespace within new journal button image 2023-07-17 09:33:38 +01:00
language Tweak wording of server command help 2023-09-06 12:33:09 +01:00
modules Fix list widget bug with counter-last when appending items (#7712) 2023-09-24 20:19:50 +01:00
palettes Add tm-http-request message for making HTTP requests (#7422) 2023-06-13 10:35:55 +01:00
templates Revert "Bidirectional text improvements (#4541)" 2023-06-21 17:13:33 +01:00
ui Edittemplate delete button should also delete the typeInputTiddler (#7749) 2023-09-21 17:57:53 +01:00
wiki Fix missing closing tag in tag-pill-inner macro 2023-08-25 14:06:17 +01:00
acknowledgements.tid Update Jasmine website (#7533) 2023-06-11 10:36:02 +01:00
copyright.tid It's 2023 2023-01-02 15:47:24 +00:00
icon.tid Parameterise core icons (#7413) 2023-05-06 12:08:46 +01:00
plugin.info Minor tweaks to plugin library listings 2020-04-06 10:15:18 +01:00
readme.tid Add/update plugin readmes 2014-08-07 15:49:52 +01:00
sjcl-license.tid Move SJCL license file into core plugin 2017-04-23 09:53:18 +01:00

readme.tid

title: $:/core/readme

This plugin contains TiddlyWiki's core components, comprising:

* JavaScript code modules
* Icons
* Templates needed to create TiddlyWiki's user interface
* British English (''en-GB'') translations of the localisable strings used by the core