Dave Pearson
ba9b2e03d9
Merge branch 'main' into promote-disabled
2023-02-15 08:47: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
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
Will McGugan
a94c725a3b
tests and changelog
2023-02-14 15:26:27 +00:00
Darren Burns
df1116d776
Post an event when DataTable column header clicked
2023-02-14 15:01:02 +00:00
Dave Pearson
3c8f464818
Update the snapshots
...
The disabled styling has changed slightly, and there is a snapshot test for
buttons which is now thrown off. This updates that.
2023-02-14 11:44:36 +00:00
Darren Burns
f4cd51e5e8
Merge branch 'main' of github.com:Textualize/textual into datatable-cell-keys
2023-02-09 15:55:45 +00:00
Dave Pearson
c436b57ed5
Merge branch 'main' into checkbox-switch
2023-02-09 13:57:15 +00:00
Will McGugan
f450d98e3e
snapshot
2023-02-09 11:55:36 +00:00
Will McGugan
3a9c052d20
Added snapshot
2023-02-09 11:49:11 +00:00
Dave Pearson
decc1e2f3c
Rename Checkbox to Switch
...
A new form of Checkbox will be arriving in Textual soon, working in
conjunction with a RadioButton. What was called Checkbox is perhaps a wee
bit heavyweight in terms of visual design, but is a style of widget that
should remain.
With this in mind we're renaming the current Checkbox to Switch. In all
other respects its workings remains the same, only the name has changed.
Things for people to watch out for:
- Imports will need to be updated.
- Queries will need to be updated; special attention will need to be paid to
any queries that are string-based.
- CSS will need to be changed if any Checkbox styling is happening, or if
any Checkbox component styles are being used.
See #1725 as the initial motivation and #1746 as the issue for this
particular change.
2023-02-09 11:10:30 +00:00
Darren Burns
0721d7fc87
Snapshot test for sorting
2023-02-08 10:39:04 +00:00
Darren Burns
dca164d70f
Update snapshots for datatable_render test
2023-02-08 09:54:33 +00:00
Darren Burns
6de6ed769e
Merge branch 'main' of github.com:Textualize/textual into datatable-cell-keys
2023-02-07 13:40:51 +00:00
Will McGugan
5930ebf82e
remove _typing.py
2023-02-07 10:46:28 +00:00
Darren Burns
c9ccbce41b
Merge branch 'main' of github.com:willmcgugan/textual into datatable-cell-keys
2023-02-06 12:46:07 +00:00
Dave Pearson
6f24331564
Merge pull request #1703 from davep/lowkey-tree-selection
...
Lowkey tree selection
2023-01-31 16:27:15 +00:00
Dave Pearson
b0a29050cf
Update snapshots after change of unfocused tree cursor handling
2023-01-31 16:20:41 +00:00
Rodrigo Girão Serrão
40fde8cfb9
Merge pull request #1610 from Textualize/fix-1607
...
Fix #1607 to allow programmatic style changes
2023-01-31 15:13:24 +00:00
Will McGugan
e446695684
snapshot fix
2023-01-31 12:53:32 +01:00
Will McGugan
330db5fc80
snapshot
2023-01-31 12:43:07 +01:00
Will McGugan
be5a67e903
fix auto width glitch
2023-01-31 12:13:25 +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
Darren Burns
61bf8c8a5a
Merge branch 'main' of github.com:willmcgugan/textual into datatable-cell-keys
2023-01-30 15:51:51 +00:00
Will McGugan
88b155132b
Merge branch 'main' into scroll-sensitivity
2023-01-30 15:59:49 +01:00
Rodrigo Girão Serrão
b023d4e02e
Improve tests.
2023-01-30 12:34:35 +00:00
Will McGugan
0e01651825
Merge branch 'main' into scroll-sensitivity
2023-01-30 13:18:47 +01:00
Will McGugan
eb91fc0579
snapshot fix
2023-01-30 13:01:44 +01:00
Will McGugan
b4a3c2e8bb
fix for render width
2023-01-28 17:23:52 +01:00
Will McGugan
41be84b1a5
docstring
2023-01-26 16:01:48 +01:00
Darren Burns
aee100ff10
Removing redundant data from DataTable.Row
2023-01-26 14:05:31 +00:00
Darren Burns
b0b0531ad7
Update snapshots
2023-01-25 13:54:16 +00:00
Will McGugan
2b3d966410
moar pauses
2023-01-23 12:31:18 +01:00
Will McGugan
81d086e8d7
fix snapshot test
2023-01-23 12:11:05 +01:00
Darren Burns
36bf162847
Snapshot tests for column and row cursors in DataTable
2023-01-17 14:17:25 +00:00
Darren Burns
b4f2da025a
Add pause after datatable snapshot test
2023-01-16 16:40:01 +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
62c05f7fbc
Update datatable snapshot - hover cursor no longer shown
2023-01-16 10:01:02 +00:00
Will McGugan
027635b978
merge
2023-01-12 17:45:36 +00:00
Rodrigo Girão Serrão
dd478dd249
Make list_view snapshot test pass more reliably
2023-01-12 15:00:56 +00:00
Rodrigo Girão Serrão
d9a0c343d7
Update snapshot tests.
2023-01-09 16:42:15 +00:00
Rodrigo Girão Serrão
e5375d0a2f
Reset color cycle before tests.
...
We need to reset the color cycle for placeholders before each CSS property test because we need to ensure consistent colouring of the placeholders as tests are added/removed/reordered.
2023-01-09 16:26:33 +00:00
Rodrigo Girão Serrão
4c3eb3e021
Update placeholder snapshot test.
...
Although there was no visual difference in the output, the snapshot tool was complaining because there are now less things to draw on the screen, thus the snapshots looked different. Hence, the placeholder snapshot needed to be updated.
2023-01-07 09:35:41 +00:00
Will McGugan
91e23ff34c
more pauses for demo?
2022-12-30 17:31:36 +00:00
Will McGugan
97627107cf
add pause
2022-12-30 15:01:57 +00:00
Will McGugan
57654a90bf
fix snapshot
2022-12-29 10:23:34 +00:00
Will McGugan
6f82ad9c4a
adds Strip primitive
2022-12-26 18:06:35 +00:00