Commit Graph

2839 Commits

Author SHA1 Message Date
Will McGugan
80394a69b8 error message if console is running 2022-10-22 08:56:17 +01:00
Will McGugan
899b4156f6 remove useless note 2022-10-22 08:36:52 +01:00
Will McGugan
9d0f8f1e48 typing pride 2022-10-22 08:34:23 +01:00
Will McGugan
86edb7345d Merge pull request #976 from aaronst/css
docs: remove extra the
2022-10-21 18:37:30 +01:00
Aaron Stephens
1066c4a224 docs: remove extra the 2022-10-21 10:31:07 -07:00
Will McGugan
23ec76bdc3 fix markup 2022-10-21 17:19:34 +01:00
Will McGugan
f41b0138fb roadmap update 2022-10-21 17:03:02 +01:00
Will McGugan
b322c72489 dependancy update 2022-10-21 16:23:42 +01:00
Will McGugan
81f561657f nuked the sandbox 2022-10-21 16:21:30 +01:00
Will McGugan
727a4f1292 remove how-to 2022-10-21 15:58:03 +01:00
Will McGugan
b9773cc638 tweak to splash 2022-10-21 12:56:10 +01:00
Will McGugan
01299a8c67 Docs link 2022-10-21 12:50:36 +01:00
Will McGugan
3e37d8f8bf Update README.md 2022-10-21 12:47:53 +01:00
Will McGugan
c05ffb5609 New code browser video 2022-10-21 12:44:35 +01:00
Will McGugan
a5c1e3097d new splash 2022-10-21 12:38:36 +01:00
Will McGugan
deffef739b Added demo and docs 2022-10-21 10:24:50 +01:00
Will McGugan
2358d9d568 fix for point key and keys in screenshot 2022-10-21 10:15:41 +01:00
Will McGugan
c035af3054 Merge pull request #959 from Textualize/demo
adds demo
2022-10-21 09:48:31 +01:00
Will McGugan
a9d1499cc7 docstring fix 2022-10-21 09:43:25 +01:00
Will McGugan
4c8bcdaeab remove links 2022-10-21 09:38:51 +01:00
Will McGugan
aba508f68c Added notification on save 2022-10-21 09:29:39 +01:00
Will McGugan
1db9327969 fix title setting 2022-10-20 21:57:31 +01:00
Will McGugan
f4191702e1 Merge branch 'css' into demo 2022-10-20 21:47:43 +01:00
Will McGugan
bfba0dca09 optimized focus within 2022-10-20 21:20:30 +01:00
Dave Pearson
8a4a95315f Merge pull request #970 from davep/5x5
Switch the dark mode toggle to Ctrl+D
2022-10-20 20:54:28 +01:00
Dave Pearson
491a315aed Switch the dark mode toggle to Ctrl+D
It was on D (as in uppercase D, or shift-d), but I feel this was going to be
confusing given that there is still this slight mixup with the display of
letters in the footer, and what was bound, etc.

So... make it obvious what to press.

Remember, 'd' can't be used because it's a movement key in this game.
2022-10-20 20:42:48 +01:00
Will McGugan
4a563fe514 scroll to top, add bell 2022-10-20 19:49:09 +01:00
Will McGugan
f229d5dd43 removed bell 2022-10-20 19:43:15 +01:00
Will McGugan
e419a0821c fix for focus reset edge case 2022-10-20 19:36:36 +01:00
Will McGugan
af5a257660 focus within issues 2022-10-20 17:54:56 +01:00
Will McGugan
d7cf152d0f Merge pull request #963 from davep/5x5
Initial pull of 5x5 into the Textual examples directory
2022-10-20 16:27:03 +01:00
Dave Pearson
8e1dcbd2e1 Add a wee bit of animation 2022-10-20 15:55:49 +01:00
Will McGugan
c0a0bf8ed5 links 2022-10-20 15:48:43 +01:00
Darren Burns
e35291da33 Fix snapshots 2022-10-20 15:27:10 +01:00
Darren Burns
5d4ff6614f Snapshotting canonical style property examples 2022-10-20 15:26:01 +01:00
Will McGugan
58962d293a move app 2022-10-20 14:56:58 +01:00
Will McGugan
4f4696e832 docs and examples polish 2022-10-20 14:55:07 +01:00
Dave Pearson
e0cea53d2f Sweep up some on->filled naming changes 2022-10-20 14:49:30 +01:00
Dave Pearson
db976348cc Swap the docstrings away from Sphinx style to Google style
See https://github.com/Textualize/textual/pull/963#discussion_r1000547282
2022-10-20 14:46:18 +01:00
Will McGugan
b1319da51f Merge pull request #968 from davep/fix-calculator
Update the calculator example to make all keyboard keys work again
2022-10-20 14:43:29 +01:00
Dave Pearson
615a1997b9 Drop using __file__ to work out the name of the CSS file
See https://github.com/Textualize/textual/pull/963#discussion_r1000546514

Personally I prefer the approach I was using in that it's one less bit of
hard-coded metadata. On the other hand I can appreciate that reducing the
number of possibly-confusing things in an example plays better with people
who may be both new to Textual *and* to Python.
2022-10-20 14:26:28 +01:00
Dave Pearson
b19144abfe Rename "on" things to "filled" things
Because Textual uses on_ for event handlers there was the danger of a name
clash; so to keep things as clear as possible this renames anything to do
with "on" (method names, properties, style classes) so that it talks about
"filled" instead.

See https://github.com/Textualize/textual/pull/963#discussion_r1000544563
2022-10-20 14:11:00 +01:00
Dave Pearson
3e9b30ee2e Handle importing of Final for Python 3.7
See https://github.com/Textualize/textual/pull/963#pullrequestreview-1149139158
2022-10-20 14:04:14 +01:00
Will McGugan
e620011a5d screenshot 2022-10-20 14:02:55 +01:00
Dave Pearson
da0f3911fb Make Enter act as equals too
I suspect folk will hit enter when they mean = (see macOS calculator,
Windows calculator (I thin), etc...).
2022-10-20 13:40:15 +01:00
Dave Pearson
d7337c343e Make the calculator example keyboard-friendly again 2022-10-20 13:38:54 +01:00
Will McGugan
087c557f05 Merge pull request #967 from Textualize/colors-preview-fix
Fix color preview
2022-10-20 13:18:00 +01:00
Will McGugan
e2d5bc7d52 Merge pull request #964 from Textualize/color-animate-alpha
Color animate alpha
2022-10-20 13:17:04 +01:00
Darren Burns
08e5433bc8 Fix color preview 2022-10-20 12:33:13 +01:00
Will McGugan
24b39fc5dd demo update 2022-10-20 11:23:58 +01:00