Commit Graph

3534 Commits

Author SHA1 Message Date
Rodrigo Girão Serrão
b4262201ae Update mkdocs.yml 2022-12-16 13:13:08 +00:00
Rodrigo Girão Serrão
92391339ae Fix link typo 2022-12-16 11:49:07 +00:00
Dave Pearson
4512d33c90 Merge pull request #1373 from davep/list-item-checks-fix
Correct the check list for the `ListItem`
2022-12-15 16:27:05 +00:00
Dave Pearson
c90e4adaf8 Correct the check list for the ListItem
The checks in the list, which were unckecked, needed spaces in them to
render correctly in the docs.
2022-12-15 16:23:49 +00:00
Dave Pearson
b9f2382f96 Merge pull request #1360 from davep/5x5-cursor-keys
Make the cursor keys work in 5x5 again
2022-12-15 14:18:56 +00:00
Will McGugan
4dcdea8940 Merge pull request #1361 from Textualize/key-display-fixes
Ensure only printable keys added to footer
2022-12-15 14:07:28 +00:00
Dave Pearson
251e756231 Merge pull request #1362 from davep/export-typing-types
Export the types that _typing.py imports and makes available
2022-12-15 13:46:42 +00:00
Dave Pearson
29ef8e888b Merge pull request #1365 from davep/binding-merge-docstring-typo
Correct what looks to be a typo in the Bindings.merge docstring
2022-12-14 16:56:31 +00:00
Dave Pearson
c95cd96e50 Correct what looks to be a typo in the Bindings.merge docstring
In the given context, I suspect subsequent makes more sense than subsequence.
2022-12-14 16:38:41 +00:00
Dave Pearson
b2ac3f66c8 Merge pull request #1363 from davep/prune-unused-mounterror-import
Remove unused import of MounrError in app.py
2022-12-14 16:00:21 +00:00
Dave Pearson
e9de8a2d44 Remove unused import of MounrError in app.py
Noticed while passing by.
2022-12-14 15:29:25 +00:00
Dave Pearson
29a9827ba1 Export the types that _typing.py imports and makes available
Mostly adding this so that it turns this:

$ poetry run mypy --strict binding.py
binding.py:8: error: Module "textual._typing" does not explicitly export attribute "TypeAlias"  [attr-defined]
Found 1 error in 1 file (checked 1 source file)

into this:

