mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 11:00:27 +00:00
e28af8d594
* Docs for CheckboxWidget list and filter modes
This documents the `listField` and `filter` attributes.
* Tests for checkbox widget list mode
* Implement checkbox list mode
* WIP on implementing filter attr for checkboxes
* Improve CheckboxWidget documentation
* Refactor checkbox tests: move function to top
The big findNodeOfType function belongs at the top of the describe
block, so that the checkbox tests are more compact and easy to read.
* Move checkbox widget tests to end of file
The checkbox widget tests are long and involved, so we'll move them to
the end of the file so they aren't a huge block of code you need to read
past to find the next test.
* Improve formatting of CheckboxWidget docs
The \define() calls that are short enough to fit on one line should be
put on one line, for readability. The ones that are quite long have been
kept on multiple lines, for readability.
* Added more passing tests for checkbox widget
* Add some failing tests for checkbox widget
The filter mode where neither checked nor unchecked is specified (in
which case an empty filter result means false and a non-empty result
means true) is not working yet.
* Make failing tests pass
* Uncomment (and improve) test for field mode
We're now ready to start working on making this test pass. (There was
also one small mistake in the test, which this commit corrects).
* All tests now passing
* No indeterminate checkboxes in simple modes
The simple checkbox modes (field and index) should not produce
indeterminate checkboxes. That should be reserved for the advanced modes
(list and filter).
* Minor improvement to unit tests
* Allow indeterminate checkboxes in list and filter modes
This change may require some tweaks to the unit tests to be able to test
it properly.
* Slightly easier to read tests
* Two more tests for list mode
* Greatly simplify unit test code
Turns out there's no need to jump through Object.getPrototypeOf hoops.
* Minor simplification of unit test
* Add tests for indeterminate in list & filter modes
With this, the set of tests is complete.
* More tests to specify list mode behavior
* Unfocus tests so all tests run
* Update docs to say "new in 5.2.3" insetad of 5.2.2
* Move checkbox widget tests into their own file
The test-widget.js file was getting too long with all the checkbox
tests added, so we'll move the checkbox tests into their own file.
* Add checkbox widget tests for index mode
This commit also adds tests for index list mode (with a listIndex
attribute that will parallel the listField attribute) but leaves them
commented out because they don't pass yet: the code that implements the
listIndex attribute hasn't been written yet).
* Add listIndex attribute to checkbox widget
* Remove code that lets checkboxes be indeterminate
This reverts commit
|
||
---|---|---|
.. | ||
$__docs_anyField.tid | ||
$__editions_tw5.com_widget-examples_qualify-transcluded.tid | ||
ActionConfirmWidget.tid | ||
ActionCreateTiddlerWidget Example 1.tid | ||
ActionCreateTiddlerWidget Example 2.tid | ||
ActionCreateTiddlerWidget Example 3.tid | ||
ActionCreateTiddlerWidget Example 4.tid | ||
ActionCreateTiddlerWidget Template.tid | ||
ActionCreateTiddlerWidget_Example.tid | ||
ActionCreateTiddlerWidget.tid | ||
ActionDeleteFieldWidget.tid | ||
ActionDeleteTiddlerWidget.tid | ||
ActionListopsWidget.tid | ||
ActionLogWidget.tid | ||
ActionNavigateWidget.tid | ||
ActionPopupWidget.tid | ||
ActionSendMessageWidget.tid | ||
ActionSetFieldWidget.tid | ||
ActionSetMultipleFieldsWidget.tid | ||
ActionWidget Execution Modes.tid | ||
ActionWidgets.tid | ||
BrowseWidget.tid | ||
ButtonWidget.tid | ||
CheckboxWidget.tid | ||
CodeblockWidget.tid | ||
CountWidget.tid | ||
DiffTextWidget.tid | ||
DraggableWidget.tid | ||
DroppableWidget.tid | ||
DropzoneWidget.tid | ||
EditBitmapWidget.tid | ||
EditTextWidget.tid | ||
EditWidget.tid | ||
EncryptWidget.tid | ||
EntityWidget.tid | ||
EventCatcherWidget.tid | ||
FieldMangler Widget (Examples).tid | ||
FieldManglerWidget.tid | ||
FieldsWidget.tid | ||
ImageWidget.tid | ||
ImportVariablesWidget.tid | ||
JSONTiddlerWidget.tid | ||
Keyboard Codes.tid | ||
KeyboardWidget.tid | ||
LetWidget.tid | ||
LinkCatcherWidget.tid | ||
LinkWidget.tid | ||
ListopsData.tid | ||
ListWidget.tid | ||
LogWidget.tid | ||
MacroCallWidget.tid | ||
MessageCatcherWidget.tid | ||
MessageHandlerWidgets.tid | ||
NavigatorWidget.tid | ||
PasswordWidget.tid | ||
QualifyWidget.tid | ||
RadioWidget Example.tid | ||
RadioWidget ExampleTemplate.tid | ||
RadioWidget.tid | ||
RangeWidget Example.tid | ||
RangeWidget.tid | ||
RevealWidget.tid | ||
ScrollableWidget.tid | ||
SelectWidget.tid | ||
SetMultipleVariablesWidget.tid | ||
SetVariableWidget.tid | ||
SetWidget.tid | ||
TextWidget.tid | ||
The Extended Listops Filters.tid | ||
TiddlerWidget.tid | ||
TranscludeWidget.tid | ||
TriggeringWidgets.tid | ||
VarsWidget.tid | ||
ViewWidget.tid | ||
Widgets.tid | ||
WikifyWidget.tid |