Rodrigo Girão Serrão
e5033d7d23
Remove hanging lines from docstrings. ( #2349 )
...
* Remove hanging lines from docstrings.
Deleted hanging blank lines at the end of docstrings.
Regex pattern:
- find `\n\n( *)"""`
- replace with `\n$1"""`
2023-04-24 11:21:38 +01:00
Will McGugan
13939499d9
implement single line comments ( #2248 )
2023-04-11 15:21:41 +01:00
Will McGugan
b5689b1f69
Worker API ( #2182 )
...
* worker class
* worker API tests
* tidy
* Decorator and more tests
* type fix
* error order
* more tests
* remove active message
* move worker manager to app
* cancel nodes
* typing fix
* revert change
* typing fixes and cleanup
* revert typing
* test fix
* cancel group
* Added test for worker
* comment
* workers docs
* Added exit_on_error
* changelog
* svg
* refactor test
* remove debug tweaks
* docstrings
* worker test
* fix typing in run
* fix 3.7 tests
* blog post
* fix deadlock test
* words
* words
* words
* workers docs
* blog post
* Apply suggestions from code review
Co-authored-by: Dave Pearson <davep@davep.org >
* docstring
* fix and docstring
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update src/textual/widgets/_markdown.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update src/textual/worker.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Fix black
* docstring
* merge
* changelog
---------
Co-authored-by: Dave Pearson <davep@davep.org >
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-04-04 13:12:51 +01:00
Roy Attias
d0035b4d4b
examples: json_tree: Use public attributes ( #2138 )
2023-03-27 14:26:55 +01:00
Will McGugan
2c120c0983
Replace markdown table ( #2055 )
...
* Replace markdown table
* snapshots
* fix markdown snapshot
* snapshot update
* imports and docstrings
* remove reference to DataTable
* typing fix
2023-03-18 10:38:26 +00:00
Rodrigo Girão Serrão
8565d3cef6
Renamed 'Vertical' to 'VerticalScroll'.
...
Related issues: #1957 .
2023-03-08 18:31:24 +00:00
Will McGugan
5c2cf2960e
new syntax for calculator
2023-02-25 14:41:00 +00:00
Will McGugan
bd838c7f03
added hr to markdown example
2023-02-24 17:33:20 +00:00
Dave Pearson
5388331bfa
Merge pull request #1857 from davep/alt-compose-5x5
2023-02-21 23:14:27 +00:00
Dave Pearson
e3b3157540
Swap the 5x5 game header to the alt-compose method
...
Embrace the future!
2023-02-21 22:02:01 +00:00
Will McGugan
9b13122583
fix for dictionary example
2023-02-21 13:57:52 +00:00
Will McGugan
a714ffe388
Merge branch 'main' into alt-compose
2023-02-21 10:46:45 +00:00
Will McGugan
4c9326f66f
Merge pull request #1832 from Textualize/batch-update
...
Batch update
2023-02-21 10:42:31 +00:00
Will McGugan
068d7513b8
Merge pull request #1823 from Textualize/optimize-scroll
...
Optimize scroll with a Spatial Map
2023-02-21 10:41:04 +00:00
Will McGugan
453070032e
Merge pull request #1785 from davep/promote-disabled
...
Promote disabled to `Widget` level
2023-02-21 09:56:01 +00:00
Will McGugan
9045f13837
context syntax
2023-02-20 18:03:36 +00:00
Will McGugan
14bbe0445e
context compose
2023-02-20 16:26:12 +00:00
Will McGugan
347b94a0fe
changelog
2023-02-20 16:16:10 +00:00
Will McGugan
433e371dc9
changelog and snapshots
2023-02-19 10:05:37 +00:00
Will McGugan
9b81e59ff8
Merge branch 'optimize-scroll' into batch-update
2023-02-19 10:02:50 +00:00
Will McGugan
a63d07f619
enhanced ordered list
2023-02-19 09:18:26 +00:00
Will McGugan
434e6178d3
list item style
2023-02-18 23:25:17 +00:00
Will McGugan
5a6d718344
list item improvements
2023-02-18 23:15:15 +00:00
Will McGugan
c3e5e0490c
remove log
2023-02-18 22:46:43 +00:00
Will McGugan
724e0e3f58
Markdown and dictionary example
2023-02-18 22:43:13 +00:00
Will McGugan
665efa2d05
error handling in dictionary
2023-02-18 18:01:25 +00:00
Will McGugan
b6272a3b59
fix dictionary example going down
2023-02-18 17:57:48 +00:00
Dave Pearson
474209ec93
Switch 5x5's help over to the new Markdown viewer
2023-02-17 14:27:11 +00:00
Dave Pearson
4fe1e0f0c5
Merge branch 'main' into promote-disabled
2023-02-15 11:10:45 +00:00
Dave Pearson
6ab9a424a2
Merge branch 'main' into promote-disabled
2023-02-15 10:14:21 +00:00
Dave Pearson
96a53d56d7
Enable "pathlike" locations for the Markdown viewer
2023-02-15 09:55:20 +00:00
Dave Pearson
013f6cbc3f
Allow the markdown example to be run outside of examples directory
2023-02-15 09:43:21 +00:00
Will McGugan
08c3a7214e
No, I repeat, no abbreviations
2023-02-14 17:28:24 +00:00
Will McGugan
5a730d7a0a
typo and docstring
2023-02-14 16:48:25 +00:00
Will McGugan
71d0017ef9
docs and refactor
2023-02-14 15:22:15 +00:00
Dave Pearson
7763020f53
Move future import to after the module docstring
...
Looks like someone added this but placed it before the module docstring.
Fixing it as I notice it.
2023-02-14 15:00:57 +00:00
Dave Pearson
e26e75a9d1
Swap game_playable to use the simplified disable ability
2023-02-14 14:59:53 +00:00
Will McGugan
a6d7747f28
fix 5x5
2023-02-07 12:10:02 +00:00
Will McGugan
6c4adea608
update Mypy
2023-02-07 11:25:36 +00:00
Will McGugan
5930ebf82e
remove _typing.py
2023-02-07 10:46:28 +00:00
Will McGugan
bcf382d2ff
typing of Final
2023-02-07 09:06:08 +00:00
Dave Pearson
4adfe69ec9
Remove TreeNode as a pseudo-widget
...
This encourages importing it from `textual.widgets.tree` instead, keeping it
in line with the other changes made for #1637 .
Note this is a breaking change.
2023-01-23 17:37:58 +00:00
Galmo13
affcb60d9b
Fixed a typo
...
Fixed a "buy" by a "by".
2023-01-16 16:07:58 +01:00
Darren Burns
b9238f4651
Add 2022 year in review blog post
2022-12-20 17:24:19 +00:00
Dave Pearson
50dd8d095c
Remove universal=True from bindings in 5x5
...
Not only has universal not changed to priority, these bindings are on the
screen and so have priority anyway. This means we can safely go back to how
5x5 was prior to 0.6.0.
2022-12-15 14:30:48 +00:00
Dave Pearson
0f25031735
Make the cursor keys work in 5x5 again
...
The cursor keys stopped working in 5x5 once binding inheritance was
introduced in 0.6.0 (see #1343 ). Making them `universal` keys here fixes the
issue. This won't be the final form of this change, but this fixes this
example so that it works with 0.6.0 (so anyone cloning down the code and
running with an installed 0.6.0 will get the full effect).
Once the final work resulting from #1343 takes place this will need a final
update (and should be a good test example for the changes).
2022-12-14 11:51:17 +00:00
Will McGugan
13a207bacc
new blog post
2022-12-10 10:34:34 +00:00
Will McGugan
7ba70ada96
fix examples
2022-12-08 17:24:34 +00:00
Will McGugan
f7dade5a26
new tree control
2022-11-20 15:42:35 +00:00
Will McGugan
50d6e9736b
tweak
2022-11-19 19:36:44 +00:00