Commit Graph

4252 Commits

Author SHA1 Message Date
Darren Burns
be45db4573 Use autodoc for DataTable Messages reference 2023-01-17 13:00:01 +00:00
Darren Burns
23eb13d12d Some DataTable doc updates, rename Coord -> Coordinate and extract to module 2023-01-17 11:06:21 +00:00
Darren Burns
f327f1d2af Small datatable docs rewording 2023-01-17 10:11:19 +00:00
Darren Burns
9bc93cd683 Small datatable docs rewording 2023-01-17 10:06:39 +00:00
Darren Burns
b4f2da025a Add pause after datatable snapshot test 2023-01-16 16:40:01 +00:00
Darren Burns
d2fd9ec9bc Extracting some common cell/row/col highlighting logic in DataTable 2023-01-16 16:38:21 +00:00
Darren Burns
5f797aae29 Emitting ColumnSelected in DataTable 2023-01-16 16:20:07 +00:00
Darren Burns
7ef36001fd Update docstrings in DataTable 2023-01-16 16:11:52 +00:00
Darren Burns
f0ac05f1c6 Small changes to DataTable events 2023-01-16 15:26:27 +00:00
Darren Burns
ef6b13ff2d Add docstrings, remove redundant comment 2023-01-16 15:04:38 +00:00
Darren Burns
4740afc227 Emitting RowHighlighted events from DataTable 2023-01-16 14:23:21 +00:00
Darren Burns
aaa61bb9e3 DataTable emission of RowSelected events 2023-01-16 14:20:06 +00:00
Darren Burns
c70575bab5 Row selection and highlighting event definitions for DataTable 2023-01-16 14:16:14 +00:00
Darren Burns
440a7b1c4a Docstring improvements 2023-01-16 14:03:20 +00:00
Darren Burns
11aa3b22d5 DataTable cell selection and highlighting 2023-01-16 14:00:08 +00:00
Darren Burns
a93be8e0fe Add definitions of Cell related events to DataTable 2023-01-16 12:33:29 +00:00
Darren Burns
7f86ec1cec Remove unused Cell class from DataTable 2023-01-16 12:24:58 +00:00
Darren Burns
48df96dbec Remove redundant CSS from ListView 2023-01-16 12:21:45 +00:00
Darren Burns
aa5bd46a33 Reordering some methods 2023-01-16 11:39:22 +00:00
Darren Burns
71d7d61626 Hide hover cursor when type changes 2023-01-16 11:38:52 +00:00
Darren Burns
ca9d32bd2d Ensure fixed columns cursor/hover styles are correct 2023-01-16 11:36:36 +00:00
Darren Burns
92ccf84496 Some updates to test_reactive 2023-01-16 11:06:13 +00:00
Darren Burns
fa1f33ff64 Remove a sleep that is no longer required in reactive test 2023-01-16 11:02:38 +00:00
Darren Burns
65223be8be Merge branch 'main' of github.com:Textualize/textual into datatable-events 2023-01-16 11:00:10 +00:00
Darren Burns
2814e1f93c Documentation updates 2023-01-16 10:50:41 +00:00
Darren Burns
e3aebc4215 Switching to BINDINGS instead of key_* methods in DataTable 2023-01-16 10:27:45 +00:00
Darren Burns
62c05f7fbc Update datatable snapshot - hover cursor no longer shown 2023-01-16 10:01:02 +00:00
Will McGugan
45abae5888 Merge pull request #1546 from Textualize/fix-1399
Make `COMPONENT_CLASSES` inheritable and add classvar to prevent inheritance.
2023-01-15 02:43:48 -08:00
Will McGugan
974a0b8020 Merge branch 'main' into fix-1399 2023-01-15 02:43:41 -08:00
Will McGugan
2468a8ca83 Merge pull request #1555 from Textualize/rodrigogiraoserrao-patch-1
Fix tests: await all mounts before checking rendered values
2023-01-15 02:30:41 -08:00
Will McGugan
7dcfcadeeb Merge pull request #1561 from davep/tweak-query-one-docs
Tweak `query_one` and related methods docstrings
2023-01-15 02:30:29 -08:00
Will McGugan
831ef70610 Merge pull request #1558 from Textualize/reactive-work
Reactive refactor and fixes
2023-01-15 02:15:15 -08:00
Will McGugan
582aadb4b2 docstring [skip ci] 2023-01-15 10:10:52 +00:00
Will McGugan
6d57ba4623 docstring fix 2023-01-13 22:17:48 +00:00
Will McGugan
6063b0c9b2 remove comment [skip ci] 2023-01-13 21:17:19 +00:00
Will McGugan
6af2b61fc7 watching computed 2023-01-13 20:56:33 +00:00
Will McGugan
35cbd30fb7 fix superfluous scrollbars 2023-01-13 20:50:00 +00:00
Will McGugan
5f77cd189f fix reactive computes 2023-01-13 18:18:12 +00:00
Will McGugan
90f570494d docstring 2023-01-13 17:40:42 +00:00
Will McGugan
fb5dccf739 fix return 2023-01-13 17:37:02 +00:00
Will McGugan
40434e7ef1 co_compute to compute 2023-01-13 17:36:41 +00:00
Dave Pearson
9a396ece29 Expand the docstring for DOMNode.query_one
See #1560. In short: query_one was changed a couple of months back so that
it searched for only a single instance of a hit for the query, rather
than (as before) returning the first item that matched the query.
Unfortunately the docstring didn't get the necessary update.

This should hopefully make things a wee bit clearer in the docs.
2023-01-13 17:33:23 +00:00
Dave Pearson
f7c671f710 Update DOMQuery.only_one to include NoMatches in raises list
See #1560
2023-01-13 17:25:32 +00:00
Will McGugan
c3129c8331 fix inheritance 2023-01-13 17:22:52 +00:00
Rodrigo Girão Serrão
7e428e2f4c fix tests: await all mounts. 2023-01-13 10:58:57 +00:00
Will McGugan
8f0f0d8c12 refactor 2023-01-13 10:44:13 +00:00
Will McGugan
027635b978 merge 2023-01-12 17:45:36 +00:00
Darren Burns
ba997a8e2b Ensure cursor position always respects fixed columns 2023-01-12 17:13:05 +00:00
Rodrigo Girão Serrão
feb8591e72 Fix test: await widget mount before focusing
Follow-up to #1548
2023-01-12 16:11:36 +00:00
Rodrigo Girão Serrão
510df0c375 Merge branch 'main' into fix-1399 2023-01-12 15:50:06 +00:00