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
Will McGugan
8c7bc0aca5
Merge pull request #1069 from Textualize/bump-dependencies
...
relax dependencies
2022-10-31 13:06:05 +00:00
Will McGugan
40a205f5d0
Merge pull request #1014 from Textualize/reactive-always-update
...
Reactive `always_update`
2022-10-31 13:05:35 +00:00
Darren Burns
47c5a22b31
Docs change, as per code review request
2022-10-31 12:43:30 +00:00
Dave Pearson
aac9d874b4
Merge pull request #1070 from davep/monkey-patch-argv
...
Change the way that `textual run` does the argv monkey-patch
2022-10-31 12:14:15 +00:00
Dave Pearson
c391681b3d
Ensure we patch the same instance of argv
2022-10-31 12:03:32 +00:00
Will McGugan
acda0fa8af
update snok install poetry
2022-10-31 11:45:01 +00:00
Dave Pearson
26f31cfbe6
Change the way that textual run does the argv monkey-patch
...
A `textual run` already made an attempt to monkey-patch `argv` so that the
application being run would not see an `argv` any differently to how it
would if it had been run "vanilla". However, it could be caught out by code
like:
from sys import argv
...
do_something_with( argv )
beforehand it was okay with:
import sys
...
do_something_with( sys.argv )
With this change it should work both ways.
Somewhat related to #1064 .
2022-10-31 11:45:01 +00:00
Will McGugan
02c947985e
bump poetry
2022-10-31 11:43:24 +00:00
Will McGugan
fab60894b6
relax dependencies
2022-10-31 11:30:55 +00:00
Will McGugan
2e98c21343
Merge pull request #1066 from davep/cosmetic/1060/app-title
...
Keep the app title in the middle of the screen, regardless of clock state
2022-10-31 10:20:50 +00:00
Dave Pearson
ec44edf19c
Remove vestigial test code
...
While trying a couple of approaches to fixing #1060 I experimented with
using layers, but forgot to roll back that code.
2022-10-31 10:06:39 +00:00
Dave Pearson
6bdeba894c
Update header-related snapshot
...
The underlying snapshot is different in content, but not in effect, which is
by design. See #1060 .
2022-10-31 10:00:45 +00:00
Dave Pearson
8946421b3a
Ensure the app title is in the centre of the terminal
...
While the app title is always centred, there was an issue where the clock
being visible or invisible would throw off this centralisation. This
addresses that by keeping the space used by the clock, but simply not
showing the clock.
See #1060 .
2022-10-31 09:55:39 +00:00
Will McGugan
39dced58e0
Merge pull request #1037 from Textualize/code-browser-improvements
...
Focus the directory tree in code browser example
2022-10-29 20:39:56 +01:00
Will McGugan
ce3abe5b9c
Merge pull request #995 from davep/demo-screenshot-name
...
Extend set of handled reserved characters for screenshots
2022-10-29 20:06:27 +01:00
Will McGugan
1ba349b02c
Merge pull request #1008 from davep/query-tests
...
Extend unit tests for CSS query
2022-10-29 20:05:34 +01:00
Will McGugan
0d534dfc36
Merge pull request #1043 from davep/5x5-css-typo
...
Fix spelling mistake in 5x5 CSS
2022-10-29 19:57:59 +01:00
Dave Pearson
506de4719e
Merge pull request #1019 from typon/fix-datatable-example
...
Fixed data_table example app - actually run it
2022-10-29 08:33:36 +01:00
Dave Pearson
b6c9f12e94
Merge pull request #990 from 1ace/directory-tee-fix-folder
...
DirectoryTree: remove example code as examples/code_browser.py already covers that
2022-10-29 08:33:10 +01:00
Dave Pearson
8dbda4ed9b
Merge pull request #1051 from davep/bug/1048/button-variant
...
Ensure that button variants correctly swap
2022-10-28 13:19:33 +01:00
Dave Pearson
fe3552a95b
Fix typo when removing old variant class from button
...
Fixes #1048
2022-10-28 12:33:59 +01:00
Dave Pearson
949aafef47
Trailing whitespace cleanup
2022-10-28 12:31:53 +01:00
Will McGugan
3e7a42751d
Update bug_report.md
2022-10-28 09:51:22 +01:00
Dave Pearson
daa69d4591
Fix spelling mistake in 5x5 CSS
...
Possibly not the worst bug ever found in Textual, but once seen you can't
unsee it.
2022-10-28 07:34:33 +01:00
Darren Burns
014fe42c42
Focus the directory tree
2022-10-27 14:30:22 +01:00
UriyaHarpeness
ad47b9167e
Fix some typos in docs.
2022-10-26 08:39:36 +03:00
hfarooq
0963103db8
Fixed data_table example app - actually run it
2022-10-25 21:03:51 +00:00
Dave Pearson
897273693f
Set the screenshot encoding to utf-8
...
Addresses the issue on Windows reported in #1003 .
2022-10-25 20:52:30 +01:00
Dave Pearson
0f2bb61fe8
Change the default screenshot time format
...
As per this suggestion:
https://github.com/Textualize/textual/pull/995#issuecomment-1290331867
the default time format changes to one with no problematic characters within
it. For the moment at least I'm going to keep the stripping of reserved
characters as the user of the code could still pass in problematic format
strings.
See #993 .
2022-10-25 20:49:01 +01:00
UriyaHarpeness
98fdb9d1a1
Fix some inaccuracies in the tutorial.
2022-10-25 19:32:14 +03:00
Darren Burns
e99beb9dda
Remove debug print
2022-10-25 15:34:04 +01:00
Darren Burns
b6e19d5c30
Add note to docs about always_update
2022-10-25 14:39:39 +01:00
Darren Burns
5156b3bc70
Always update flag for reactives
2022-10-25 14:29:43 +01:00
Will McGugan
93e75f3f0e
Merge pull request #969 from Textualize/more-testing
...
More testing
2022-10-25 14:15:43 +01:00
Dave Pearson
0e3090352c
Merge branch 'main' into query-tests
2022-10-25 14:14:03 +01:00
Will McGugan
93ccf7069f
Merge pull request #988 from teschty/tutorial-highlight
...
Add highlighting for id="timers" line in tutorial
2022-10-25 14:13:28 +01:00
Dave Pearson
22d53c827e
Add tests for doing class work via a query
2022-10-25 14:03:43 +01:00
Will McGugan
842148d40f
Merge pull request #1007 from davep/5x5-tidy
...
Tidy up some of the documentation in the FiveByFive example
2022-10-25 13:53:16 +01:00
Darren Burns
6be7895ecb
Check some more widget state
2022-10-25 13:15:31 +01:00
Darren Burns
66d15d2a9e
Remove unused snapshot
2022-10-25 12:11:15 +01:00
Darren Burns
1b19450779
Ensure consistent path in snapshot tests
2022-10-25 12:08:08 +01:00
Dave Pearson
f217310b60
Add a test for a query result with no filter
2022-10-25 11:38:34 +01:00
Dave Pearson
6fcd93bd2a
Add tests for a query exclusion
2022-10-25 11:34:58 +01:00
Will McGugan
8603e567a2
Merge pull request #998 from davep/extend-test-coverage
...
Add and extend unit tests
2022-10-25 11:32:25 +01:00
Will McGugan
ed395e3f2d
Merge pull request #985 from Textualize/query-parse
...
Add sensible error to query
2022-10-25 11:28:37 +01:00
Dave Pearson
661fabb62c
Add tests for a query filtering
2022-10-25 11:26:09 +01:00
Darren Burns
617f0acb99
Additional sleep after tabbing to guard vs races
2022-10-25 10:57:54 +01:00
Dave Pearson
0019f26617
Add tests for a query __getitem__
2022-10-25 10:50:02 +01:00
Dave Pearson
e68a07d228
Add tests for reversing a query
2022-10-25 10:31:11 +01:00