Commit Graph

3300 Commits

Author SHA1 Message Date
Will McGugan
dd5c0e612a make watchers instant 2022-11-09 12:06:14 +00:00
Darren Burns
bad2c0add8 Update changelog 2022-11-09 11:18:43 +00:00
Darren Burns
aa6364112e Add easing parameter to Widget.scroll_* methods 2022-11-09 11:14:43 +00:00
Dave Pearson
394bdec362 Change the Remove event so that it takes a list of widgets to remove
This commit sets things up so that a list of widgets can be used, but also
then goes on to ignore the fact that there is a list, only removing the
first one in the list. That's a feature, not a but -- here I'm just testing
that we can make this move and nothing breaks. Next up is to allow removing
all of the widgets while holding off on any layout refresh until all
removals have been performed.
2022-11-09 11:10:42 +00:00
Will McGugan
3594cf9277 added blog post to changelog 2022-11-08 21:48:46 +00:00
overflowy
3148b60521 Revert "Lift returned value closer to condition, drop else"
This reverts commit 2415554a65.
2022-11-08 22:37:21 +01:00
Will McGugan
18f807e949 added new version to comparison urls 2022-11-08 20:59:59 +00:00
Will McGugan
c57386d644 not draft 2022-11-08 18:00:42 +00:00
Will McGugan
fea9f5375e update to post 2022-11-08 17:56:11 +00:00
Will McGugan
00bcd8260d Merge pull request #1142 from Textualize/blog-release-0-4-0
blog post
v0.4.0
2022-11-08 17:52:35 +00:00
Will McGugan
8badadb698 version bump 2022-11-08 17:43:24 +00:00
Will McGugan
51c01e4c6e new post 2022-11-08 17:37:06 +00:00
Will McGugan
2e8aa51ff1 remove text 2022-11-08 17:36:41 +00:00
Will McGugan
2e02975274 blog post 2022-11-08 17:34:55 +00:00
Will McGugan
249b0d366e extra pause 2022-11-08 16:05:13 +00:00
Dave Pearson
4e8c10b7f4 Merge pull request #1138 from davep/no-self-own
Raise an error if a widget tries to be its own parent
2022-11-08 14:03:25 +00:00
Dave Pearson
0324fb90d1 Hoist WidgetError and MountError to the top level of widget.py 2022-11-08 13:53:22 +00:00
Will McGugan
b09f28db4e Merge pull request #1140 from davep/finish-mount-tests
Add the final TooManyMatches mounting unit test
2022-11-08 13:37:33 +00:00
Dave Pearson
73cc6021ee Add the final TooManyMatches mounting unit test
This was waiting for the update to query_one that would raise an exception
if the result had more than one match. That's in Textual now so we can
finally add this test.
2022-11-08 13:21:56 +00:00
Dave Pearson
fbbd8a2678 Raise an error if a widget tries to be its own parent
See #1062
2022-11-08 12:07:06 +00:00
overflowy
33116aa8c5 Move repeated code outside conditional statement 2022-11-08 13:00:24 +01:00
overflowy
65ad5953ad Drop unnecessary else 2022-11-08 12:56:46 +01:00
overflowy
2415554a65 Lift returned value closer to condition, drop else 2022-11-08 12:55:36 +01:00
Dave Pearson
4794b11cd1 Remove a type-checking error for the result of _find_mount_point 2022-11-08 11:23:49 +00:00
Dave Pearson
e779e4a67c Merge pull request #1136 from davep/footer-docstring
Fix copy/paste-o with Footer docstring
2022-11-07 22:25:07 +00:00
Dave Pearson
a137a6e910 Fix copy/paste-o with Footer docstring
See #1135
2022-11-07 22:18:32 +00:00
Will McGugan
f474222a3c Merge pull request #1133 from Textualize/revert-to-poetry
back to poetry
2022-11-07 16:52:46 +00:00
Will McGugan
0fb2c3437f remove hatch from CI 2022-11-07 16:41:30 +00:00
darrenburns
65008082ca Support focusable containers (#1130)
* Fix containers not being focusable

* Fix tests to allow for focusable containers

* Add test for non-focusable container with focusable children

* Fix a typo in a test
2022-11-07 16:36:53 +00:00
Will McGugan
83739cf0bf back to poetry 2022-11-07 16:26:58 +00:00
Will McGugan
4034d95029 Merge pull request #971 from ofek/modernize-metadata
Update package metadata and dev experience
2022-11-07 12:17:56 +00:00
Will McGugan
5926cbc1b0 Merge branch 'main' into modernize-metadata 2022-11-07 12:05:33 +00:00
Ofek Lev
cd9ea54329 Update package metadata and dev experience 2022-11-07 12:02:54 +00:00
Will McGugan
30b5f1d7f7 Merge pull request #1128 from Textualize/docs-blog
Added blog
2022-11-07 11:42:05 +00:00
Will McGugan
59f729ab0f Merge pull request #1120 from Textualize/color-docs
added color docs
2022-11-07 11:41:12 +00:00
Will McGugan
7c9e7d6cb2 Merge pull request #1104 from Textualize/thread-writes
writer thread
2022-11-07 11:37:51 +00:00
Will McGugan
b29e2fc136 Update docs/guide/design.md
Co-authored-by: Dave Pearson <davep@davep.org>
2022-11-07 11:36:14 +00:00
Will McGugan
493d67cb69 Update docs/guide/design.md
Co-authored-by: Dave Pearson <davep@davep.org>
2022-11-07 11:34:50 +00:00
Will McGugan
0af9fed659 added constant, and docstrings 2022-11-07 11:31:09 +00:00
Dave Pearson
efbcbfd7f7 Merge pull request #1125 from overflowy/replace-fstring-with-string
Replace f-string without interpolated values with string
2022-11-07 09:46:17 +00:00
Dave Pearson
02368f5c7a Merge pull request #1127 from aaronst/fix-widgets-pylint
fix: pylint no-name-in-module for widgets
2022-11-07 09:40:33 +00:00
Dave Pearson
6b6218823e Merge pull request #1108 from jspv/main
Set `argv` when importing app via `textual run`.
2022-11-07 08:50:24 +00:00
Will McGugan
737aa0b06d updated description 2022-11-06 18:05:31 +00:00
Will McGugan
5a610bda19 added social cards 2022-11-06 17:53:23 +00:00
Will McGugan
84d62c304e added RSS 2022-11-06 17:08:08 +00:00
Will McGugan
92b5d06e25 docs cache key 2022-11-06 16:56:51 +00:00
Will McGugan
248cbeaa83 Merge branch 'color-docs' into docs-blog 2022-11-06 16:54:55 +00:00
Will McGugan
ef26795da7 words 2022-11-06 16:54:44 +00:00
Will McGugan
211a4270e4 fix dark mode 2022-11-06 16:29:52 +00:00
Will McGugan
906d23f043 Merge branch 'color-docs' into docs-blog 2022-11-06 16:29:43 +00:00