Commit Graph

3691 Commits

Author SHA1 Message Date
Will McGugan
0325c50e7a Update docs/guide/input.md
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-12-21 15:04:19 +00:00
Will McGugan
95b2285172 Update docs/guide/input.md
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-12-21 15:04:03 +00:00
Will McGugan
91da9d0103 Update CHANGELOG.md
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-12-21 15:03:52 +00:00
Will McGugan
c6c2dd69be fix type 2022-12-21 15:01:54 +00:00
Will McGugan
a8e30fe7bc update docstring 2022-12-21 14:59:24 +00:00
Will McGugan
46cfbddad2 check for empty bindings 2022-12-21 14:57:25 +00:00
Will McGugan
7b3474eff3 ws 2022-12-21 14:45:35 +00:00
Will McGugan
0a1fc1e7de Merge branch 'main' into key-refactor 2022-12-21 14:07:18 +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
59e60f7292 docstrings and changelog 2022-12-21 13:30:49 +00:00
Will McGugan
6e7181a654 changelog 2022-12-21 13:27:26 +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
Will McGugan
55c58e0f8f added tests 2022-12-21 11:39:36 +00:00
Will McGugan
7a46672d64 docs and expanded keys 2022-12-21 11:38:20 +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
Will McGugan
5e2e0fe566 keys refactor 2022-12-20 21:18:10 +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