Commit Graph

2435 Commits

Author SHA1 Message Date
Aaron Stephens
b9493ae6ff docs: typos 2022-10-12 17:34:29 -07:00
Will McGugan
467700c759 Merge pull request #876 from davep/css-CSS_PATH-type-update
Harmonise the types of the App's css path declarations
2022-10-12 15:36:25 +01:00
Will McGugan
ee0a4f6bf1 Merge pull request #881 from Textualize/win-slow
Win slow
2022-10-12 15:34:06 +01:00
Will McGugan
010ccbcd6d Merge pull request #868 from Textualize/document-links
Document links
2022-10-12 15:31:35 +01:00
Will McGugan
b42b241b23 Merge pull request #883 from davep/css-query-specific-type
Provide extra hinting for App.query
2022-10-12 15:27:23 +01:00
Will McGugan
1bdea56bde Merge pull request #879 from lllama/patch-4
Update docs: fix copy/paste error for Timers
2022-10-12 14:52:41 +01:00
Dave Pearson
ea0c9bb464 Reformat to black standard 2022-10-12 14:40:49 +01:00
Dave Pearson
eef9c8157d Provide extra hinting for App.query
This change seeks to help silence some warnings that were appearing with
pylance/pyright when type checking was in strict mode. See #867.
2022-10-12 14:36:19 +01:00
Will McGugan
e7e6b56ea3 faster than inspect 2022-10-12 14:34:46 +01:00
Will McGugan
bc86cdd303 test fix 2022-10-12 14:19:44 +01:00
Will McGugan
091693b6c0 simplify log 2022-10-12 14:00:10 +01:00
Will McGugan
b593e6638c simplify 2022-10-12 13:45:30 +01:00
Will McGugan
713d7d921c speed up stack 2022-10-12 13:38:18 +01:00
Will McGugan
6dceb527a1 time for windows 2022-10-12 13:30:15 +01:00
Will McGugan
5fa606cf27 stack fix 2022-10-12 13:24:57 +01:00
Felix Ingram
b32e645e9f Fix copy/paste error 2022-10-12 12:28:03 +01:00
Dave Pearson
72a166ff1d Correctly specify the union of types 2022-10-12 10:45:38 +01:00
Dave Pearson
eb91adb15b Harmonise the types of the App's css path declarations
The CSS path for an app can be given either as an init parameter, or as a
class variable. The declared types for these two declarations didn't
match (the class variable didn't allow for a PurePath).

This ensures that the types are the same and any future changes will be made
to both routes of declaration.

See #866.
2022-10-12 10:36:00 +01:00
Will McGugan
31d41ce691 replace with time 2022-10-12 10:35:23 +01:00
Will McGugan
f6333004bc new time 2022-10-12 10:30:16 +01:00
Will McGugan
b605a2393a replace time with perf counter 2022-10-12 10:28:47 +01:00
Will McGugan
fed5ae1164 Merge pull request #869 from Textualize/max-idle
add max_idle for screen
2022-10-11 15:56:47 +01:00
Will McGugan
8a450d4303 add max_idle for screen 2022-10-11 15:40:41 +01:00
Will McGugan
49c6530955 Merge pull request #852 from Textualize/key-aliases
Support for key aliases, key handling tests
2022-10-11 15:39:01 +01:00
Darren Burns
c40327e812 Get rid of a property 2022-10-11 15:23:56 +01:00
Darren Burns
ddc269ecc0 Update key_aliases property 2022-10-11 15:14:43 +01:00
Will McGugan
1da5c297ad Merge pull request #859 from davep/layout-typo-squish
Typo fix: `styles` belong to a widget
2022-10-11 15:00:25 +01:00
Darren Burns
26edf5e758 Fix link color being forced to auto 2022-10-11 14:59:03 +01:00
Darren Burns
50bd8f3ec2 Add a TODO 2022-10-11 11:34:53 +01:00
Darren Burns
3619b8f27a Make example link italic in dos 2022-10-11 11:26:04 +01:00
Darren Burns
ba94892bdd Remove CSS that wasnt needed 2022-10-11 11:22:46 +01:00
Darren Burns
f6452bbbd5 Styles documentation for links properties 2022-10-11 11:22:24 +01:00
Will McGugan
1312765561 Merge pull request #863 from Textualize/cli-colors
Cli colors
2022-10-11 11:07:18 +01:00
Will McGugan
dda9aaf8b3 tweak padding 2022-10-11 10:53:17 +01:00
Will McGugan
058af88eb6 tweaks 2022-10-11 10:24:05 +01:00
Darren Burns
999f39034a Merge branch 'css' of github.com:Textualize/textual into document-links 2022-10-11 10:21:07 +01:00
Will McGugan
e2fcc64dfe color fixes 2022-10-11 10:14:07 +01:00
Will McGugan
7bca184192 tweak for colors 2022-10-11 10:04:38 +01:00
Darren Burns
56f56eec33 Renaming hover_color -> link_hover_color, and so on... 2022-10-10 16:58:13 +01:00
Darren Burns
8c4818ad8b Fix mapping of key aliases 2022-10-10 16:30:00 +01:00
Darren Burns
f5d921e831 Make bubble_to private again 2022-10-10 10:48:14 +01:00
Darren Burns
bd3a723d86 Move aliasing/normalisation logic into Key 2022-10-10 10:46:33 +01:00
Will McGugan
47effaddbb Merge pull request #853 from Textualize/document-comma-separated-bindings
Documenting comma-separated bindings in docstring and guide
2022-10-10 10:05:31 +01:00
Dave Pearson
3f08e50261 Typo fix: styles belong to a widget 2022-10-09 21:11:30 +01:00
Will McGugan
abd27a4eb8 Merge pull request #858 from davep/dom-queries-typo-squish
DOM Queries typo squish
2022-10-09 20:48:53 +01:00
Dave Pearson
2275129752 Fix typo of 'a' for 'an' 2022-10-09 20:36:13 +01:00
Dave Pearson
4df4da2455 Fix typo of 'which' for 'with' 2022-10-09 20:35:11 +01:00
Dave Pearson
dfa05466e8 Add missing 'to' 2022-10-09 20:34:03 +01:00
Dave Pearson
37e9982348 Trailing whitespace trimming
As a commit of its own so it doesn't obscure any real change.
2022-10-09 20:32:23 +01:00
Will McGugan
7f8f1ced58 Merge pull request #857 from Textualize/docs-queries
Docs queries
2022-10-09 16:18:45 +01:00