Rodrigo Girão Serrão
ef779d71dd
Add bindings and component classes to reference pages.
2023-01-25 15:19:16 +00:00
Rodrigo Girão Serrão
b63e2366e1
Remove 'action' column from bindings.
2023-01-25 15:00:45 +00:00
Rodrigo Girão Serrão
2ea501ea9b
Document bindings and component classes.
2023-01-25 14:49:37 +00:00
Rodrigo Girão Serrão
fd0d1feb79
Add helper tool to generate widget docs.
...
References: #1662 , #1543
2023-01-25 14:48:56 +00:00
Rodrigo Girão Serrão
66b158d7e4
Remove dead import.
2023-01-25 14:31:49 +00:00
Rodrigo Girão Serrão
bf02c7b5d3
Don't inherit component classes explicitly.
2023-01-25 14:30:06 +00:00
Rodrigo Girão Serrão
f3999bbe47
Add docs to bindings and component classes.
2023-01-25 13:03:10 +00:00
Rodrigo Girão Serrão
9cb32d2b66
Fix alphabetical order.
2023-01-25 11:41:33 +00:00
Rodrigo Girão Serrão
fcba6ecaad
Omit default values for attributes.
...
We copy the mkdocstrings template for attributes so that we can exclude the (default) value for attributes (and class variables) from the documentation as that is generally useless.
2023-01-25 11:41:05 +00:00
Dave Pearson
2662e6b292
Merge pull request #1652 from davep/remove-children-updated-doc-reference
...
Remove mention of `ChildrenUpdated` from the `ListView` docs
2023-01-24 09:54:32 +00:00
Dave Pearson
faac89fd8d
Remove mention of ChildrenUpdated from the ListView docs
...
As pointed out in #1649 , a `ChildrenUpdated` message is documented but it
doesn't exist in the code. It looks like it got added during development,
then removed after it was realised it wasn't needed, but presumably it got
left in the docs:
https://github.com/Textualize/textual/pull/1143#discussion_r1030409026
2023-01-24 07:47:18 +00:00
Rodrigo Girão Serrão
dde90a8069
Merge pull request #1646 from Textualize/test-pause
...
Add pause to flaky test.
2023-01-23 18:36:08 +00:00
Rodrigo Girão Serrão
5c73387bca
Pause before rendering input widget.
2023-01-23 18:13:27 +00:00
Will McGugan
9e35f7b4e4
Merge pull request #1636 from Textualize/stuck-screen
...
fix stuck screen
2023-01-23 18:03:07 +01:00
Will McGugan
068345076b
Merge branch 'main' into stuck-screen
2023-01-23 17:28:17 +01:00
Dave Pearson
7df94c2084
Merge pull request #1641 from davep/explain-before-after
...
Explain the significance of the before/after types
2023-01-23 16:26:45 +00:00
Rodrigo Girão Serrão
4baf4f4bce
Merge pull request #1640 from Textualize/fix-1406
...
Correct the dimension relative units in grid-rows/columns were assigned to
2023-01-23 16:24:58 +00:00
Will McGugan
b8e8636832
Merge pull request #1633 from davep/click-warn
...
Catch an attempt to use the `textual` command in a non-dev context
2023-01-23 17:18:03 +01:00
Dave Pearson
c2e406e48a
Explain the significance of the before/after types
...
This was asked about on Discord; reading the docs over again it's not
obvious what an `int` is for, or a `str`. This change seeks to explain
things at the API level at least.
2023-01-23 15:09:22 +00:00
Rodrigo Girão Serrão
e7f76bf85a
Add regression tests.
2023-01-23 15:04:36 +00:00
Dave Pearson
383ab18831
Merge pull request #1639 from davep/param-type-sweepup
...
Remove some parameter types that got missed on `Widget.move_child`
2023-01-23 14:57:16 +00:00
Rodrigo Girão Serrão
86eb12f335
Update changelog.
2023-01-23 14:45:54 +00:00
Rodrigo Girão Serrão
8aeee6a360
Add percent_unit parameter to ScalarListProperty.
...
Without this information, grid-rows and grid-columns will have the same percent_unit for scalars that are relative and thus relative dimensions will be wrong.
2023-01-23 14:42:27 +00:00
Rodrigo Girão Serrão
8aeb6c1e01
Fix width/height relationshipt with rows/columns.
2023-01-23 14:41:36 +00:00
Dave Pearson
ac11a4f461
Remove some parameter types that got missed on Widget.move_child
...
Rogue colon likely threw off whatever regexp was being used to hunt the
examples down.
2023-01-23 14:34:54 +00:00
Will McGugan
4a924d446c
fix typo
2023-01-23 12:50:34 +01:00
Will McGugan
cd92356b8e
update dependencies
2023-01-23 12:46:31 +01:00
Will McGugan
2b3d966410
moar pauses
2023-01-23 12:31:18 +01:00
Will McGugan
81d086e8d7
fix snapshot test
2023-01-23 12:11:05 +01:00
Will McGugan
e852795e10
comment
2023-01-23 12:09:41 +01:00
Will McGugan
dc97baedc5
comment
2023-01-23 12:08:26 +01:00
Will McGugan
b70b3997f0
remove comments
2023-01-23 12:03:38 +01:00
Will McGugan
3b9bc0d536
fix stuck screen
2023-01-23 11:57:48 +01:00
Will McGugan
cc1f2f61d9
Merge pull request #1629 from Textualize/rodrigogiraoserrao-patch-1
...
Skip FAQtory on new issues by Textualize members
2023-01-21 18:15:05 +01:00
Dave Pearson
98f904223c
Catch an attempt to use textual command in non-dev
...
This provides an interim fix for #983 . While the longer-term solution for
this is for us to *not* have the `textual` command available if the user has
installed textual rather than textual[dev], this at least informs the user
what's going on and why for now.
2023-01-21 09:42:21 +00:00
Rodrigo Girão Serrão
94157eae59
Skip FAQtory on new issues by Textualize members
...
Fix #1617 (excellent idea).
2023-01-20 15:47:13 +00:00
Will McGugan
0691462871
Merge pull request #1624 from Textualize/0.10.1
...
version bump
v0.10.1
2023-01-20 01:07:27 -08:00
Will McGugan
35f866c0cb
version bump
2023-01-20 08:59:37 +00:00
Will McGugan
82372d36a6
Merge pull request #1623 from davep/diagnose-diagnose
...
Import type annotations from the future for `textual diagnose`
2023-01-20 00:57:37 -08:00
Dave Pearson
78f85ba325
Import type annotations from the future for textual diagnose
...
I mean, I guess flat out crashing on older versions of Python is *a* way of
reporting the Python version. Kinda?
See the side issue reported in #1622 .
2023-01-20 07:12:59 +00:00
Will McGugan
c9b84f523c
Merge pull request #1621 from Textualize/strip-text
...
Strip text
2023-01-19 07:38:46 -08:00
Will McGugan
14c7eea8c2
Merge branch 'main' into strip-text
2023-01-19 07:38:36 -08:00
Will McGugan
6b51f0044b
Merge pull request #1518 from edrogers/fix-formatting-of-default-screenshot-filename
...
Make default filename for screenshots use ISO8601 datetime format
2023-01-19 07:37:55 -08:00
Dave Pearson
a87198654a
Merge branch 'main' into fix-formatting-of-default-screenshot-filename
2023-01-19 15:32:11 +00:00
Will McGugan
03d1a55f7b
changelog entry
2023-01-19 15:30:42 +00:00
Will McGugan
8e06312e18
added text property
2023-01-19 15:29:50 +00:00
Will McGugan
c6909b76c4
update bug report template
2023-01-19 14:50:30 +00:00
Will McGugan
9487f79dff
added version link
2023-01-19 14:47:08 +00:00
Will McGugan
1f71656c2a
Merge pull request #1618 from Textualize/0.10.0
...
Version bump
v0.10.0
2023-01-19 06:38:45 -08:00
Will McGugan
56d8bbff4f
Version bump
2023-01-19 14:30:38 +00:00