Commit Graph

4668 Commits

Author SHA1 Message Date
Darren Burns
cc3d744168 Add row_key to RowHighlighted event in DataTable 2023-02-01 11:15:31 +00:00
Darren Burns
07e964d2ba More docstrings for the DataTable, new private property refactor for total_row_height 2023-02-01 11:14:08 +00:00
Darren Burns
655b2b3ea7 Docstring updates 2023-02-01 10:57:03 +00:00
Darren Burns
0b2b7a9646 Docstring improvements 2023-01-31 16:43:33 +00:00
Darren Burns
25abe4dbdf Expose ordered rows and ordered columns publically 2023-01-31 15:30:23 +00:00
Darren Burns
f97cdd6797 Remove redundant attribute. Add more DataTable docstrings. 2023-01-31 15:18:33 +00:00
Darren Burns
e02ef1e22c Update watcher/validator names in DataTable 2023-01-31 13:42:53 +00:00
Darren Burns
0ad26c3361 Merge branch 'main' of github.com:Textualize/textual into datatable-cell-keys 2023-01-31 13:37:41 +00:00
Darren Burns
abd35436fb Some refactoring, and add cell_key to DataTable.CellSelected 2023-01-31 13:34:13 +00:00
Darren Burns
48488e7402 Add cell_key to CellHighlighted event 2023-01-31 13:29:18 +00:00
Darren Burns
8f928f4b76 Import optimising 2023-01-31 13:05:02 +00:00
Darren Burns
206ad761d1 Merge branch 'datatable-cell-keys' of github.com:Textualize/textual into datatable-cell-keys 2023-01-31 13:03:51 +00:00
Darren Burns
95b52eef0d Refresh column widths on idle 2023-01-31 13:03:36 +00: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
Dave Pearson
8bfe4e8170 Fix unintentional indent 2023-01-31 10:36:07 +00:00
darrenburns
3aeadf2d37 Merge branch 'main' into datatable-cell-keys 2023-01-31 10:32:53 +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
Will McGugan
891e8d95a1 Merge pull request #1695 from Textualize/rodrigogiraoserrao-patch-1
Update test_animation.py
2023-01-30 19:04:41 +01:00
Will McGugan
08bb55bfb3 Merge pull request #1696 from Textualize/render-widths-test
Restore tests
2023-01-30 19:03:56 +01:00
Will McGugan
71a0a6676f docstring [skip ci] 2023-01-30 19:02:35 +01:00
Will McGugan
4aa988347f add tests 2023-01-30 18:59:23 +01:00
Rodrigo Girão Serrão
1fc2c2951c Update test_animation.py
Make it less likely for test to fail.

References: #1675
2023-01-30 17:24:15 +00:00
Darren Burns
bbe71faa21 Start adding column width updates on idle [no ci] 2023-01-30 16:59:34 +00:00
Dave Pearson
12cfec7be3 When in password mode have word-oriented actions act on whole input
The idea here is that a password field should give no hint as to what's
within, length notwithstanding. To this end have the actions that (re)move
based on word boundaries act as if a password field is always just one word.

See #1692 (and previously #1676, prompted originally by #1310).
2023-01-30 16:51:45 +00:00
Darren Burns
c69b60bd41 Tracking new rows using keys instead of indices 2023-01-30 16:32:40 +00:00
Darren Burns
6382692d11 Some comment changes 2023-01-30 16:29:31 +00:00
Rodrigo Girão Serrão
aa03373a64 Merge pull request #1673 from Textualize/doc-improvements
Documentation improvements
2023-01-30 15:52:45 +00:00
Darren Burns
61bf8c8a5a Merge branch 'main' of github.com:willmcgugan/textual into datatable-cell-keys 2023-01-30 15:51:51 +00:00
Darren Burns
73f6876c75 Sort method 2023-01-30 15:45:14 +00:00
Rodrigo Girão Serrão
ca6763d4a3 Merge branch 'main' into doc-improvements 2023-01-30 15:35:43 +00:00
Will McGugan
475cd4fb1b Merge pull request #1644 from davep/tree-deeply
Add support for a method of expanding/collapsing all tree nodes from a given node down
2023-01-30 16:27:06 +01:00
Dave Pearson
89c799d02a Merge pull request #1676 from davep/more-input-bindings
More input bindings
2023-01-30 15:20:09 +00:00
Will McGugan
11618e7029 Merge branch 'main' into more-input-bindings 2023-01-30 16:15:27 +01:00
Will McGugan
d5844f7949 Merge pull request #1689 from Textualize/scroll-sensitivity
Scroll sensitivity
2023-01-30 16:14:44 +01:00
Will McGugan
081110ff96 fix typo [skip ci] 2023-01-30 16:13:53 +01:00
Will McGugan
44b1888e61 fixed URL 2023-01-30 16:07:15 +01:00
Darren Burns
a215051eb9 Fix an incorrect type hint 2023-01-30 15:03:37 +00:00
Will McGugan
b8d15c6d61 comment 2023-01-30 16:00:57 +01:00
Will McGugan
88b155132b Merge branch 'main' into scroll-sensitivity 2023-01-30 15:59:49 +01:00
Will McGugan
ec937bc06a Merge pull request #1675 from Textualize/process-sleep
Process sleep
2023-01-30 15:58:54 +01:00
Will McGugan
9e5bcf2063 merge 2023-01-30 15:49:07 +01:00
Will McGugan
0e7941f8cd Merge pull request #1691 from Textualize/fix-snafu
fix typing
2023-01-30 15:45:59 +01:00
Will McGugan
f890a72a77 fixed comments 2023-01-30 15:45:48 +01:00
Will McGugan
c48ed3af78 comments and docstrings 2023-01-30 15:39:10 +01:00