Will McGugan
074bfd7e2f
Headings
2023-04-07 11:56:00 +01:00
Will McGugan
94279ae1f9
docs fix
2023-04-07 11:35:59 +01:00
Will McGugan
c4774155ab
changelog
2023-04-07 11:30:15 +01:00
Will McGugan
e9ec627629
version bump ( #2236 )
v0.19.0
2023-04-07 09:52:21 +01:00
Will McGugan
e4b45ba63f
docs on await mount ( #2235 )
2023-04-07 09:46:27 +01:00
Will McGugan
c3424b0224
CHop fix ( #2227 )
2023-04-07 08:44:52 +01:00
darrenburns
976bd2f5c2
Move DataTable cursor with page up/down, home, end ( #2228 )
...
* Add pageup and pagedown actions to DataTable, with no impls
* Pagedown moves DataTable cursor now
* Account for header height in pagedown action
* Page Up support in the DataTable
* Fix and off-by-1, ensure page up/down works on col cursor
* Add placeholder scroll home/end action handlers to datatable
* Add scroll home and scroll end
* Hide hover cursor when home or end is used
* Ensure home and end work correctly with all curosrs
* Testing home/end/pagedown/pageup cursor movement in DataTable
* Docstrings for new datatable actions
* Fix a broken unit test for the DataTable
2023-04-06 21:22:31 +01:00
Will McGugan
c3e56f1f19
changelog
2023-04-06 21:18:59 +01:00
Will McGugan
4e88bb9b62
flush on exit ( #2231 )
2023-04-06 21:17:34 +01:00
Will McGugan
2969abf241
optimize horizontal and vertical ( #2234 )
...
* optimize horizontal and vertical
* generator to list expressions
* micro op
* another micro-optimization
2023-04-06 21:05:51 +01:00
Will McGugan
44367a7422
Expanding fr ( #2221 )
...
* forced fr to expand
* margin size
* remove comment
* missing snapshot
* snapshot tests
* changelog
* optimize
* snapshot fix
* snapshot update
* snapshot and fixes
* docstrings [skip ci]
2023-04-06 17:30:32 +01:00
Jackomatrus
c76667be5f
Fixed a wrong reference ( #2226 )
...
The new line referred to in line 177 was added to the StopwatchApp class, not the Stopwatch class.
2023-04-06 11:14:30 +01:00
Will McGugan
5c514b0dab
scroll visible snapshot ( #2225 )
...
* scroll visible snapshot
* change text of test
2023-04-06 11:13:09 +01:00
Will McGugan
eadd487584
fix scroll issue
2023-04-06 10:29:50 +01:00
Dave Pearson
a7c0a792cf
Merge pull request #2215 from davep/dirtree-filter
2023-04-05 21:47:56 +01:00
Dave Pearson
688b87b6d1
Update the CHANGELOG
2023-04-05 20:50:16 +01:00
Dave Pearson
7477624507
Merge branch 'main' into dirtree-filter
2023-04-05 20:48:36 +01:00
Dave Pearson
23263c45f1
Document the filtering support of DirectoryTree
2023-04-05 20:47:35 +01:00
Dave Pearson
5c2c5d50b6
Remove hangover argument documentation from initial experiment
2023-04-05 10:13:58 +01:00
Dave Pearson
5f31ecc607
Wee tidy of some docstrings in _markdown.py ( #2217 )
2023-04-05 10:11:41 +01:00
Alex
f3f065d147
docs: Fix some typo ( #2216 )
2023-04-05 10:11:27 +01:00
Will McGugan
41af489648
title descriptors ( #2213 )
...
* title descriptors
* add extra line around titles
* changelog
* snapshots
* comment
* Fix border refresh
* simplify typing
* test for None case
2023-04-05 10:10:43 +01:00
Dave Pearson
b365e1504b
Swap the directory tree filtering to method-based
...
This lets developers subclass DirectoryTree and implement their own filter.
2023-04-05 10:08:46 +01:00
Dave Pearson
d93f5c32cc
Keep black happy
...
Somehow I'd lost my pre-commit hooks.
2023-04-04 22:17:23 +01:00
Dave Pearson
f149828693
Add optional support for filtering path entries to DirectoryTree
2023-04-04 21:40:49 +01:00
Will McGugan
c2f7004fbb
changelog
2023-04-04 15:57:55 +01:00
Will McGugan
380114489d
docs fix
2023-04-04 15:43:10 +01:00
Will McGugan
b5689b1f69
Worker API ( #2182 )
...
* worker class
* worker API tests
* tidy
* Decorator and more tests
* type fix
* error order
* more tests
* remove active message
* move worker manager to app
* cancel nodes
* typing fix
* revert change
* typing fixes and cleanup
* revert typing
* test fix
* cancel group
* Added test for worker
* comment
* workers docs
* Added exit_on_error
* changelog
* svg
* refactor test
* remove debug tweaks
* docstrings
* worker test
* fix typing in run
* fix 3.7 tests
* blog post
* fix deadlock test
* words
* words
* words
* workers docs
* blog post
* Apply suggestions from code review
Co-authored-by: Dave Pearson <davep@davep.org >
* docstring
* fix and docstring
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update src/textual/widgets/_markdown.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update src/textual/worker.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Fix black
* docstring
* merge
* changelog
---------
Co-authored-by: Dave Pearson <davep@davep.org >
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
v0.18.0
2023-04-04 13:12:51 +01:00
Rodrigo Girão Serrão
c1ef3702fd
Fix border rendering issue. ( #2212 )
2023-04-04 11:04:14 +01:00
Dave Pearson
c527d168aa
Merge pull request #2205 from davep/bug/2203/radioset
...
Rework `RadioSet` so it no longer leans on the DOM for state
2023-04-04 09:40:04 +01:00
Rodrigo Girão Serrão
34b926ed3b
Update docstring for visible ( #2211 )
...
As per the confusion in #2208
2023-04-04 09:38:36 +01:00
Dave Pearson
c74aaa4112
Add rich.repr.auto to the Changed message
2023-04-03 21:41:48 +01:00
Dave Pearson
52af6064ba
Update the RadioSet tests to not dive into _buttons
...
It doesn't exist any more.
2023-04-03 21:10:37 +01:00
Dave Pearson
236ceccd30
Do away with _buttons
2023-04-03 20:56:56 +01:00
Dave Pearson
4b23539bee
Merge pull request #2174 from davep/cmd-faqtory
2023-04-03 16:58:42 +01:00
Dave Pearson
3d1d6b1d98
Update the ChangeLog
2023-04-03 11:54:48 +01:00
Dave Pearson
a8beacccc0
Rework RadioSet so that it doesn't lean so heavily on the DOM
...
Stemming from #2202 and implementing the solution decided in #2203 . Pretty
much this change removes all the state change/handling being done on the DOM
and keeps the state internally.
2023-04-03 11:51:28 +01:00
Dave Pearson
815ff86c1f
Merge pull request #2197 from davep/doc-tidy
2023-04-02 15:40:17 +01:00
Dave Pearson
7c1584a812
Remove type information from property docstrings
2023-04-02 10:45:10 +01:00
Dave Pearson
fb56a89862
Remove type information from a property docstring
2023-04-02 10:43:06 +01:00
Will McGugan
eab073e603
Layer scroll fix ( #2196 )
...
* fix scroll spacing
* fix and snapshot
* changelog
v0.17.3
2023-04-02 09:56:50 +01:00
Will McGugan
e4d158d041
docstring
v0.17.2
2023-04-02 08:54:40 +01:00
Will McGugan
eb4c7ef50f
Fix issue with modals ( #2195 )
...
* Fix issue with modals
* changelog
* fix binding on button
* binding tweak
* changelog
* snapshots
* version bump
2023-04-02 08:52:35 +01:00
Will McGugan
80d9681caf
docstring
2023-04-02 08:47:33 +01:00
Will McGugan
fdb885233f
version bump
2023-04-02 08:43:59 +01:00
Will McGugan
2ba48051e6
snapshots
2023-04-02 08:43:02 +01:00
Will McGugan
efa4e9a129
changelog
2023-04-01 18:51:07 +01:00
Will McGugan
11c3790eba
binding tweak
2023-04-01 18:48:03 +01:00
Will McGugan
b48178b80d
fix binding on button
2023-04-01 18:34:51 +01:00
Will McGugan
241d6c989d
changelog
2023-04-01 18:25:39 +01:00