Commit Graph

4528 Commits

Author SHA1 Message Date
Darren Burns
c34f4becfe Fixing data table tests 2023-01-30 14:37:41 +00:00
Darren Burns
bd29bd7846 Remove an unused print, simplify content width calculation 2023-01-30 14:29:34 +00:00
Darren Burns
5cccce85ef Updating column widths accounting for labels 2023-01-30 14:04:58 +00:00
Darren Burns
8d6529daad Recomputing column size on cell update 2023-01-30 13:46:56 +00:00
Darren Burns
d6412e1403 Header row key in DataTab;e 2023-01-30 10:21:58 +00:00
Darren Burns
803c044f4b Add a docstring for update_cell 2023-01-30 10:13:07 +00:00
Darren Burns
cef1a32f5c Use textual._typing TypeAlias 2023-01-30 10:08:36 +00:00
Darren Burns
9cd72db7e7 Merge branch 'main' into datatable-cell-keys 2023-01-30 10:01:26 +00:00
Will McGugan
36188ae0dc Merge pull request #1659 from Textualize/fix-1372
Keep track of scheduled animations
2023-01-27 10:10:26 +01:00
Darren Burns
85ad9f1414 Type aliases for datatable cachees 2023-01-26 16:32:37 +00:00
Darren Burns
aee100ff10 Removing redundant data from DataTable.Row 2023-01-26 14:05:31 +00:00
Darren Burns
297119d9b6 Merge branch 'main' of github.com:Textualize/textual into datatable-cell-keys 2023-01-26 14:02:09 +00:00
Darren Burns
9d2ddfa86e Remove DataTable Row.index 2023-01-26 13:56:40 +00:00
Darren Burns
3f89511f24 Remove index from Column object 2023-01-26 13:46:58 +00:00
Darren Burns
4b2a50c46c Dynamic y-offsets 2023-01-26 12:12:55 +00:00
Will McGugan
d8e6cfdd50 Merge pull request #1672 from Textualize/docs-intro
update to intro page, fix for API docs
2023-01-26 12:47:37 +01:00
Will McGugan
211280e0be Fixed wording of tree node docs 2023-01-26 12:37:57 +01:00
Will McGugan
d01c8a7e07 more superfluous words 2023-01-26 12:34:10 +01:00
Will McGugan
56ef37637b superfluous words 2023-01-26 12:31:45 +01:00
Will McGugan
15f116d160 moved link 2023-01-26 12:25:43 +01:00
Will McGugan
dc5041f1e1 update to intro page, fix for API docs 2023-01-26 12:21:49 +01:00
Darren Burns
8b92aa61ff Add row sort 2023-01-25 16:47:19 +00:00
Dave Pearson
ab49dce39b Merge pull request #1665 from davep/workaround-windows-paste
Workaround for a Windows paste issue
2023-01-25 14:52:59 +00:00
Darren Burns
6d0b8d4f44 Fix indexing bug - use key order in DataTable 2023-01-25 14:51:36 +00:00
Dave Pearson
44d48e244e Fix typo in replace
AKA: don't mix octal and hex Dave!
2023-01-25 14:43:41 +00:00
Dave Pearson
8145c08007 Update the CHANGELOG 2023-01-25 14:30:56 +00:00
Dave Pearson
32bb79362c Strip NULs from bracketed paste text as a Windows workaround
See #1661 for lots of context. Long story short, in Windows Terminal it
looks like any character that would requite the press of a modifier key
causes a NUL to appear in the pasted text for that character. This feels
like it could be a bug in Windows Terminal and we will investigate and
report at some point.

Meanwhile though this provides a workaround that has the paste experience
work the same as I'm seeing on macOS (and I would imagine in most terminals
on GNU/Linux too).
2023-01-25 14:24:37 +00:00
Darren Burns
b0b0531ad7 Update snapshots 2023-01-25 13:54:16 +00:00
Darren Burns
c2ee4149d7 Ensure key-based meta is attached to segments for hover styles 2023-01-25 13:42:44 +00:00
Rodrigo Girão Serrão
11f470b59b Ensure animation scheduling order. 2023-01-25 13:40:57 +00:00
Will McGugan
7bdc8f9c7a Merge pull request #1664 from Textualize/lonely-p
don't request sync on macOS app
2023-01-25 14:28:11 +01:00
Rodrigo Girão Serrão
0f2e991bf5 Rename event. 2023-01-25 13:23:29 +00:00
Will McGugan
6edfc82513 Merge pull request #1653 from Textualize/self-remove
Rhymes with "Bed rock"
2023-01-25 14:18:33 +01:00
Will McGugan
a292086a62 comment and docstring 2023-01-25 13:39:24 +01:00
Will McGugan
15af0cd2c6 wrong env var 2023-01-25 13:28:37 +01:00
Will McGugan
9caf0cf536 don't request sync on macOS app 2023-01-25 13:26:10 +01:00
Will McGugan
d058477e22 Merge branch 'main' into fix-1372 2023-01-25 12:06:18 +01:00
Will McGugan
aba2633f44 Update tests/test_widget.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2023-01-25 12:00:51 +01:00
Will McGugan
a61e61f17b Merge pull request #1637 from davep/widget-importing
Support easier widget "support classes" importing
2023-01-25 11:53:32 +01:00
Will McGugan
5e0996d3aa Merge pull request #1627 from Textualize/fix-1616
Changing overflow programmatically updates layout
2023-01-25 11:52:36 +01:00
Will McGugan
b9b53b8677 Merge branch 'main' into fix-1616 2023-01-25 11:52:29 +01:00
Rodrigo Girão Serrão
3a8ad21aee Merge branch 'main' into fix-1372 2023-01-25 08:11:08 +00:00
Dave Pearson
82e2739196 Merge pull request #1660 from davep/stop-input-double-paste
Fix double-paste into `Input`
2023-01-24 20:55:45 +00:00
Dave Pearson
d101e3d4e7 Fix double-paste into Input
See #1657.
2023-01-24 20:16:50 +00:00
Rodrigo Girão Serrão
fa6bd44866 Housekeeping. 2023-01-24 18:46:37 +00:00
Rodrigo Girão Serrão
ad24349bb2 Move auxiliary type to TYPE_CHECKING. 2023-01-24 18:38:30 +00:00
Rodrigo Girão Serrão
cd0cc6030b Changelog. 2023-01-24 18:36:55 +00:00
Rodrigo Girão Serrão
c8ff5bd14b Add tests. 2023-01-24 18:30:24 +00:00
Rodrigo Girão Serrão
15c95db960 Add mechanism to wait for current and scheduled animations. 2023-01-24 18:22:50 +00:00
Dave Pearson
4bb7326f7d Merge pull request #1656 from davep/app-mount-all-doc-update
Explain the significance of the before/after types (redux)
2023-01-24 17:32:16 +00:00