1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00
TiddlyWiki5/core/ui
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
..
AboveStory Fix tw2-plugin-check warning so that more than one plugin is displayed 2016-09-30 18:27:45 +01:00
Actions New image shortcut should not add journal tags 2022-10-02 18:55:26 +01:00
AdvancedSearch Fix spacing in Standard and Filter tabs of Advanced Search (#7889) 2024-02-23 17:41:12 +00:00
Components Add fillignore attribute to transclude widget to fix visible transclusion (#7451) 2023-05-14 21:25:35 +01:00
ControlPanel Add <$testcase> widget (#7817) 2024-05-20 11:30:30 +01:00
EditorToolbar Use qualified-preview-state in default body-editor for reuse in preview button (#7795) 2024-02-14 17:22:54 +01:00
EditTemplate Fix indentation for tiddlers that set tv-config-toolbar-class (#8079) 2024-03-16 19:03:36 +00:00
EditToolbar Improve readability of the editor save-button (#7225) 2023-01-23 13:23:25 +00:00
Filters Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
ImportPreviews Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
KeyboardShortcuts Add a "Refresh Browser" keyboard shortcut (#8121) 2024-04-03 09:58:56 +01:00
Manager Trim Saga: I think this is the last batch (#6611) 2022-04-16 17:19:05 +01:00
MoreSideBar Make tag-macro and tag*-templates human readable for future improvements (#7559) 2023-06-24 14:52:43 +01:00
PageControls Fix indentation for tiddlers that set tv-config-toolbar-class (#8079) 2024-03-16 19:03:36 +00:00
PageTemplate Various accessibility improvements (#6742) 2022-06-28 14:05:52 +01:00
SideBar Simplify link widget in sidebar "open" tab (#7454) 2023-05-15 11:04:28 +01:00
SideBarSegments Various accessibility improvements (#6742) 2022-06-28 14:05:52 +01:00
TestCases Add <$testcase> widget (#7817) 2024-05-20 11:30:30 +01:00
TiddlerInfo Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
TopRightBar Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
ViewTemplate Add tag parameter to reveal-widget to fix regression (#8084) 2024-03-18 09:08:11 +00:00
ViewToolbar Fix indentation for tiddlers that set tv-config-toolbar-class (#8079) 2024-03-16 19:03:36 +00:00
AdvancedSearch.tid Trim Saga: I think this is the last batch (#6611) 2022-04-16 17:19:05 +01:00
AlertTemplate.tid Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
BinaryWarning.tid Add download button/link to binary tiddler warning banners in view and edit mode (#4423) 2020-01-31 09:13:28 +00:00
ControlPanel.tid Trim Saga: I think this is the last batch (#6611) 2022-04-16 17:19:05 +01:00
DefaultSearchResultList.tid Trim Saga: Control panel and Editor Toolbar (#6600) 2022-04-06 08:27:05 +01:00
DownloadFullWiki.tid External.js: Allow boot code to remain as tiddlers in tiddlywikicore.js (#7210) 2023-01-19 16:52:12 +00:00
EditTemplate.tid Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
ExportTiddlyWikiCore.tid External.js: Allow boot code to remain as tiddlers in tiddlywikicore.js (#7210) 2023-01-19 16:52:12 +00:00
ImportListing.tid Refactor import preview to not use a hidden table row (#7057) 2022-11-23 21:53:21 +00:00
LayoutSwitcher.tid Add icon to default page layout and show in switcher 2023-01-16 13:21:40 +00:00
ListItemTemplate.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
ListTaggedCascade.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
Manager.tid Trim Saga: whitespace trimming three big tiddlers (#6265) 2022-04-01 12:09:30 +01:00
MissingTemplate.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
PageControls.tid Use v5.3.x syntax for $:/core/ui/PageTemplate/pagecontrols (#8088) 2024-03-28 19:29:16 +00:00
PageStylesheet.tid Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
PageTemplate.tid Feat: New icon for default layout (#8020) 2024-03-04 11:38:29 +00:00
PaletteManager.tid Fix double palette entries 2022-05-20 17:13:12 +01:00
PluginInfo.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
PluginInfoDefaultContents.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
PluginListItemTemplate.tid Improve sidebar plugin listing 2021-12-07 13:17:15 +00:00
RootTemplate.tid Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
SearchResults.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
SideBarLists.tid Modularize the sidebar 2018-08-02 13:22:21 +01:00
StoryTiddlerTemplate.tid Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
SwitcherModal.tid Optionally allow click outside to close modals (#7072) 2022-12-03 17:26:44 +00:00
TagManager.tid Add indentation to $:/TagManager (#6923) 2022-11-14 17:42:17 +00:00
TagPickerTagTemplate.tid Make tag-macro and tag*-templates human readable for future improvements (#7559) 2023-06-24 14:52:43 +01:00
TagTemplate.tid Make tag-macro and tag*-templates human readable for future improvements (#7559) 2023-06-24 14:52:43 +01:00
TestCaseTemplate.tid Add <$testcase> widget (#7817) 2024-05-20 11:30:30 +01:00
TiddlerFields.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
TiddlerFieldTemplate.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
TiddlerIcon.tid Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
TiddlerInfo.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
UntaggedTemplate.tid make core/ui/MoreSideBar/Tags look nice in the story river (#7212) 2023-01-17 14:57:49 +00:00
ViewTemplate.tid Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00