$ poetry run mypy --strict binding.py
Success: no issues found in 1 source file
2022-12-14 14:53:20 +00:00
Darren Burns
e01c33c06a Snapshot updates 2022-12-14 14:21:41 +00:00
Darren Burns
473c5c5a51 Update CHANGELOG 2022-12-14 14:13:06 +00:00
Darren Burns
1acc36084b Add non-printable key to footer snapshot 2022-12-14 14:07:26 +00:00
Darren Burns
114d028ac7 Ensure only printable keys added to footer 2022-12-14 14:07:05 +00:00
Dave Pearson
0f25031735 Make the cursor keys work in 5x5 again
The cursor keys stopped working in 5x5 once binding inheritance was
introduced in 0.6.0 (see #1343). Making them `universal` keys here fixes the
issue. This won't be the final form of this change, but this fixes this
example so that it works with 0.6.0 (so anyone cloning down the code and
running with an installed 0.6.0 will get the full effect).

Once the final work resulting from #1343 takes place this will need a final
update (and should be a good test example for the changes).
2022-12-14 11:51:17 +00:00
Will McGugan
a8c3018ba3 Merge pull request #1352 from Textualize/fix-1351
Fix binding merging when binding inheritance is set to `False`.
2022-12-13 16:37:15 +00:00
Rodrigo Girão Serrão
e9a5995c47 Update changelog. 2022-12-13 16:19:47 +00:00
Rodrigo Girão Serrão
f5dbdc9ee1 Merge branch 'main' into fix-1351 2022-12-13 16:18:39 +00:00
Rodrigo Girão Serrão
94c05aa876 Fix binding merging a la #1336 2022-12-13 16:16:04 +00:00
Rodrigo Girão Serrão
6d480056e5 Add a test for binding merging. 2022-12-13 16:15:28 +00:00
Will McGugan
9acdd70e36 Merge pull request #1350 from Textualize/fix-decimate
move refresh
2022-12-13 15:54:06 +00:00
Rodrigo Girão Serrão
d49477ce5a Merge pull request #1336 from Textualize/fix-1335
Fix default CSS retrieval from widgets with no `DEFAULT_CSS` that inherit from widgets that do have `DEFAULT_CSS`
2022-12-13 15:43:07 +00:00
Rodrigo Girão Serrão
37dec51432 Simplify default css retrieval.
By making use of __dict__ we have a simpler way of determining if the class defines its own default_css which does not involve comparing with the base class's default_css.
2022-12-13 15:06:47 +00:00
Will McGugan
966c4d0db9 move refresh 2022-12-13 10:35:22 +00:00
Will McGugan
338d74cd46 Merge pull request #1339 from davep/event-props
Add some missing widget event attributes
2022-12-13 09:26:04 +00:00
Will McGugan
df041d002a fix path 2022-12-13 08:48:39 +00:00
Dave Pearson
24d479f6d5 Keep black happy 2022-12-11 21:54:37 +00:00
Dave Pearson
9404af0080 Add attribute documentation to ListView.Selected 2022-12-11 21:48:23 +00:00
Dave Pearson
bed2d2ae67 Add attribute documentation to ListView.Highlighted 2022-12-11 21:47:39 +00:00
Dave Pearson
7394949fa9 Add attribute documentation to Button.Pressed 2022-12-11 21:46:13 +00:00
Dave Pearson
25a24fc3e6 Add attribute documentation to Tree.NodeCollapsed 2022-12-11 21:45:31 +00:00
Dave Pearson
1e1289f5e2 Add attribute documentation to Tree.NodeExpanded 2022-12-11 21:45:19 +00:00
Dave Pearson
23e21d7cc0 Add attribute documentation to Tree.NodeSelected 2022-12-11 21:45:02 +00:00
Dave Pearson
058921110e Clean up trailing whitespace 2022-12-11 21:44:41 +00:00
Dave Pearson
420e261dab Add attribute documentation to Input.Submitted 2022-12-11 21:40:37 +00:00
Dave Pearson
9bd2542f39 Add attribute documentation to Input.Changed 2022-12-11 21:38:07 +00:00
Dave Pearson
1fc7e74ea7 Correct typo in the Checkbox input description
Apparently I can't type on Sunday nights.
2022-12-11 21:37:34 +00:00
Dave Pearson
d39dd14d67 Add attribute documentation to Checkbox.Changed 2022-12-11 21:36:01 +00:00
Will McGugan
ed83f7c806 Merge pull request #1338 from mattkram/patch-1
Very simple typo fix
2022-12-11 17:08:17 +00:00
Matt Kramer
7bf0998f81 Very simple typo fix
Just came across a minor typo while reading the release notes. Great work!
2022-12-11 09:59:17 -06:00
Will McGugan
71e86cea96 diff links v0.6.0 2022-12-11 13:21:49 +00:00
Will McGugan
0bcd26091f Merge pull request #1337 from Textualize/0.6.0
new blog post
2022-12-11 13:20:21 +00:00
Will McGugan
b3fa5d1fe4 typing 2022-12-11 09:35:42 +00:00
Will McGugan
76695000d4 fix text log 2022-12-11 08:21:46 +00:00
Will McGugan
9aac3a0cca updated list view 2022-12-10 18:18:28 +00:00
Will McGugan
be7f085ed9 added output to release blog 2022-12-10 18:12:48 +00:00
Will McGugan
f51234498a tweaked placeholder 2022-12-10 18:00:43 +00:00
Will McGugan
c76d616521 updated snapshot 2022-12-10 17:54:57 +00:00