Will McGugan
b49eb9ece3
docs and tests
2025-02-05 16:47:46 +00:00
Will McGugan
7d228fd228
content docs
2025-02-02 19:37:36 +00:00
Will McGugan
c9102aebb5
switch to Content
2025-01-16 16:41:48 +00:00
Will McGugan
06e7787c79
Merge pull request #5430 from TomJGooding/docs-actions-fix-namespaces-example
...
docs(action): fix namespaces code example
2025-01-07 15:58:59 +00:00
TomJGooding
dcc24eae82
docs: fix 'into' grammar
2024-12-30 20:33:02 +00:00
TomJGooding
9827d7a49b
docs(action): fix namespaces code example
...
Fix the code example for action namespaces, where clicking the links
should update the background for that widget only.
Fixes https://github.com/Textualize/textual/issues/5422
Co-authored-by: Andrew Schweitzer <anschweitzer@gmail.com>
2024-12-24 16:16:08 +00:00
Darren Burns
ed5864dfe9
Add notes to code
2024-09-25 12:45:34 +01:00
Darren Burns
6382685502
Simplify and use RenderResult over str
2024-09-25 12:31:46 +01:00
Darren Burns
3c8f5672f4
Bindings and focus example Counter
2024-09-25 12:17:09 +01:00
Darren Burns
86a6fcc18d
Counter example
2024-09-25 11:42:14 +01:00
Darren Burns
176cd5ebf5
More docs
2024-09-24 14:56:28 +01:00
Darren Burns
715080cd1d
Renaming calculator to counter in example
2024-09-24 14:16:08 +01:00
Darren Burns
8fc2bd1ccd
Basic CSS for counter example
2024-09-24 14:15:34 +01:00
Darren Burns
0fb0e2b7f7
Simplify wording, add counter example
2024-09-24 14:08:08 +01:00
TomJGooding
2b64b6e4b9
clean trailing whitespace in css examples
2024-08-27 17:38:15 +01:00
Will McGugan
4f3c7666e5
SystemCommand
2024-08-22 14:04:54 +01:00
Will McGugan
7a9ab93826
docs
2024-08-22 12:37:30 +01:00
Will McGugan
b1849e36ef
snapshot
2024-08-22 12:08:48 +01:00
Peter Bierma
4974f84930
Update examples.
2024-08-18 09:25:19 -04:00
Will McGugan
df7b75d340
fix command palette
2024-07-24 13:30:10 +01:00
Will McGugan
0d25607374
fix links in example
2024-07-17 09:23:55 +01:00
Will McGugan
ac860e93d4
example
2024-07-12 16:23:46 +01:00
Will McGugan
4378f779af
restore modal
2024-05-17 19:30:03 +01:00
Will McGugan
5e898baa1b
bindings
2024-05-17 19:18:54 +01:00
Will McGugan
e0942cf499
dynamic actions docs
2024-05-17 17:33:00 +01:00
Darren Burns
e22f081876
Animation docs fix ( #4226 )
...
* Docstring fixes
* Hardcoding the animation steps to fix animation docs example
* Calling ease correctly
2024-02-27 16:38:18 +00:00
Will McGugan
e701a8fad3
docs
2024-02-25 17:07:12 +00:00
Will McGugan
34e7721552
examples
2024-02-06 14:35:25 +00:00
Will McGugan
f20515d4ae
reactive docs
2024-02-06 14:30:27 +00:00
Will McGugan
aeeb93d69c
reactive init
2024-02-02 10:54:56 +00:00
Will McGugan
b2fe0a76c2
nested ( #3946 )
...
* nested
* remove debug
* patch scope
* fix nested
* docs
* clarification
* docstring
* fix test
* remove debug
* copy
* fix example
* wording
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
Co-authored-by: Dave Pearson <davep@davep.org>
* highlighting
* wording
* wording
* check errors
* type checking:
* extra errors
* extra test [skip ci]
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
Co-authored-by: Dave Pearson <davep@davep.org>
2024-01-04 15:07:43 +00:00
Will McGugan
e5f223156f
screen docs ( #3955 )
...
* screen docs
* Added push_screen_wait
* words and test
* overload typing
* docstring
* style tweak
* ws
* Update docs/guide/screens.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* Update docs/guide/screens.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* Update src/textual/app.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* merge fix
* wording
* wording [skipci]
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2024-01-04 13:52:41 +00:00
Daniel Schwarz
2dd6e92365
handle cities with spaces in the urllib.request version of weather05.py ( #3871 )
...
handle cities with spaces in the urllib.request version of weather
2023-12-14 15:39:43 +00:00
Rodrigo Girão Serrão
9a9d534b6d
Document DOMNode.watch ( #3724 )
...
* Document DOMNode.watch
* Create standalone example.
Addresses review comment: https://github.com/Textualize/textual/pull/3724#pullrequestreview-1744357054 .
* Create standalone example.
Addresses review comment: https://github.com/Textualize/textual/pull/3724#pullrequestreview-1744357054 .
2023-11-27 13:44:26 +00:00
Will McGugan
4c4e724b85
move expensive imports out of module scope ( #3753 )
...
* move expensive imports out of module scope
* function level import
* changelog
* restore _asyncio.py
* restore asyncio
* fix create_Task
* create_task fix
2023-11-27 11:47:04 +00:00
Rodrigo Girão Serrão
570c35cb5e
Fix docs example by deleting code.
2023-11-14 15:59:30 +00:00
TomJGooding
b99f143e9b
fix: replace textlog references ( #3663 )
2023-11-13 10:54:09 +00:00
Rodrigo Girão Serrão
6f00943c14
Fix imports.
2023-10-26 12:15:55 +01:00
Will McGugan
47af5e0402
Add loading reactive ( #3509 )
...
* Add loading reactive
* loading indicator example
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* into
* changelog
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-10-11 16:53:49 +01:00
Will McGugan
b99da2d6b9
Testing guide ( #3329 )
...
* testing docs
* words
* words
* testing doc
* Apply suggestions from code review
Co-authored-by: Gobion <1312216+brokenshield@users.noreply.github.com>
---------
Co-authored-by: Gobion <1312216+brokenshield@users.noreply.github.com>
2023-09-17 10:34:32 +01:00
Dave Pearson
31eaf3ffb8
Fix command palette docs example ( #3331 )
2023-09-17 09:02:04 +01:00
Will McGugan
ea6bf766e7
Cp shutdown ( #3303 )
...
* change hotkey
* binding
* rename Source to Provider
* name change
* name changes
* words
* docstring
* system commands
* add icon click
* replace dim with muted
* log shutdown errors
* Update src/textual/screen.py
Co-authored-by: Dave Pearson <davep@davep.org>
* fix tests
* Wee bit more source->provider rewording
---------
Co-authored-by: Dave Pearson <davep@davep.org>
2023-09-14 15:21:51 +01:00
Will McGugan
5d6a95dec5
Command Palette tweaks and docs ( #3289 )
...
* renames to command palette and docs
* docs
* simplifyt
* note
* docstring
* Update src/textual/command.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* Update docs/examples/guide/command_palette/command01.py
Co-authored-by: Dave Pearson <davep@davep.org>
* populate text
* screen commands
* Update docs/guide/command_palette.md
Co-authored-by: Dave Pearson <davep@davep.org>
* Update docs/guide/command_palette.md
Co-authored-by: Dave Pearson <davep@davep.org>
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
Co-authored-by: Dave Pearson <davep@davep.org>
2023-09-13 15:03:25 +01:00
Will McGugan
cbed79c7eb
Modes docs ( #3233 )
...
* Modes docs
* Added current mode
* fix docstring
* diagrams
* Update docs/guide/screens.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* Update docs/guide/screens.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* words
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-09-04 17:40:40 +01:00
Rodrigo Girão Serrão
5ee0ebfef4
Rename CSS files to TCSS.
...
Related issue: #3137 .
2023-08-22 13:21:17 +01:00
Will McGugan
dda2cb2be2
auto grid docs and test
2023-08-17 10:46:57 +01:00
Will McGugan
a0be460921
border classvars ( #3097 )
...
* border classvars
* changelog
* copy
* remove whitespace
* copy
2023-08-15 10:34:24 +01:00
Will McGugan
879c985296
Rich log ( #3046 )
...
* log
* tests
* snapshot tests
* change to richlog
* keep raw lines
* disable highlighting by default
* simplify
* superfluous test
* optimization
* update cell length
* add refresh
* write method
* version bump
* doc fix link
* makes lines private
* docstring
* relax dev dependancy
* remove superfluous code [skip ci]
* added FAQ [skipci]
* fix code in faq [skipci]
* fix typo
* max lines fix
2023-08-03 10:11:17 +01:00
Sepehr Shirkhanlu
5153fe6c92
Fix docs ( #2932 )
...
* Fix line highlighting in docs
* fix docs: remove duplicated code
2023-07-23 16:49:59 +01:00
Dave Pearson
48ee8540bc
Add the thread argument to the example code in the docs
2023-07-13 14:08:33 +01:00