1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

897 Commits

Author SHA1 Message Date
Jakub Sobon
912de88b90
Textinput can request keyboard exclusively. 2020-12-27 02:19:38 -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
Jakub Sobon
6a4dc1dc3f
Fakewidget now indicates focus state when an event is received. 2020-11-27 22:56:37 -05:00
Jakub Sobon
bb95f538ca Merge branch 'devel' into 243-form-demo 2020-11-27 15:13:32 -05:00
Jakub Sobon
31c7a24041
Button now supports separate color values for text chunks.
Custom color values can be specified for each of its main states.
2020-11-27 15:11:59 -05:00
Jakub Sobon
cf9554ae9f
Renaming WriteOptions to TextOptions. 2020-11-25 10:16:51 -05:00
Jakub Sobon
0643120697
Button's support for cell options on each text cell. 2020-11-25 02:28:05 -05:00
Jakub Sobon
73644716a5
Button can be drawn without horizontal padding around its text. 2020-11-25 01:44:50 -05:00
Jakub Sobon
ce3adfb084
Button can be drawn without the shadow and animation. 2020-11-25 01:24:38 -05:00
Jakub Sobon
1925141c66
Updating CHANGELOG. 2020-11-24 23:03:28 -05:00
Jakub Sobon
3a0d044a4d
Allow button to specify multiple trigger keys. 2020-11-24 23:02:21 -05:00
Jakub Sobon
43c0f26c5e
Updating CHANGELOG. 2020-11-24 22:05:20 -05:00
Jakub Sobon
dd6acb15e1
Give metadata about events to widgets. 2020-11-24 22:03:58 -05:00
Jakub Sobon
891a672716
WIP: Button can be configured to accept multiple keys as triggers. 2020-11-24 20:30:58 -05:00
Jakub Sobon
4356b6f23b
Merge pull request #271 from mum4k/243-key-based-focus
Improving comments and readability nits.
2020-11-24 20:07:13 -05:00
Jakub Sobon
bd1a2ef7a3
Improving comments. 2020-11-24 19:48:35 -05:00
Jakub Sobon
42af42e991
Merge pull request #270 from mum4k/243-key-based-focus
Ability to move focus using keyboard.
2020-11-24 19:48:32 -05:00
Jakub Sobon
ff431b782d
e2e test cases for keyboard based focus changes. 2020-11-24 15:19:14 -05:00
Jakub Sobon
765556fe8e
faketerm diff: only print cells with differences. 2020-11-24 15:18:50 -05:00
Jakub Sobon
e4edc8f15a
Ability to focus the previous container using keyboard. 2020-11-24 14:24:08 -05:00
Jakub Sobon
1fd4b044cf
Clarifying the meaning of DFS. 2020-11-23 22:44:28 -05:00
Jakub Sobon
e8565e739d
Correcting documentation for the new options. 2020-11-23 22:42:29 -05:00
Jakub Sobon
0b94ed0f7c
Updating CHANGELOG. 2020-11-23 22:35:08 -05:00
Jakub Sobon
0771a92dc2
Ability to move focus to the next container using a key. 2020-11-23 22:33:24 -05:00