Dave Pearson
98f56aa1f6
Fix a typo in example code in the 0.14.0 release blog post ( #2047 )
...
Credit to #2021 for the spot.
2023-03-14 09:47:28 +00:00
Dave Pearson
cfb8219e44
Merge pull request #2039 from davep/new-disabled-snapshot-test
...
Simplify the disabled widgets snapshot test
2023-03-14 08:48:40 +00:00
Rodrigo Girão Serrão
ae83e12483
Simplify namespace for inherited messages.
...
Related issues: #1814 .
Related PRs: 2038.
2023-03-13 16:28:51 +00:00
Rodrigo Girão Serrão
53a56da317
Merge pull request #2038 from Textualize/message-namespaces
...
Change how to determine whether a message needs an updated namespace
2023-03-13 16:24:11 +00:00
Rodrigo Girão Serrão
f9a1e27c6f
Merge branch 'main' into add-containers
...
[skip ci]
2023-03-13 16:21:46 +00:00
Rodrigo Girão Serrão
eea61c1b0b
Fix changelog. [skip ci]
2023-03-13 16:16:00 +00:00
Rodrigo Girão Serrão
f81dd4071c
Merge branch 'main' into message-namespaces
2023-03-13 16:08:50 +00:00
Will McGugan
a3887dfcbb
new release ( #2040 )
...
* new release
* reword [skip ci]
v0.15.0
2023-03-13 15:48:41 +00:00
Dave Pearson
cf62a4a76a
Update the snapshots
2023-03-13 15:37:45 +00:00
Dave Pearson
dd49a723ee
Simplify the disabled snapshot test
...
Initially this was "throw most if not all widgets at the display and disable
everything" test; but in #2028 it was requested that this be simplified,
just using the same widget, in enabled and disabled states.
Button seems like a good choice here.
To ensure that things work as intended, I'm going with the approach of
disabling via a container as that's one big change that the disabled
facility brought in.
2023-03-13 15:31:29 +00:00
Rodrigo Girão Serrão
b00b4fb060
Fix #1814 .
2023-03-13 15:17:16 +00:00
Rodrigo Girão Serrão
7e83acb966
Add regression test for #1814 .
2023-03-13 15:14:12 +00:00
Will McGugan
b0f5c35782
tabs widget ( #2020 )
...
* tabs widget
* click underline
* color tweak
* docs
* docs update
* expose Tab
* added remove_tab and clear
* fix cycling
* add animation
* docs
* changelog
* remove recompose
* docstrings
* Update docs/guide/actions.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Rodrigoed the tabs
* Update docs/widgets/tabs.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update docs/widgets/tabs.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* copy
* docstrings
* docstring
* docstring
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* stop click
* docstring
* auto assign consistent IDs
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Document bindings
* document bindings
* Apply suggestions from code review
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 >
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-13 14:39:15 +00:00
Rodrigo Girão Serrão
5983d88aa6
Merge pull request #2037 from Textualize/pilot-click-underscore
...
Pilot can now press _
2023-03-13 14:38:59 +00:00
Rodrigo Girão Serrão
eafa12c9bf
Let pilot press _.
2023-03-13 14:13:02 +00:00
Rodrigo Girão Serrão
103c27b942
Add test for pilot pressing underscore.
...
The pilot pressing the underscore '_' used to be an alias for a short pause (see #2011 ). This test makes sure that the pilot can press the underscore '_' as any other character key.
2023-03-13 14:11:33 +00:00
Rodrigo Girão Serrão
009270cd69
Remove remaining underscore pauses.
...
These slipped from #2011 .
2023-03-13 14:10:22 +00:00
Dave Pearson
40d9997766
Updates to Pilot.click ( #2034 )
...
* Correct the x and y values for pilot-induced clicks
Fixes #2022 .
* Update the ChangeLog
* Add modifier key support to `Pilot.click`
---------
Co-authored-by: Will McGugan <willmcgugan@gmail.com >
2023-03-13 13:45:19 +00:00
Will McGugan
5259c9a37e
print after stopping writer thread ( #2033 )
...
* print after stopping writer thread
* Add to changelog
2023-03-13 13:38:24 +00:00
Rodrigo Girão Serrão
3518d38d85
Update snapshot tests.
2023-03-13 12:02:36 +00:00
Rodrigo Girão Serrão
cc8f65259e
Merge branch 'main' into add-containers
2023-03-13 12:00:08 +00:00
Rodrigo Girão Serrão
429c8a3649
Tweak default Center/Middle dimensions.
...
We set dimensions to 1fr instead of 100% (original request) or blank (previous change) for consistency with the other containers.
2023-03-13 11:48:49 +00:00
Rodrigo Girão Serrão
0e51520a2c
Make docs comply with new containers.
2023-03-13 11:44:47 +00:00
Rodrigo Girão Serrão
48ce1a149d
Add snapshot test for Center/Middle.
2023-03-13 11:18:33 +00:00
Rodrigo Girão Serrão
bdeea9fb86
Tweak Center/Middle default dimensions.
2023-03-13 11:10:50 +00:00
Will McGugan
9c5e0336f8
Fix scrollbar ( #2024 )
...
* Fix scrollbar
* changelog PR
* fix snapshots
2023-03-13 10:39:14 +00:00
Ofek Lev
fcda3c3350
Properly indicate dependency is only required for development ( #2025 )
2023-03-12 18:30:15 +00:00
Will McGugan
198190117d
Loading indicator ( #2018 )
...
* loading indicator and tests
* docs
* snapshot
* remove snapshot
* remove debug main [skip ci]
* changelog [skip ci]
* make start time private
2023-03-11 08:36:13 +00:00
Will McGugan
d3bdaf8ae5
fix refresh on remove ( #2008 )
...
* fix refresh on remove
* changelog
* optimization
* added snapshot
2023-03-10 10:06:10 +00:00
Dave Pearson
e2c36c4a15
Merge pull request #2011 from davep/nolodash
...
Remove underscore pauses from (hopefully) all snapshots
2023-03-09 21:00:07 +00:00
Rodrigo Girão Serrão
48dbe1244e
Add magic comment. ( #2010 )
...
Related comment: https://github.com/Textualize/textual/pull/2003\#discussion_r1131081129
Related PR: #2003 .
2023-03-09 20:55:49 +00:00
Dave Pearson
e6f620db44
Remove underscore pauses from (hopefully) all snapshots
...
This seeks to remove the "_" from the key presses of snapshots and inline
runs in the documentation. The "_" no longer does anything, but got legacy
reasons at the moment we can't actually allow "_" to be an input to a
"faked" keypress in the docs and snapshots.
Removing these clears the way to letting "_" have the same status as any
other character.
See #1994 .
2023-03-09 20:32:27 +00:00
Rodrigo Girão Serrão
c13308a360
Add tests for Horizontal/Vertical(Scroll) containers.
2023-03-09 17:39:05 +00:00
Rodrigo Girão Serrão
5674b4b628
Add 'Vertical'.
...
Related issues: #1957 .
2023-03-09 15:38:31 +00:00
Rodrigo Girão Serrão
38c7cc1849
Fix default CSS for 'VerticalScroll'.
2023-03-09 15:36:38 +00:00
Rodrigo Girão Serrão
639d8f0250
Change default 'overflow' style for 'Horizontal'.
...
Related issues: #1957 .
2023-03-09 15:30:44 +00:00
Rodrigo Girão Serrão
58ad5dfdd9
Tweak docstrings.
2023-03-09 15:26:51 +00:00
Rodrigo Girão Serrão
e111449856
Add container 'Middle'.
...
Related issues: #1957 .
2023-03-09 15:24:13 +00:00
Rodrigo Girão Serrão
f91750ed3d
Add container 'Center'.
...
This container will centre children horizontally.
Related issues: #1957 .
2023-03-09 15:21:20 +00:00
Rodrigo Girão Serrão
be41797a8d
Merge branch 'main' into add-containers
2023-03-09 15:19:43 +00:00
Will McGugan
503c03730e
fix blog
v0.14.0
2023-03-09 15:01:21 +00:00
Will McGugan
5de2b6f934
rename
2023-03-09 14:58:55 +00:00
Will McGugan
e2d88572c2
changelog
2023-03-09 14:53:39 +00:00
Will McGugan
1f1222b1ce
Version 0.14.0 release and blog ( #2004 )
...
* new release, and blog
* Edit copy
2023-03-09 14:53:10 +00:00
Rodrigo Girão Serrão
90dce06eae
Add 'HorizontalScroll'.
...
Related issues: #1957 .
2023-03-09 14:35:49 +00:00
Will McGugan
f61a50b790
prevent stuck scrollbar ( #2003 )
...
* prevent stuck scrollbar
* update changelog
* remove debug
* remove debug
2023-03-09 14:13:12 +00:00
Dave Pearson
aad6d98aa5
More documentation tweaks ( #2001 )
...
* Change the title of some widget references to their class names
The widget reference index had a slight mixture of widget title styles, some
being their class name, others being "written English" type titles. This
settles on the titles always being the class name.
* Add a link to the ContentSwitcher to the widget gallery
No screenshot for this, on purpose. By definition this widget isn't visible,
except via other widgets that it's enclosing and handling.
* Have mkdocs watch the main nav file
* Mark the content switcher off the roadmap
2023-03-09 14:01:48 +00:00
Rodrigo Girão Serrão
4ca62eee60
Update docstring.
2023-03-09 12:21:53 +00:00
darrenburns
f929e133b2
Generate MouseUp events ( #1968 )
...
* Remove redundant import
* Generate a MouseUp event when dragging stops
* Update CHANGELOG.md
* Ensure button is propagated through to artificial MouseUp event
2023-03-09 11:56:38 +00:00
Will McGugan
72e32f2206
prevent double errors ( #1998 )
...
* prevent double errors
* track invalid css
2023-03-09 11:55:02 +00:00