Commit Graph

3680 Commits

Author SHA1 Message Date
Dave Pearson
03d5075bad Merge pull request #1423 from davep/bug/1355/visibility-react
Fix changes to visibility needing an explicit refresh to take effect
2022-12-21 14:53:31 +00:00
Dave Pearson
765dd138c7 Fix changes to visibility needing an explicit refresh to take effect
Fixes #1355.
2022-12-21 14:33:12 +00:00
Will McGugan
a4aa30ebeb Merge pull request #1416 from Textualize/query-star-exclude-self
Queries/`walk_children` no longer includes self in results by default
2022-12-21 14:04:49 +00:00
Will McGugan
9fbad7f2fc Merge pull request #1415 from Textualize/darren-blog-year-in-review
Add 2022 year in review blog post
2022-12-21 13:17:29 +00:00
Will McGugan
9b55a5e117 remove emoji 2022-12-21 12:03:09 +00:00
Will McGugan
ce841f7f5d Merge pull request #1421 from davep/main
Allow `App.dark` to be set as early as `App.on_load`
2022-12-21 11:46:57 +00:00
Darren Burns
35145744b9 Update changelog 2022-12-21 11:34:11 +00:00
Darren Burns
d06fca1041 Improving universal selector test 2022-12-21 11:28:19 +00:00
Darren Burns
46fc178a1e Fix an incorrect docstring 2022-12-21 11:26:42 +00:00
Darren Burns
7f742060ac Revert matching change to keep attr access hoisted 2022-12-21 11:24:09 +00:00
Dave Pearson
159f94a9b4 Reformat to keep black happy 2022-12-21 11:23:01 +00:00
Dave Pearson
adecdde3a7 Add dark/light mode toggling tests 2022-12-21 11:21:27 +00:00
Darren Burns
732b31c6b9 Update docstring 2022-12-21 11:15:30 +00:00
Darren Burns
032c9211f4 Default with_self to False in walk_children 2022-12-21 11:12:22 +00:00
Darren Burns
8c864030e2 Merge branch 'main' of github.com:Textualize/textual into query-star-exclude-self 2022-12-21 10:52:59 +00:00
Darren Burns
7aa3a3cf1a Fixing typos etc. 2022-12-21 10:42:18 +00:00
Dave Pearson
4fbe2de18c Merge branch 'main' of github.com:davep/textual 2022-12-21 10:41:16 +00:00
Dave Pearson
1b4b807d32 Update the CHANGELOG 2022-12-21 10:39:26 +00:00
Dave Pearson
3452c18672 Squish trailing whitespace from CHANGELOG 2022-12-21 10:39:09 +00:00
Dave Pearson
be0c7636a1 Allow App.dark to be set before there's a screen
This commit addresses #1369 by swallowing any `ScreenStackError` when
calling `refresh_css` after setting the -{dark,light}-mode class on the app.
The idea here being that if there is no screen, that's fine, the style will
be taken up once there is one.
2022-12-21 10:35:29 +00:00
Will McGugan
192e3f9c89 Merge pull request #1419 from davep/faq-pass-args-to-app
Add a FAQ about passing arguments to an application
2022-12-21 09:54:47 +00:00
Will McGugan
85b1d0c094 Merge pull request #1418 from davep/faq-middle-of-screen
Add a FAQ about aligning things in the middle of a container
2022-12-21 09:54:06 +00:00
Dave Pearson
14d1cf27af Add a FAQ about passing arguments to an application 2022-12-20 21:36:52 +00:00
Dave Pearson
94a2175eba Add a FAQ about aligning things in the middle of a container 2022-12-20 21:27:29 +00:00
Darren Burns
78f06c9d1b Add test for universal selector 2022-12-20 20:19:53 +00:00
Darren Burns
b9238f4651 Add 2022 year in review blog post 2022-12-20 17:24:19 +00:00
Will McGugan
dd2b89bd5c Merge pull request #1413 from Textualize/not-ugly
Not ugly
2022-12-20 14:51:22 +00:00
Will McGugan
9fda476d0d revert whitespace 2022-12-20 14:12:25 +00:00
Will McGugan
d1d3e5a98d revert optimization 2022-12-20 14:10:25 +00:00
Will McGugan
1cef349f27 test fix 2022-12-20 14:06:35 +00:00
Will McGugan
59057eef83 Merge pull request #1409 from Textualize/cli-keys
keys command
2022-12-20 13:34:23 +00:00
Will McGugan
c4b74f158f changelog 2022-12-20 13:28:37 +00:00
Will McGugan
301d56e329 snapshot fix 2022-12-20 13:22:22 +00:00
Will McGugan
3e2c3fbb2f Merge branch 'main' into cli-keys 2022-12-20 13:20:01 +00:00
Will McGugan
0987229c25 fix binding inheritance issues 2022-12-20 13:19:49 +00:00
Will McGugan
df6e4df620 Merge pull request #1405 from Textualize/child-color
fix for child color refresh
2022-12-20 11:27:25 +00:00
Will McGugan
543289cda2 move tab and shift tab to binding 2022-12-20 11:26:21 +00:00
Will McGugan
d3620690ae tweak to keys command 2022-12-20 11:18:07 +00:00
darrenburns
af8af1bee9 Ensure watcher isn't called on first_set when init is False and value doesn't change (#1367)
* Ensure watcher not called when value doesnt change, even on first set

* Update CHANGELOG.md
2022-12-20 11:17:11 +00:00
Will McGugan
1058c302b4 Merge pull request #1403 from Textualize/nested-height-fix
fix for nested heights
2022-12-20 11:14:52 +00:00
Will McGugan
93716e714b Merge branch 'main' into nested-height-fix 2022-12-20 11:14:45 +00:00
Will McGugan
c8e7eeb66a fix slots 2022-12-20 11:01:41 +00:00
Will McGugan
552b0cc277 Merge pull request #1395 from Textualize/binding-actions
optional actions
2022-12-20 10:42:30 +00:00
Will McGugan
16994c54d1 Update tests/test_binding_inheritance.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-12-20 10:42:21 +00:00
Will McGugan
18d38f6a4d keys command 2022-12-20 10:36:00 +00:00
Will McGugan
b160961038 fix for child color refresh 2022-12-19 15:02:23 +00:00
Will McGugan
b265b855cd insert pause 2022-12-19 13:39:03 +00:00
Will McGugan
bb7fd40d73 force console on terminal summary 2022-12-19 13:26:47 +00:00
Will McGugan
43ed1d5927 fix snapshot 2022-12-19 13:00:42 +00:00
Will McGugan
f8fad57de2 changelog 2022-12-19 12:55:26 +00:00