Commit Graph

5255 Commits

Author SHA1 Message Date
Will McGugan
39cab0f89c docstrings 2023-02-14 17:36:57 +00:00
Will McGugan
08c3a7214e No, I repeat, no abbreviations 2023-02-14 17:28:24 +00:00
Will McGugan
5a730d7a0a typo and docstring 2023-02-14 16:48:25 +00:00
Will McGugan
df1edb087c Merge pull request #1788 from Textualize/datatable-select-headers
DataTable - Message emitted when header selected
2023-02-14 16:42:01 +00:00
Will McGugan
02044983a0 Merge pull request #1786 from Textualize/datatable-private-data
DataTable - make `data` attribute private & expand APIs for reading data
2023-02-14 16:37:50 +00:00
Will McGugan
07a968a695 Merge pull request #1638 from Textualize/datatable-cell-keys
DataTable refactor - Adds cell updating and sorting functionality
2023-02-14 16:37:04 +00:00
Darren Burns
c80299ea09 Use new docstring format 2023-02-14 16:35:35 +00:00
Darren Burns
18debed888 Small optimisations 2023-02-14 16:30:46 +00:00
Darren Burns
f28f9c4cae Docstring changes 2023-02-14 16:24:05 +00:00
Dave Pearson
d0a9656fcc Merge branch 'main' into promote-disabled 2023-02-14 16:23:05 +00:00
Will McGugan
940783df4c typing fixes 2023-02-14 16:22:20 +00:00
Dave Pearson
8ebb70efac Refresh the snapshots 2023-02-14 16:22:15 +00:00
Dave Pearson
26df6aeb00 Tidy up the disabled snapshot test 2023-02-14 16:20:52 +00:00
Will McGugan
b9726d5221 missing file 2023-02-14 16:08:53 +00:00
Dave Pearson
b4f8a6b778 Add disabled snapshot test to the general snapshot tests 2023-02-14 15:53:45 +00:00
Dave Pearson
fbd871c3d7 Start a snapshot test for disabled widgets
Eventually this should likely have every user-interactive widget within it.
Perhaps every widget.
2023-02-14 15:52:52 +00:00
Dave Pearson
13e404dc5a Merge pull request #1790 from davep/tidy-list-view-docstrings
Tidy up various docstrings in ListView
2023-02-14 15:36:09 +00:00
Darren Burns
36a9214d7f Update reactive names in DataTable reference docs 2023-02-14 15:29:05 +00:00
Will McGugan
a94c725a3b tests and changelog 2023-02-14 15:26:27 +00:00
Darren Burns
4ec5d3f9db Migrate some DataTable tests from pilot.pause to wait_for_idle 2023-02-14 15:25:33 +00:00
Dave Pearson
3cd879d2a6 Correct the wording of what the up/down actions do
There's a difference here between select and highlight and I got sloppy with
the wording. This corrects that.
2023-02-14 15:25:15 +00:00
Will McGugan
71d0017ef9 docs and refactor 2023-02-14 15:22:15 +00:00
Darren Burns
7824942f82 Typo fix in comment 2023-02-14 15:19:30 +00:00
Darren Burns
49b78daa04 Update docs to include DataTable.HeaderSelected 2023-02-14 15:18:32 +00:00
Darren Burns
50898c2d07 Added note to changelog about HeaderSelected event in DataTable 2023-02-14 15:17:49 +00:00
Darren Burns
5cf1be1cbc Adding test for HeaderSelected event in DataTable 2023-02-14 15:16:22 +00:00
Dave Pearson
f92f7786b2 Tidy up various docstrings in ListView
Adding some actions docstrings (#1729) and also tweaking a couple of others
to better conform with our docstring standard.
2023-02-14 15:11:56 +00:00
Darren Burns
df1116d776 Post an event when DataTable column header clicked 2023-02-14 15:01:02 +00:00
Dave Pearson
7763020f53 Move future import to after the module docstring
Looks like someone added this but placed it before the module docstring.
Fixing it as I notice it.
2023-02-14 15:00:57 +00:00
Dave Pearson
e26e75a9d1 Swap game_playable to use the simplified disable ability 2023-02-14 14:59:53 +00:00
Dave Pearson
5e0190c43f Add unit tests for disabled property and pseudoclass 2023-02-14 14:47:57 +00:00
Dave Pearson
b7872e2422 Merge pull request #1789 from davep/tidy-even-more-property-docstrings
Assorted docstring tidying in dom.py
2023-02-14 14:19:25 +00:00
Dave Pearson
07bc450a50 Assorted docstring tidying in dom.py
Noticed that there were a few properties that still had types in the
docstrings; which we've since decided to not do; so this removes them. Also
some other assorted docstring tweaks in the same file.
2023-02-14 14:12:25 +00:00
Darren Burns
034ae6e0bc Merge branch 'datatable-private-data' of github.com:Textualize/textual into datatable-select-headers 2023-02-14 14:08:00 +00:00
Darren Burns
f19263a974 Merge branch 'datatable-cell-keys' of github.com:Textualize/textual into datatable-private-data 2023-02-14 14:07:38 +00:00
Darren Burns
1445275220 Add HeaderSelected message to DataTable (but don't emit yet). 2023-02-14 14:05:49 +00:00
Darren Burns
9feda63b4a Merge branch 'datatable-cell-keys' into datatable-select-headers 2023-02-14 13:59:31 +00:00
Darren Burns
b6441d0417 Formatting docstrings to match style guide 2023-02-14 13:57:08 +00:00
Darren Burns
467615dabd Fix some docstrings 2023-02-14 13:51:04 +00:00
Darren Burns
100aab4015 Update CHANGELOG.md regarding making DataTable.data private 2023-02-14 13:32:02 +00:00
Darren Burns
25d5132b72 Update CHANGELOG.md regarding DataTable.get_row* and DataTable.get_column* methods 2023-02-14 13:30:47 +00:00
Darren Burns
92087784df Testing DataTable.get_column_at with invalid index 2023-02-14 13:28:48 +00:00
Dave Pearson
7c5020ddd3 Add a disabled keyword argument to the TextLog constructor 2023-02-14 13:27:44 +00:00
Darren Burns
3b7d24f9c0 Testing DataTable.get_column_at 2023-02-14 13:25:01 +00:00
Darren Burns
6d888af723 Testing DataTable.get_column with invalid column key 2023-02-14 13:22:07 +00:00
Darren Burns
af694ecb97 Testing DataTable.get_column 2023-02-14 13:18:19 +00:00
Dave Pearson
67b57d8a28 Add a disabled keyword argument to the DirectoryTree constructor 2023-02-14 13:14:52 +00:00
Dave Pearson
69af2bfd57 Add a disabled keyword argument to the Tree constructor 2023-02-14 13:11:44 +00:00
Darren Burns
16c9f15ab5 Add methods for retrieving column values to DataTable 2023-02-14 13:06:48 +00:00
Dave Pearson
20aaf0f205 Add a disabled keyword argument to the ListView constructor 2023-02-14 13:04:44 +00:00