Commit Graph

142 Commits

Author SHA1 Message Date
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
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
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
Will McGugan
c4b74f158f changelog 2022-12-20 13:28:37 +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
93716e714b Merge branch 'main' into nested-height-fix 2022-12-20 11:14:45 +00:00
Will McGugan
f8fad57de2 changelog 2022-12-19 12:55:26 +00:00
Will McGugan
623f7f635e changelog 2022-12-19 11:07:39 +00:00
Will McGugan
d264ebb4c8 version bump 2022-12-17 09:25:38 +00:00
Will McGugan
124df59361 handle exit from load 2022-12-16 20:53:11 +00:00
Will McGugan
d11e3f2e15 Merge pull request #1346 from davep/bug/1342/inherited-movement-keys
Add support for a `PRIORITY_BINDINGS` classvar to work alongside `BINDINGS`
2022-12-16 20:13:31 +00:00
darrenburns
14a4ad48cd Merge branch 'main' into validator-first-set 2022-12-15 14:50:46 +00:00
Dave Pearson
6dfa8802ec Update the CHANGELOG 2022-12-15 14:37:54 +00:00
Darren Burns
473c5c5a51 Update CHANGELOG 2022-12-14 14:13:06 +00:00
Darren Burns
2b8b7c15e6 Add extra test for validator called before dom ready, update changelog 2022-12-14 12:09:00 +00:00
Rodrigo Girão Serrão
e9a5995c47 Update changelog. 2022-12-13 16:19:47 +00:00
Rodrigo Girão Serrão
d49477ce5a Merge pull request #1336 from Textualize/fix-1335
Fix default CSS retrieval from widgets with no `DEFAULT_CSS` that inherit from widgets that do have `DEFAULT_CSS`
2022-12-13 15:43:07 +00:00
Will McGugan
71e86cea96 diff links 2022-12-11 13:21:49 +00:00
Will McGugan
13a207bacc new blog post 2022-12-10 10:34:34 +00:00
Rodrigo Girão Serrão
311229fe4b Merge branch 'main' into fix-1335 2022-12-09 16:04:42 +00:00
Rodrigo Girão Serrão
0c708de720 Update changelog. 2022-12-09 16:02:22 +00:00
Will McGugan
7ba70ada96 fix examples 2022-12-08 17:24:34 +00:00
Will McGugan
c405a3baea added demo to snapshots 2022-12-08 11:11:48 +00:00
Will McGugan
f1500f84bb Merge branch 'main' into fix-1309 2022-12-07 17:33:03 +01:00
Will McGugan
cdf7b3577a Merge branch 'main' into fix-1258 2022-12-07 16:58:44 +01:00
Will McGugan
795265bc45 Merge pull request #1229 from Textualize/placeholder
Add Placeholder widget
2022-12-07 16:56:34 +01:00
Will McGugan
23c2c3edd3 fix for visiblity 2022-12-07 14:41:30 +00:00
Rodrigo Girão Serrão
08bf1bcbe9 Update CHANGELOG. 2022-12-05 15:10:30 +00:00
Rodrigo Girão Serrão
ba5ec6b34b Merge branch 'main' of https://github.com/Textualize/Textual into placeholder 2022-12-05 15:08:01 +00:00
Dave Pearson
ab38d701f2 Change the default width of a label to auto
See #1315 for the discussion that prompted this, #1316 for the issue where
this particular aspect of it was isolated as something to address.

I'm not 100% convinced that `Static` does the right thing here either, but I
don't want to go changing too make things at once. However, I think a good
argument can be made that `Label` should be `width: auto` by default, this
seems to make perfect sense to me. I think everyone would expect, by
default, that a label's width is the width of the content (plus any
decoration, of course).
2022-12-05 07:26:28 +00:00
Rodrigo Girão Serrão
6e30fdd2e3 Add changes to CHANGELOG. 2022-12-03 15:06:55 +00:00
Dave Pearson
81e7aac502 Allow for numbers in type selectors
Aims to fix #1253.
2022-11-24 21:07:35 +00:00
Rodrigo Girão Serrão
00bdb671e8 Update changelog. 2022-11-23 10:15:27 +00:00
Will McGugan
4c8eae72a2 merged changelog 2022-11-20 16:50:58 +00:00
Will McGugan
91927a4503 bumped version 2022-11-20 15:49:22 +00:00
Will McGugan
90a2a99add update changelog 2022-11-20 15:47:15 +00:00
Will McGugan
b48a1402b8 add inherited bindings 2022-11-19 19:28:14 +00:00
Will McGugan
1f2781cd6c Merge branch 'main' into remove-freeze-fix 2022-11-18 15:28:43 +00:00
Rodrigo Girão Serrão
54b85399e7 Merge branch 'main' into placeholder 2022-11-18 15:21:40 +00:00
Rodrigo Girão Serrão
a8c5d1abe4 Add docs for Placeholder. 2022-11-18 15:17:43 +00:00
Will McGugan
5e2a5668a0 ws 2022-11-18 14:17:18 +00:00
darrenburns
36664ef7ae Sensible default key displays + allow users to override key displays at the App level (#1213)
* Get rid of string split key display

* Include screen level bindings when no widget is focused

* Add default key display mappings

* Allow user to customise key display at app level

* Better docstring

* Update CHANGELOG.md
2022-11-18 14:05:45 +00:00
Will McGugan
fa5ac0dd68 simplified cache_key 2022-11-18 13:59:58 +00:00
Will McGugan
d90a1ea691 words 2022-11-18 12:30:26 +00:00
Will McGugan
d4d517aa8f update changelog 2022-11-18 11:40:58 +00:00