Commit Graph

345 Commits

Author SHA1 Message Date
Will McGugan
c76d616521 updated snapshot 2022-12-10 17:54:57 +00:00
Will McGugan
13a207bacc new blog post 2022-12-10 10:34:34 +00:00
Will McGugan
cebeafbb8b Merge branch 'main' into list-view 2022-12-09 10:09:07 +00:00
Will McGugan
69ed4b2e0b textlog documentation 2022-12-09 09:01:34 +00:00
Will McGugan
7ba70ada96 fix examples 2022-12-08 17:24:34 +00:00
Will McGugan
a6e64a38ee fix for snapshot 2022-12-07 16:58:26 +00:00
Will McGugan
dd8a9562d0 fix for container height change 2022-12-07 16:02:51 +00:00
Rodrigo Girão Serrão
ba5ec6b34b Merge branch 'main' of https://github.com/Textualize/Textual into placeholder 2022-12-05 15:08:01 +00:00
Darren Burns
f0c4023c47 Merge branch 'main' of github.com:Textualize/textual into list-view 2022-11-30 12:15:08 +00:00
chillerno1
aea5905179 Add missing type hints to methods 2022-11-28 11:40:27 +11:00
Rodrigo Girão Serrão
9654748dd7 Update example and test files. 2022-11-25 18:23:24 +00:00
Rodrigo Girão Serrão
9fd01494b9 Merge pull request #1243 from jangxyz/patch-1
FIX css link
2022-11-23 20:49:48 +00:00
Darren Burns
eb8c078306 Merge branch 'main' of github.com:willmcgugan/textual into list-view 2022-11-23 11:03:40 +00:00
Kim, Jang-hwan
d58a072dfc FIX css link
This is the part where the [guide](https://textual.textualize.io/guide/widgets/#default-css) explains the `DEFAULT_CSS` feature, leaving a small amount of css in `hello04.css`. However, the App class still links to the css file from the previous version (`hello03.css`). This PR fixes that and updates to the recent one.
2022-11-22 07:59:02 +09:00
Darren Burns
be318949f8 Fix snapshot test 2022-11-21 17:10:16 +00:00
Darren Burns
c57f6b9025 Fix click handler 2022-11-21 16:42:53 +00:00
Darren Burns
eafb9eca8e Adding example for list itemm 2022-11-21 15:12:36 +00:00
Will McGugan
f7dade5a26 new tree control 2022-11-20 15:42:35 +00:00
Rodrigo Girão Serrão
54b85399e7 Merge branch 'main' into placeholder 2022-11-18 15:21:40 +00:00
Rodrigo Girão Serrão
a8c5d1abe4 Add docs for Placeholder. 2022-11-18 15:17:43 +00:00
Dave Pearson
8a6d21da5e Add the basics of Label docs for the manual 2022-11-17 10:15:35 +00:00
Will McGugan
39a764f49f call later 2022-11-09 17:23:28 +00:00
Dave Pearson
dcf1784676 Merge pull request #1017 from UriyaHarpeness/feature/fix-some-inaccuracies-in-the-tutorial
Fix some inaccuracies in the tutorial.
2022-10-31 13:11:02 +00:00
hfarooq
0963103db8 Fixed data_table example app - actually run it 2022-10-25 21:03:51 +00:00
UriyaHarpeness
98fdb9d1a1 Fix some inaccuracies in the tutorial. 2022-10-25 19:32:14 +03:00
Darren Burns
d02e6e94b0 Fix data-table snapshot 2022-10-24 15:16:47 +01:00
Darren Burns
041bb35014 Remove comments, simplify test 2022-10-24 14:51:40 +01:00
Darren Burns
f09e5f7d9f Snapshot testing footer 2022-10-24 12:39:33 +01:00
Darren Burns
67c3b83f80 Remove animation from checkbox snapshot test 2022-10-24 12:18:35 +01:00
Darren Burns
c6418e5e20 Snapshot testing data table, checkbox interactions 2022-10-24 12:14:52 +01:00
Darren Burns
5d4ff6614f Snapshotting canonical style property examples 2022-10-20 15:26:01 +01:00
Dave Pearson
76e9654535 Merge pull request #958 from davep/toll-free
Review the use of the bell in various examples and documentation files
2022-10-19 15:56:21 +01:00
Dave Pearson
c4f920be67 Remove the bell from the Button documentation example 2022-10-19 15:15:53 +01:00
Dave Pearson
e8bb084538 Remove intro02.py
It doesn't appear to be referenced anywhere in the docs.
2022-10-19 15:12:54 +01:00
Dave Pearson
bd0e1c01b1 Remove intro01.py
It doesn't appear to be referenced anywhere in the docs.
2022-10-19 15:12:11 +01:00
Dave Pearson
f8bda04d90 Remove the on_space from key01 in the docs
While in this part of the docs we do want to keep the bell (see key02), it
was an error in the code that it included this event in key01. Removing it
from here because adding this bit of code for key02 is a key (no pun) part
of the docs.
2022-10-19 15:05:18 +01:00
Dave Pearson
ce0c6c49a2 Remove the bell from the actions05 documentation example 2022-10-19 14:59:59 +01:00
Dave Pearson
f76e472096 Remove the bell from the actions04 documentation example 2022-10-19 14:57:50 +01:00
Dave Pearson
aa8580bee7 Remove the bell from the actions03 documentation example 2022-10-19 14:54:57 +01:00
Dave Pearson
5c5ca3316f Remove the bell from the actions02 documentation example 2022-10-19 14:43:37 +01:00
Dave Pearson
f5ce603d43 Remove the bell from the actions01 documentation example 2022-10-19 14:41:13 +01:00
darrenburns
4a0dc49bca Checkbox polishing + fix auto-width in Horizontal layout (#942)
* checkbox widget

* fixes

* Checkbox additions, fix content width in horizontal layout

* Update docs, add tests for checkbox

* Remove some test code

* Small renaming of test class

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2022-10-18 15:17:44 +01:00
Dave Pearson
78ea2cd9f8 Modify the screen examples to import Screen from textual.screen
The surrounding text in the documentation states that Screen is imported
from textual.screen, but the code was importing the class from textual.app.
Further, I was getting warnings from pyright that I was using a class that
wasn't exported from the module I was importing from.
2022-10-13 09:10:40 +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
e2ea2cf7ef Merge pull request #854 from Textualize/styles-css-property-fixes-updates
Fix issues with `Styles.css`, update "Grid" styles doc page
2022-10-08 16:02:12 +01:00
Will McGugan
4ff99bc72c remove hack 2022-10-08 14:55:01 +01:00
Will McGugan
f2f13eacf0 proof reading 2022-10-07 18:00:35 +01:00
Darren Burns
143332efd5 Add example to grid styles docs, rename it 2022-10-07 14:59:37 +01:00