Dave Pearson
b5c028c36d
Fix a docstring typo
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-27 13:35:33 +00:00
Dave Pearson
8c5fb38851
Merge branch 'main' into toggle-boxen
2023-02-27 10:31:06 +00:00
darrenburns
cbe2ab87c6
Datatable labelling rows ( #1868 )
...
* Renaming some component classes in DataTable
* Some more renaming of DataTable component classes
* Separate styling for fixed rows/columns from labels
* Highlight fixed rows/cols affected by colour differently
* Tweaking styles for fixed data in DataTable
* Update DataTable snapshots
* Add row label to Row metadata
* Wiring up some labelled row logic behind flags
* Renaming variable in DataTable
* Variable renaming in DataTable
* [no ci] Labelling rows progress
* Add RenderedRow abstraction to DataTable
* Computing label widths
* Use the Column object to represent row label column
* Ability to toggle row labels reactively
* Adjust width calculation for label widths
* Add DataTable.RowLabelSelected
* Posting the RowLabelClick message
* Hovering of row labels applies new style
* Remove a print
* Ensure horizontal scrolling with column cursor accounts for row label column
* Account for possible row labels in cell cursor horizontal scrolling
* Ensure cursor highlighting is correct on row label cells
* Document component class for DataTable label hover
* Test to ensure clicking row label emits correct event
* Add snapshot test for DataTable with fixed rows/cols and row labels
* Using pilot pause instead of wait_for_idle directly
* Update CHANGELOG
* Add a docstring
* Add a note to CHANGELOG.md about RowLabelSelected
2023-02-27 10:29:17 +00:00
Dave Pearson
7bfed019c9
Improve the wording of a test description
2023-02-27 10:08:45 +00:00
Dave Pearson
445e29ff26
Improve the wording of a test description
2023-02-27 10:07:59 +00:00
Dave Pearson
db9b9e1c5d
Fix a typo
2023-02-27 10:07:25 +00:00
Dave Pearson
7f90e4e850
Add a test for adding multiple on buttons to a radioset
2023-02-27 10:06:50 +00:00
Dave Pearson
17bc19e5d3
Ensure multiple buttons can't be on on startup
2023-02-27 09:27:46 +00:00
Dave Pearson
6d0fc0489f
Rework the layout of the checkbox example
...
Time to start to show off the new compose method.
2023-02-27 09:11:18 +00:00
Dave Pearson
23c0587efb
Rework the layout of the radio button example
...
Time to start to show off the new compose method.
2023-02-27 09:10:10 +00:00
Dave Pearson
f436489efa
Rework the layout of the radio set example
...
Time to start to show off the new compose method.
2023-02-27 09:08:40 +00:00
Dave Pearson
3de871f379
Use prevent to stop the Changed event on initial value setting
2023-02-27 09:03:17 +00:00
Dave Pearson
e6e46d0825
Merge branch 'main' into toggle-boxen
2023-02-27 08:53:30 +00:00
Will McGugan
f16f9c2a5c
Merge pull request #1887 from Textualize/exceptions-from-mount
...
catch exceptions from post mount
2023-02-26 22:28:56 +00:00
Will McGugan
0d082eff0a
Merge pull request #1885 from Textualize/compose-docs
...
Added docs for the new compose method
2023-02-26 22:28:34 +00:00
Will McGugan
8ba789367b
catch exceptions from post mount
2023-02-26 16:54:29 +00:00
Will McGugan
5b1cba1d85
update to copy
2023-02-26 12:31:50 +00:00
Will McGugan
bc620fd46f
remove highlighted line
2023-02-26 12:24:39 +00:00
Will McGugan
da1a820565
highlight lines
2023-02-26 12:08:18 +00:00
Will McGugan
b23fbd9be8
words
2023-02-26 10:36:17 +00:00
Will McGugan
9c1f6f7fad
Added docs for the new compose method
2023-02-26 10:34:30 +00:00
Will McGugan
5c2cf2960e
new syntax for calculator
2023-02-25 14:41:00 +00:00
Will McGugan
43849c3e8b
Merge pull request #1880 from Textualize/batch-fix
...
batch update fix, and optimization
v0.12.1
2023-02-25 08:28:18 +00:00
Will McGugan
4e766887bc
version bump
2023-02-25 08:19:08 +00:00
Will McGugan
8b17579ff4
changelog
2023-02-25 08:18:37 +00:00
Will McGugan
05bb10aed0
batch update fix, and optimization
2023-02-25 08:15:00 +00:00
Will McGugan
bd838c7f03
added hr to markdown example
2023-02-24 17:33:20 +00:00
Will McGugan
948b67938f
Merge pull request #1876 from Textualize/blog-release-0120
...
new blog post
2023-02-24 17:28:35 +00:00
Will McGugan
461abc7fbe
missing bracket
2023-02-24 17:19:55 +00:00
Will McGugan
33bbdf14a3
docstring
2023-02-24 17:12:29 +00:00
Will McGugan
01a4ed97e1
update blog
2023-02-24 17:12:29 +00:00
Will McGugan
e3976155fd
Update docs/blog/posts/release0-12-0.md
...
Co-authored-by: Dave Pearson <davep@davep.org >
2023-02-24 17:12:14 +00:00
Will McGugan
8a5e5f29e0
Update docs/blog/posts/release0-12-0.md
...
Co-authored-by: Dave Pearson <davep@davep.org >
2023-02-24 17:12:04 +00:00
Will McGugan
661990f6e4
new blog post
2023-02-24 17:01:02 +00:00
Will McGugan
3c5ee42411
Merge pull request #1874 from Textualize/bump0.12.0
...
Bump0.12.0
v0.12.0
2023-02-24 15:32:24 +00:00
Will McGugan
e46d75de12
Merge pull request #1875 from tlambert03/timer-docs
...
add units to timer docs
2023-02-24 15:31:29 +00:00
Talley Lambert
04c75cd2d9
add units to timer docs
2023-02-24 08:52:05 -05:00
Will McGugan
99a9b6aa91
changelog
2023-02-24 12:46:21 +00:00
Will McGugan
0924bb2ba4
Version bump
2023-02-24 12:45:49 +00:00
Will McGugan
96370b1fd8
Merge pull request #1873 from Textualize/screen-children-fix
...
fix walk children
2023-02-24 12:36:58 +00:00
Will McGugan
5f1ca95f8a
Merge pull request #1866 from Textualize/prevent-event
...
Add a "prevent" context manager
2023-02-24 12:36:46 +00:00
Will McGugan
825f21fe28
comments
2023-02-24 12:09:50 +00:00
Will McGugan
03ffcdab0f
Update src/textual/message_pump.py
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:05:24 +00:00
Will McGugan
a5f139b45e
Update src/textual/message_pump.py
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:04:08 +00:00
Will McGugan
15cd3ef5ed
Update src/textual/dom.py
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:03:16 +00:00
Will McGugan
884db9c39c
Update src/textual/dom.py
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:03:05 +00:00
Will McGugan
63438f170d
Update docs/examples/events/prevent.py
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:02:56 +00:00
Will McGugan
217956bbdf
Update docs/examples/events/prevent.py
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:02:46 +00:00
Will McGugan
0999114811
Update docs/guide/events.md
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-02-24 12:02:20 +00:00
Will McGugan
5a77e3493d
add test
2023-02-24 10:13:58 +00:00