Commit Graph

4646 Commits

Author SHA1 Message Date
Will McGugan
25b498896d checker 4 and diagram 2023-02-04 11:28:07 +01:00
Will McGugan
a5808db8b8 more docs and diagrams 2023-02-03 19:10:03 +01:00
Will McGugan
2ff278874b docs examples and diagrams 2023-02-03 11:23:14 +01:00
Will McGugan
806c80b8fe simplify 2023-02-01 17:14:53 +01:00
Will McGugan
0a5838d964 checker example 2023-02-01 16:26:55 +01:00
Will McGugan
9e5814ed0f Strip improvements and line api 2023-02-01 16:22:14 +01:00
Rodrigo Girão Serrão
faa2ee68d7 Merge pull request #1706 from Textualize/document-sub-title
Document setting (sub) title in the app guide
2023-02-01 15:08:43 +00:00
Rodrigo Girão Serrão
2140aa52d2 Update docs/guide/app.md 2023-02-01 14:53:20 +00:00
Will McGugan
8ddd52962b Merge pull request #1708 from davidbrochart/docs
Fix typo
2023-02-01 12:40:17 +01:00
Rodrigo Girão Serrão
476eca7a6e Shuffle sections around. 2023-02-01 11:30:56 +00:00
David Brochart
d1790caff7 Fix typo 2023-02-01 12:25:00 +01:00
Rodrigo Girão Serrão
521e90488c Add context about (sub)title. 2023-02-01 11:08:13 +00:00
Rodrigo Girão Serrão
828d8d2cf1 Replace Static with Label. 2023-01-31 17:31:36 +00:00
Rodrigo Girão Serrão
c14f635244 Document setting app (sub)title. 2023-01-31 17:31:06 +00:00
Dave Pearson
6f24331564 Merge pull request #1703 from davep/lowkey-tree-selection
Lowkey tree selection
2023-01-31 16:27:15 +00:00
Dave Pearson
b0a29050cf Update snapshots after change of unfocused tree cursor handling 2023-01-31 16:20:41 +00:00
Dave Pearson
f2e756b695 Update the CHANGELOG 2023-01-31 15:54:27 +00:00
Dave Pearson
6e1f18910a Keep a visible, but darker, cursor in Tree when it doesn't have focus
See #1471. It seems useful and important for a Tree to still have a cursor
visible even when it doesn't have focus -- that ways someone can build a UI
where the user can tab away from the tree to something that relates to the
node, and still see which node is in play.
2023-01-31 15:51:31 +00:00
Rodrigo Girão Serrão
40fde8cfb9 Merge pull request #1610 from Textualize/fix-1607
Fix #1607 to allow programmatic style changes
2023-01-31 15:13:24 +00:00
Rodrigo Girão Serrão
c79f19c1c7 Rename attribute. 2023-01-31 15:07:30 +00:00
Dave Pearson
4143bd7ee5 Merge pull request #1701 from davep/CHANGELOG-tweak
Fix wording of entry in CHANGELOG to match lines around it
2023-01-31 14:48:17 +00:00
Dave Pearson
1cc5b3799c Fix wording of entry in CHANGELOG to match lines around it 2023-01-31 14:45:28 +00:00
Dave Pearson
ff76157479 Merge pull request #1700 from davep/tree-select-expand-divorce
Enhance `Tree` so that there is a expand/collapse action that is separate from select
2023-01-31 14:33:43 +00:00
Will McGugan
fc22576691 Merge pull request #1699 from Textualize/auto-width-inputs
Auto width inputs
2023-01-31 14:46:03 +01:00
Dave Pearson
6db5217f3e Modify Tree message unit tests to take new action in to account
See #1433.
2023-01-31 13:32:46 +00:00
Dave Pearson
2086b713db Update the CHANGELOG 2023-01-31 13:17:58 +00:00
Dave Pearson
606af8d3a2 Correct a typo in the docstring of action_scroll_end 2023-01-31 13:12:03 +00:00
Dave Pearson
9e406f525e Add a docstring to action_scroll_end 2023-01-31 13:03:23 +00:00
Dave Pearson
ca773f4350 Add a docstring to action_scroll_home 2023-01-31 13:02:34 +00:00
Dave Pearson
b2aecfa847 Add a docstring to action_page_up 2023-01-31 13:00:06 +00:00
Dave Pearson
17d84bc75b Add a docstring to action_page_down 2023-01-31 12:51:41 +00:00
Dave Pearson
84fa94978e Add a docstring to action_cursor_down 2023-01-31 12:51:04 +00:00
Dave Pearson
93d4863e0b Add a docstring to action_cursor_up 2023-01-31 12:50:40 +00:00
Dave Pearson
ca224b76ab Add a docstring to action_toggle_node 2023-01-31 12:50:12 +00:00
Dave Pearson
775165ec12 Add a docstring to action_toggle_node
I want to add docstrings to the actions I'm adding as part of #1700, so with
this in mind I'm going to add docstrings to all the actions.
2023-01-31 12:48:19 +00:00
Dave Pearson
5c17bc3482 Add a toggle action to Tree, along with a new binding
See #1433. The idea here is that the user has an option of
expanding/collapsing a non-leaf node without causing a selected event,
or (with auto_expand turned off) cause a selected event without an
expand/collapse event.

As this will need a new binding, I've chosen the space bar as the key to
toggle the expanded state.
2023-01-31 12:36:22 +00:00
Will McGugan
e446695684 snapshot fix 2023-01-31 12:53:32 +01:00
Will McGugan
330db5fc80 snapshot 2023-01-31 12:43:07 +01:00
Dave Pearson
f1f3e20148 Merge pull request #1694 from davep/input-wordless-passwords
When in password mode have word-oriented actions act on whole input
2023-01-31 11:20:57 +00:00
Will McGugan
bfa586fdcd changelog url 2023-01-31 12:16:21 +01:00
Will McGugan
632cfc77b0 changelog 2023-01-31 12:14:36 +01:00
Will McGugan
be5a67e903 fix auto width glitch 2023-01-31 12:13:25 +01:00
Dave Pearson
8bfe4e8170 Fix unintentional indent 2023-01-31 10:36:07 +00:00
Will McGugan
dc1c4dad0e Merge pull request #1698 from Textualize/fix-paste
Fix paste and test
2023-01-31 11:27:58 +01:00
Will McGugan
2ec01916d0 unused import 2023-01-31 11:16:48 +01:00
Will McGugan
6e7fd08890 change log [skip ci] 2023-01-31 11:14:23 +01:00
Will McGugan
dc02b22d7c Fix paste and test 2023-01-31 11:12:47 +01:00
Dave Pearson
928a289c0e Add extra unit tests for password field deletion
Here we're just testing the exceptional situations.
2023-01-30 20:38:19 +00:00
Dave Pearson
5fc16c6af0 Add extra unit tests for password field movement
Here we're just testing the exceptional situations.
2023-01-30 20:34:22 +00:00
Will McGugan
62cede54ef docstring update 2023-01-30 19:24:16 +01:00