Commit Graph

337 Commits

Author SHA1 Message Date
Darren Burns
4d898e8ef7 Theme sandbox example 2024-10-17 17:01:28 +01:00
Will McGugan
7738b10840 typo 2024-09-16 10:08:49 +01:00
Will McGugan
6758c27762 color tweak 2024-09-15 17:54:00 +01:00
Will McGugan
95f65e9f68 sidebar 2024-09-15 17:28:37 +01:00
Will McGugan
215d99c050 tweak example 2024-09-09 19:36:56 +01:00
Will McGugan
da00ab3f7b mother example 2024-09-09 19:29:45 +01:00
Will McGugan
af80839a20 changelog 2024-08-31 17:14:34 +01:00
TomJGooding
2b64b6e4b9 clean trailing whitespace in css examples 2024-08-27 17:38:15 +01:00
Will McGugan
888d8d9283 Actions 2024-08-14 16:39:08 +01:00
Will McGugan
ce84292365 key panel widget 2024-08-12 15:53:18 +01:00
Will McGugan
3c48551f3d snapshots 2024-08-11 16:58:46 +01:00
Will McGugan
803562d9a8 simplify example 2024-06-19 16:30:02 +01:00
eddyizm
3cdc5143ce fix: remove typo in docstring 2024-06-15 22:15:54 -07:00
Will McGugan
a32bfef943 fix dictionary 2024-06-13 16:38:23 +01:00
Will McGugan
bca829b1b6 fix 5x5 quit 2024-06-07 17:26:48 +01:00
Will McGugan
f72fb5d11f zero height renderables 2024-06-06 20:03:39 +01:00
Will McGugan
d43ba0b5fc fix markdown not clearing 2024-06-06 15:52:55 +01:00
Will McGugan
84e6a9d727 fix 2024-05-20 19:19:01 +01:00
Will McGugan
c5e0bccdd9 fix test 2024-05-20 19:12:29 +01:00
Will McGugan
3219d1578b docstrings 2024-05-19 20:18:34 +01:00
Will McGugan
34eb1ec5b5 docstring 2024-05-19 20:14:52 +01:00
Will McGugan
bd27d0432d Added dyanmic bindings to Markdown 2024-05-19 20:07:24 +01:00
Will McGugan
29077360d2 fix for new binding mechanism 2024-05-17 12:14:28 +01:00
Will McGugan
5606a40f07 don't make demo inline 2024-03-30 09:00:18 +00:00
Will McGugan
623d21b47b don't inline calculator 2024-03-29 16:49:57 +00:00
Will McGugan
e039a19ca0 style inline 2024-03-29 13:15:41 +00:00
Will McGugan
a77f85ee65 inline no clear 2024-03-28 14:08:02 +00:00
Will McGugan
4247753d54 calculate inline height 2024-03-27 17:53:44 +00:00
Will McGugan
ce36053352 docs and example 2024-02-20 21:38:47 +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
c6aef4b8b9 Added Merlin to examples 2023-12-13 17:32:42 +00:00
Will McGugan
a85edb77f4 added example 2023-12-13 10:52:45 +00:00
Will McGugan
149c5e2a1d color command example (#3314)
* color command example

* Scroll to end
2023-09-15 13:11:34 +01:00
Dave Pearson
460bbbad8d Merge branch 'main' into markdown-anchor-jump 2023-09-11 20:18:53 +01:00
Dave Pearson
798f67f01d Allow loading a different file into the markdown example
Not getting carried away with this -- frogmouth exists after all -- but
allowing passing a different file on the command line does make it easier to
quickly test the Markdown widget.
2023-09-06 09:27:22 +01:00
Dave Pearson
c9d3e2d8b7 Merge branch 'main' into M-x 2023-08-23 14:22:28 +01:00
Rodrigo Girão Serrão
5ee0ebfef4 Rename CSS files to TCSS.
Related issue: #3137.
2023-08-22 13:21:17 +01:00
Dave Pearson
4443a88a62 Remove the code browser with command palette example
This was useful for testing, but we don't want to maintain it.
2023-08-21 11:40:46 +01:00
Dave Pearson
0df8148d79 Move the command sources on to the app and screens
Also add code to guard against pulling up the command palette while in the
command palette.
2023-08-14 13:21:35 +01:00
Dave Pearson
3e7f684d4c Merge branch 'main' into M-x 2023-08-14 09:17:09 +01:00
Will McGugan
bcd5760c67 calculator uses Digits (#3092)
* calculator uses Digits

* remove example
2023-08-11 17:49:30 +01:00
Will McGugan
d857d57a2e fix markdown example (#3081) 2023-08-09 16:32:38 +01:00
Dave Pearson
39005b8075 Add a version of the code browser that has a command palette 2023-08-08 16:26:56 +01:00
Dave Pearson
5c7957ae36 Remove unnecessary parameter for on_mount 2023-08-08 11:39:32 +01:00
Will McGugan
e3115c50bf fix for code browser type error (#2514) 2023-05-08 18:42:10 +01:00
Will McGugan
91a9d570a4 On decorator (#2453)
* Add on decorator

* decorator code

* docs for on decorator

* Examples

* test errors

* simplify listing

* words

* changelog

* Update docs/guide/events.md

Co-authored-by: Dave Pearson <davep@davep.org>

* Update docs/guide/events.md

Co-authored-by: Dave Pearson <davep@davep.org>

* Update docs/examples/events/on_decorator.css

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>

* Update docs/guide/events.md

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>

* rewording

* comment

* clarification

* Added note

---------

Co-authored-by: Dave Pearson <davep@davep.org>
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-05-02 16:17:40 +01:00
Will McGugan
f53c3cd589 container refactor (#2377)
* container refactor

* Rearrange css

* changelog

* try timer updates

* force update

* sleep idle

* Restore updates
2023-04-26 13:36:08 +01:00
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