From 79273e6e177cdcb87018f7cf31d03adf7076cc3d Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Wed, 10 Sep 2025 11:28:28 +0100 Subject: [PATCH 1/5] docs(changelog): fix case for added ProgressBar.BAR_RENDERABLE --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76f269007d..b8d47de8e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,7 +44,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added -- Added `bar_renderable` to `ProgressBar` widget https://github.com/Textualize/textual/pull/5963 +- Added `BAR_RENDERABLE` to `ProgressBar` widget https://github.com/Textualize/textual/pull/5963 - Added `OptionList.set_options` https://github.com/Textualize/textual/pull/6048 - Added `TextArea.suggestion` https://github.com/Textualize/textual/pull/6048 - Added `TextArea.placeholder` https://github.com/Textualize/textual/pull/6048 From 8030bbd86a17f33990067e097bd8d462c0b96ce4 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Wed, 10 Sep 2025 11:33:13 +0100 Subject: [PATCH 2/5] docs(widget): fix typo in arrange method docstring --- src/textual/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widget.py b/src/textual/widget.py index a35683690e..79a3a94d2e 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -1267,7 +1267,7 @@ def render_str(self, text_content: str | Content) -> Content: def arrange(self, size: Size, optimal: bool = False) -> DockArrangeResult: """Arrange child widgets. - This method is best left along, unless you have a deep understanding of what it does. + This method is best left alone, unless you have a deep understanding of what it does. Args: size: Size of container. From e9a9bfe7e9dc78907c85f39d3f85d1e8e76c3e4d Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Wed, 10 Sep 2025 11:53:24 +0100 Subject: [PATCH 3/5] docs(option_list): fix typo in highlighted_option docstring --- src/textual/widgets/_option_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widgets/_option_list.py b/src/textual/widgets/_option_list.py index 52f06114b3..c8e6c8a959 100644 --- a/src/textual/widgets/_option_list.py +++ b/src/textual/widgets/_option_list.py @@ -313,7 +313,7 @@ def option_count(self) -> int: @property def highlighted_option(self) -> Option | None: - """The currently highlighted options, or `None` if no option is highlighted, + """The currently highlighted option, or `None` if no option is highlighted. Returns: An Option, or `None`. From 990e9ce50d4256123e31f6dc893f67eed4dc29f9 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Sun, 14 Sep 2025 11:41:05 +0100 Subject: [PATCH 4/5] docs(button): remove duplicate line in docstrings Remove duplicate `disabled` line in the Button utility constructor docstrings. --- src/textual/widgets/_button.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/textual/widgets/_button.py b/src/textual/widgets/_button.py index 66ace702c7..9d14a0557d 100644 --- a/src/textual/widgets/_button.py +++ b/src/textual/widgets/_button.py @@ -398,7 +398,6 @@ def success( Args: label: The text that appears within the button. - disabled: Whether the button is disabled or not. name: The name of the button. id: The ID of the button in the DOM. classes: The CSS classes of the button. @@ -434,7 +433,6 @@ def warning( Args: label: The text that appears within the button. - disabled: Whether the button is disabled or not. name: The name of the button. id: The ID of the button in the DOM. classes: The CSS classes of the button. @@ -470,7 +468,6 @@ def error( Args: label: The text that appears within the button. - disabled: Whether the button is disabled or not. name: The name of the button. id: The ID of the button in the DOM. classes: The CSS classes of the button. From 3f91935417d420779477ef1fc1c498635dea9c19 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Tue, 16 Sep 2025 10:42:58 +0100 Subject: [PATCH 5/5] docs(how-to): fix typo in How to Design a Layout --- docs/how-to/design-a-layout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to/design-a-layout.md b/docs/how-to/design-a-layout.md index 379f307cd8..bc524a518c 100644 --- a/docs/how-to/design-a-layout.md +++ b/docs/how-to/design-a-layout.md @@ -10,7 +10,7 @@ Textual's layout system is flexible enough to accommodate just about any applica The initial design of your application is best done with a sketch. You could use a drawing package such as [Excalidraw](https://excalidraw.com/) for your sketch, but pen and paper is equally as good. -Start by drawing a rectangle to represent a blank terminal, then draw a rectangle for each element in your application. Annotate each of the rectangles with the content they will contain, and note wether they will scroll (and in what direction). +Start by drawing a rectangle to represent a blank terminal, then draw a rectangle for each element in your application. Annotate each of the rectangles with the content they will contain, and note whether they will scroll (and in what direction). For the purposes of this article we are going to design a layout for a Twitter or Mastodon client, which will have a header / footer and a number of columns.