1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 03:27:18 +00:00
TiddlyWiki5/editions
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
..
aws Add first release of AWS plugin 2017-07-03 20:34:58 +01:00
classicparserdemo Use https for YouTube 2017-11-18 19:53:52 +00:00
codemirrordemo Add default "tiddlywiki" styles to CodeMirror and Highlight.js (#5128) 2020-11-28 14:07:12 +00:00
d3demo Use British English (#7180) 2023-01-12 20:59:34 +00:00
de-AT Update New Release Banner filename 2023-07-01 12:59:42 +01:00
de-AT-server Remove erroneous references to en-GB language plugin 2022-12-13 09:36:10 +00:00
de-DE Clean up build errors 2023-01-17 23:13:58 +00:00
dev Docs for widget.destroy (#7508) 2023-06-13 15:57:24 +01:00
dynaviewdemo Introduce $:/tags/Global tag 2023-05-09 15:46:54 +01:00
empty Add offline-external-js to empty edition (#7737) 2023-09-13 15:55:23 +01:00
es-ES Update Jasmine website (#7533) 2023-06-11 10:36:02 +01:00
es-ES-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
fr-FR Update Jasmine website (#7533) 2023-06-11 10:36:02 +01:00
fr-FR-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
full Remove erroneous references to en-GB language plugin 2022-12-13 09:36:10 +00:00
highlightdemo Convert Rendertiddler(s) Command in Sever TiddlyWIki.info (#7124) 2022-12-23 22:42:25 +00:00
innerwikidemo Fix bug with innerwiki template 2021-10-02 16:17:07 +01:00
introduction Minor fixes for introduction edition 2023-06-01 15:30:17 +01:00
ja-JP Clean up build errors 2023-01-17 23:13:58 +00:00
katexdemo Convert Rendertiddler(s) Command in Sever TiddlyWIki.info (#7124) 2022-12-23 22:42:25 +00:00
ko-KR Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
ko-KR-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
markdowndemo Merge branch 'tiddlywiki-com' 2023-01-15 18:46:46 +00:00
pluginlibrary Fix edition file formatting inconsistencies (#7738) 2023-09-13 15:12:49 +01:00
prerelease Prepare for v5.3.2-prerelease 2023-08-20 11:45:38 +01:00
resumebuilder Fix edition file formatting inconsistencies (#7738) 2023-09-13 15:12:49 +01:00
server Convert Rendertiddler(s) Command in Sever TiddlyWIki.info (#7124) 2022-12-23 22:42:25 +00:00
server-external-js Fix edition file formatting inconsistencies (#7738) 2023-09-13 15:12:49 +01:00
share Fix accidental changes in 41a7d98e17 2020-06-07 10:30:39 +01:00
tahoelafs First pass at an --editions command 2014-10-27 21:50:25 +00:00
test Fix list widget bug with counter-last when appending items (#7712) 2023-09-24 20:19:50 +01:00
testcommonjs First pass at an --editions command 2014-10-27 21:50:25 +00:00
text-slicer Major updates to text-slicer plugin 2017-12-14 14:16:54 +00:00
translators Remove erroneous references to en-GB language plugin 2022-12-13 09:36:10 +00:00
tw5.com Merge branch 'tiddlywiki-com' 2023-09-21 18:17:28 +01:00
tw5.com-docs Convert Rendertiddler(s) Command in Sever TiddlyWIki.info (#7124) 2022-12-23 22:42:25 +00:00
tw5.com-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5tank Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5tiddlyweb Typos 2014-12-05 10:20:32 +00:00
tw.org Fix edition file formatting inconsistencies (#7738) 2023-09-13 15:12:49 +01:00
twitter-archivist Convert Rendertiddler(s) Command in Sever TiddlyWIki.info (#7124) 2022-12-23 22:42:25 +00:00
upgrade First pass at an --editions command 2014-10-27 21:50:25 +00:00
xlsx-utils xlsx-utils: Fix demo spreadsheet 2021-01-16 16:09:42 +00:00
xlsx-utils-server Add first pass at XLSX Utilities plugin 2016-10-23 22:49:59 +01:00
zh-Hans Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00
zh-Hant Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00