1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 10:43:16 +00:00
TiddlyWiki5/core/modules
Jeremy Ruston ece8b0ee01
Add <$testcase> widget (#7817)
* Initial Commit

* Add note to preview build

* Fix whitespace and indenting

Thanks @pmario

* Fix crash with unset $tiddler attribute on <$data> widget

Thanks @CodaCodr

* Don't duplicate "description" field in test cases

* Use different background colours for nested testcase widgets

* Extend the testcase widget to run tests

* Add testcases to control panel

* Add a view template body template to render testcase tiddlers

* Test edition should display testcases

* Whitespace fixes

* Make testcase tiddler tempalte link to itself

* Styling tweaks

* Docs improvements

* Styling tweaks

* Run the new tw5.com testcases in the test edition

* Update data widget to display its content in JSON

* Add testcase convenience procedure

* Clearer testcases for data widget, and docs tweaks

* Don't expect our intentionally failing test to pass

* Extend testcase default template so that the display format can be chosen

It is selected by setting the variable "displayFormat"

* DataWidget docs typo

* Fix data widget not refreshing

* Links in testcase output switch to the tab containing that tiddler

Thanks to @btheado for the suggestion

* Docs update for 648855e8a5

* Wording tweak

* Add support for narrative tiddlers in test cases

* Documentation improvements

* Cleanup comments

* Remove obsolete code comments

* Simplify template

* Docs update

* Rename $:/core/ui/testcases/DefaultTemplate/SourceTabs from $:/core/ui/testcases/DefaultTemplate/Source

* Use the view template body for failing tests

* Don't reference the geospatial plugin

* "Test case" should be two words

* Fix handling of currentTiddler variable

Fixes problem reported by @btheado in https://github.com/Jermolene/TiddlyWiki5/pull/7817#issuecomment-2103704468

* Prepare for merging
2024-05-20 11:30:30 +01:00
..
commands Fix: some plugin subtiddlers do not have title in savewikifolder command (#8151) 2024-04-25 18:29:09 +02:00
editor Fix typo in 7d8766d2b9 2023-09-13 18:06:30 +01:00
filterrunprefixes Add a :then filter run prefix (#7392) 2023-06-24 18:07:34 +01:00
filters Fix cycle operator crashing if step size is larger than the number of operands 2024-03-26 16:04:13 +00:00
indexers Basic Backtranscludes filter (#6081) 2024-02-18 09:14:23 +00:00
info style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
macros Fix csvtiddlers macro crash with missing tiddlers 2024-03-06 08:36:37 +00:00
parsers Block Quotes - fix parsing error with spaces before reEndString (#8186) 2024-05-15 12:25:02 +01:00
savers Fix encodebase64 and decodebase64 filters (#7683) 2023-10-18 16:08:56 +01:00
server Fix bug 8138: server cache-control (#8141) 2024-04-11 19:23:32 +01:00
startup Report throttled refreshes (#8116) 2024-03-29 14:47:22 +00:00
storyviews Revert "Feat: destroy() method for widgets to do custom cleanup (#6699)" 2023-05-18 17:27:05 +01:00
upgraders Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
utils HTTP Client: Return success calls for all 2XX response codes (#8150) 2024-04-16 16:24:53 +01:00
widgets Add <$testcase> widget (#7817) 2024-05-20 11:30:30 +01:00
commander.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
config.js Add dollar sign to HTML entities (#7323) 2023-03-03 21:34:30 +00:00
deserializers.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
filters.js Refactor dependency on widget.getVariableInfo 2023-06-11 09:46:05 +01:00
keyboard.js Allow global keyboard shortcuts to override all other shortcuts by providing a special field (#6735) 2022-10-07 17:31:04 +01:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
saver-handler.js Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Syncer: fix object reference 2023-12-12 15:48:09 +00:00
tiddler.js Radio widget should use default if field/index is missing 2022-01-09 17:17:12 +00:00
wiki-bulkops.js Fix renaming a tiddler can result in duplicate tags 2022-01-14 16:57:30 +00:00
wiki.js Basic Backtranscludes filter (#6081) 2024-02-18 09:14:23 +00:00