Commit Graph

15 Commits

Author SHA1 Message Date
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
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
9045f13837 context syntax 2023-02-20 18:03:36 +00:00
Will McGugan
9b81e59ff8 Merge branch 'optimize-scroll' into batch-update 2023-02-19 10:02:50 +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
Will McGugan
8982d88f9e simplify compose 2022-10-15 13:07:15 +01:00
darrenburns
36ac94734f Move focus logic to screen, add more key replacements, collapse bindings in footer (#880)
* Move focusing logic to the Screen level

* Update tests to support per-screen focus management

* Some additional key name replacements

* Improve rendering of bindings in footer when multiple items have same action

* Clean up footer, allow key_displays csv

* Prevent exception when widget is not in screen
2022-10-13 10:43:16 +01:00
Will McGugan
e61eaf7597 replace TextInput with Input 2022-10-01 14:43:46 +01:00
Will McGugan
d962dcd49c new align 2022-09-27 16:35:40 +01:00
Darren Burns
0ab5ba1b6f Add missing __future__ import in dictionary example 2022-09-22 15:27:49 +01:00
Will McGugan
3a53cdb2a5 dictionary example 2022-09-20 15:42:08 +01:00