Commit Graph

919 Commits

Author SHA1 Message Date
Jakub Sobon 75518b5938
Adding recording of formdemo. 2020-12-30 02:11:37 -05:00
Jakub Sobon c3be258da0
Self-review. 2020-12-30 00:59:39 -05:00
Jakub Sobon ba6224f5ae
Complete demo of a text input form with keyboard navigation. 2020-12-30 00:54:50 -05:00
Jakub Sobon d30bc47245 Merge branch 'devel' into 243-formdemo 2020-12-30 00:27:32 -05:00
Jakub Sobon 9a730ded80
Merge pull request #286 from mum4k/243-button-set-callback
Allow updating the callback function on an existing button instance.
2020-12-30 00:28:57 -05:00
Jakub Sobon 93428e8091
Allow a no-op button with a nil callback. 2020-12-30 00:22:36 -05:00
Jakub Sobon d70bcd1afb
Allow updating the callback function on an existing button instance. 2020-12-30 00:10:55 -05:00
Jakub Sobon fe052262d0
Refactor form construction. 2020-12-29 23:56:11 -05:00
Jakub Sobon b91eac380d
Formdemo now displays default text in the input boxes. 2020-12-28 03:54:36 -05:00
Jakub Sobon cd7782f3b1
Merge pull request #285 from mum4k/243-textinput_default_value
DefaultText option for textinput.
2020-12-28 03:49:46 -05:00
Jakub Sobon db2fcdcffc Merge branch 'devel' into 243-formdemo 2020-12-28 03:48:27 -05:00
Jakub Sobon 0912c9dbea
DefaultText option for textinput. 2020-12-28 03:41:52 -05:00
Jakub Sobon 0af5fbc606
Make the first input box focused by default. 2020-12-27 03:23:36 -05:00
Jakub Sobon 212b5a1040
Merge pull request #284 from mum4k/243-container_set_focus
Container option that sets the container as focused.
2020-12-27 03:21:37 -05:00
Jakub Sobon 37f7af1cc0 Merge branch 'devel' into 243-formdemo 2020-12-27 03:20:27 -05:00
Jakub Sobon bcd25c80e9
Fixing a grammar mistake in the CHANGELOG. 2020-12-27 03:10:43 -05:00
Jakub Sobon 7ac5acfd6b
Container option that sets the container as focused. 2020-12-27 03:08:57 -05:00
Jakub Sobon ea6a917908
Merge pull request #283 from mum4k/281-resize_bug
Termdash no longer crashes with tcell when terminal window downsizes.
2020-12-27 03:00:58 -05:00
Jakub Sobon 9360ffff49
Bugfix: avoid crash on terminal rezise with tcell. 2020-12-27 02:53:08 -05:00
Jakub Sobon 82e52ead85
Merge pull request #282 from mum4k/243-textinput_exclusive_keyboard
Textinput can request keyboard exclusively.
2020-12-27 02:26:41 -05:00
Jakub Sobon b392e157dd Merge branch 'devel' into 243-formdemo 2020-12-27 02:25:27 -05:00
Jakub Sobon 912de88b90
Textinput can request keyboard exclusively. 2020-12-27 02:19:38 -05:00
Jakub Sobon 6c387a4be7
Adding a demo demonstrating form input. 2020-12-27 02:18:22 -05:00
Jakub Sobon 42652429b4
Correcting text in container/options.go 2020-12-27 01:17:55 -05:00
Jakub Sobon b8af2c99cc
Merge pull request #280 from mum4k/243-closed-focus-groups
Support closed focus groups.
2020-12-27 01:18:20 -05:00
Jakub Sobon d227a23d1c
Updating CHANGELOG. 2020-12-27 01:03:12 -05:00
Jakub Sobon 5c68b72bbe
Test coverage for closed focus groups. 2020-12-27 01:00:42 -05:00
Jakub Sobon 69bc767fb5
Containers can now belong to multiple focus groups. 2020-12-07 02:14:11 -05:00
Jakub Sobon bfcc2972fa
Test verifying that KeyFocusSkip has no effect on focus groups. 2020-12-07 00:55:29 -05:00
Jakub Sobon c1f1c03e95
Basic test cases for closed focus groups. 2020-12-02 01:06:23 -05:00
Jakub Sobon 916354c855
Fixing a typo in function comments. 2020-11-29 23:28:43 -05:00
Jakub Sobon fe482ab6e6
Container options for focus group support. 2020-11-29 23:21:36 -05:00
Jakub Sobon ec92395f6d
Merge pull request #277 from mum4k/243-skip-global-focus
Containers can request to be skipped when focus is moved using keyboard keys.
2020-11-29 23:00:00 -05:00
Jakub Sobon 2f36dce2ed
Containers can request to be skipped when focus is moved using keyboard keys. 2020-11-29 22:38:43 -05:00
Jakub Sobon f07f4e8534
Improving focus tests.
The test cases can now use trees with any number of containers and have
a scalable way of referring to individual containers in the tree.
2020-11-28 14:57:53 -05:00
Jakub Sobon 09baa7d379
Merge pull request #276 from mum4k/243-button-improvements
Improving the button widget.
2020-11-28 14:44:27 -05:00
Jakub Sobon dc90197592
Added method comment. 2020-11-28 14:25:29 -05:00
Jakub Sobon ee90ac89dc
Code refactor and self-review. 2020-11-28 14:24:22 -05:00
Jakub Sobon 79f696a100
Fixing a golint error. 2020-11-28 14:16:36 -05:00
Jakub Sobon 9da89424ee
Button can now be triggered by different global and focused keys. 2020-11-28 14:11:21 -05:00
Jakub Sobon 93438e3ef9
Moving formdemo out of this branch. 2020-11-28 13:31:47 -05:00
Jakub Sobon 41f0ca8baf
Merge branch 'devel' into 243-form-demo 2020-11-28 00:52:01 -05:00
Jakub Sobon 324fe3f886
Merge pull request #274 from mum4k/243-exclusive-keyboard
Allow widgets to request keyboard events exclusively.
2020-11-28 00:51:05 -05:00
Jakub Sobon 7a0560b6eb
Updating CHANGELOG. 2020-11-28 00:33:45 -05:00
Jakub Sobon 2c1b1a4bfe
Allow widgets to request keyboard events exclusively. 2020-11-28 00:32:55 -05:00
Jakub Sobon de41768dbc
Merge branch 'devel' into 243-form-demo 2020-11-28 00:06:14 -05:00
Jakub Sobon 5c2597d4db
Merge pull request #273 from mum4k/243-event-meta
Send metadata about events to widgets.
2020-11-28 00:05:28 -05:00
Jakub Sobon ceab87b797
Termdash tests exercising delivery of event metadata. 2020-11-27 23:31:17 -05:00
Jakub Sobon dc2118baa7
Container test cases exercising delivery of event metadata. 2020-11-27 23:27:31 -05:00
Jakub Sobon 03144e6469
Update instructions in CHANGELOG. 2020-11-27 23:07:40 -05:00