Commit Graph

2986 Commits

Author SHA1 Message Date
Will McGugan
fab60894b6 relax dependencies 2022-10-31 11:30:55 +00:00
Will McGugan
ff21a51689 rename var 2022-10-31 11:05:31 +00:00
Will McGugan
9b9d58f716 fix issue with maxlines and textlog 2022-10-31 11:03:34 +00:00
Will McGugan
c705752352 38 fix 2022-10-31 10:22:31 +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
Will McGugan
0a02324309 renamed test 2022-10-31 10:18:09 +00:00
Will McGugan
c4ad6b93fd docstrings 2022-10-31 10:11:24 +00:00
Will McGugan
4524e6dd30 Refactor of fr units 2022-10-31 10:09:08 +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
170be7eb2a allow waiting of screen operations 2022-10-30 15:24:48 +00:00
Will McGugan
cfd5d532dd test for unmount 2022-10-30 08:43:23 +00:00
Will McGugan
02658dedd2 remove delay 2022-10-29 21:32:20 +01:00
Will McGugan
f95a61c115 remove import 2022-10-29 21:30:02 +01:00
Will McGugan
6b075399a0 update changelog 2022-10-29 21:16:22 +01:00
Will McGugan
dcbe88833f posssible speedup of screenshots 2022-10-29 21:14:01 +01:00
Will McGugan
c5b2e6982e pass size as a parameter 2022-10-29 21:09:16 +01: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
2092d42bbf more typing 2022-10-29 20:21:25 +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
Will McGugan
9f88f9e3eb remove sandbox 2022-10-29 19:55:54 +01:00
Will McGugan
5b9bb575f0 words 2022-10-29 14:46:15 +01:00
Will McGugan
deb00c21e8 added pilot to docs 2022-10-29 13:44:05 +01:00
Will McGugan
12c553d195 shutdown scrollbas 2022-10-29 13:29:32 +01:00
Will McGugan
2afb00f5b3 test fix 2022-10-29 11:44:31 +01:00
Will McGugan
264b4fe733 run test context manager 2022-10-29 10:53:50 +01:00
Will McGugan
269ff4883e test fix 2022-10-29 10:03:26 +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
Will McGugan
4370198bf2 added auto pilot 2022-10-28 21:43:23 +01:00
Will McGugan
bb80aeb7f9 added pilot 2022-10-28 21:02:23 +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
Will McGugan
ce26c0eba8 log unmount 2022-10-27 17:57:31 +01:00
Will McGugan
ac3d756e51 unmount event 2022-10-27 17:43:02 +01:00
Darren Burns
014fe42c42 Focus the directory tree 2022-10-27 14:30:22 +01:00
Darren Burns
8f888e7232 Add small delay before screenshot is taken 2022-10-27 10:52:32 +01:00
Darren Burns
ceed9186c9 Python 3.11 CI 2022-10-27 10:44:06 +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
5933cbb7e8 Revert build action to 3.11-rc.2 until Darwin build ready 2022-10-25 15:38:54 +01:00