Commit Graph

7051 Commits

Author SHA1 Message Date
Dave Pearson
c9d3e2d8b7 Merge branch 'main' into M-x 2023-08-23 14:22:28 +01:00
Rodrigo Girão Serrão
c8b06e073f Merge pull request #3140 from Textualize/css-to-tcss
Rename CSS files to TCSS.
2023-08-23 14:13:58 +01:00
Rodrigo Girão Serrão
695e59bd3a Merge pull request #3150 from Textualize/fix-3145
Allow modifying tabs in nested contexts
2023-08-23 14:01:10 +01:00
Rodrigo Girão Serrão
22b63f6717 Simplify and generalise test.
We use the default IDs because that means the nested tabs get the same IDs.

Relevant review comment: https://github.com/Textualize/textual/pull/3150#discussion_r1302811660.
2023-08-23 11:40:55 +01:00
Rodrigo Girão Serrão
32007d78a2 Changelog. 2023-08-23 11:13:53 +01:00
Rodrigo Girão Serrão
0339879f1f Query DOM correctly. 2023-08-23 11:12:23 +01:00
Rodrigo Girão Serrão
0353302216 Allow modifying tabs in nested tabbed contents.
Fixes #3145 with the fix in #3148.
2023-08-23 10:57:49 +01:00
Rodrigo Girão Serrão
4d0db5d13b Add regression test for #3145. 2023-08-23 10:52:29 +01:00
Dave Pearson
a57ed16687 Simplify the command palette action 2023-08-22 20:34:48 +01:00
Dave Pearson
d09455d93b Update the snapshots 2023-08-22 19:38:42 +01:00
Dave Pearson
34c739df78 Properly pad out the left side of the commands in the list 2023-08-22 19:29:21 +01:00
Will McGugan
f3c24db18d don't add signal handler on Windows 2023-08-22 16:20:53 +01:00
Rodrigo Girão Serrão
5ee0ebfef4 Rename CSS files to TCSS.
Related issue: #3137.
2023-08-22 13:21:17 +01:00
Will McGugan
bc1af586b5 version bump (#3139)
* version bump

* changelog
v0.34.0
2023-08-22 13:05:09 +01:00
Will McGugan
59fa326e85 add prelude 2023-08-22 12:56:11 +01:00
Dave Pearson
135dac8633 Update snapshot tests 2023-08-22 12:42:28 +01:00
Will McGugan
65aeac361f Py37 fixes 2023-08-22 11:53:30 +01:00
Dave Pearson
99ff1ada7e Remove some unused imports 2023-08-22 11:46:00 +01:00
Dave Pearson
e2573d92c9 Fix the highlight leakage into the left-pad of the commands 2023-08-22 11:45:31 +01:00
Dave Pearson
c10298021e Provide a hook in OptionList via which a child can modify each line 2023-08-22 11:43:04 +01:00
Dave Pearson
f8b10482c1 Simplify the system command source code 2023-08-22 11:05:42 +01:00
Dave Pearson
fc4d3d755b Improve the description of App.COMMAND_SOURCES 2023-08-22 10:59:08 +01:00
Dave Pearson
ec860fc274 Give a quick example of declaring a COMMAND_SOURCE 2023-08-22 10:57:03 +01:00
Dave Pearson
bb90b58312 Drop the run helper method in the command source 2023-08-22 10:48:02 +01:00
Dave Pearson
4abc92d7eb Tweak the icon display
And also update the snapshot tests.
2023-08-22 10:30:07 +01:00
Dave Pearson
0129856c70 Delay showing that we're busy searching 2023-08-22 10:08:39 +01:00
Dave Pearson
5a3cd31ed8 Code tidy 2023-08-22 09:29:35 +01:00
Dave Pearson
a4d618103d Make the search icon into its own widget 2023-08-22 08:50:12 +01:00
Dave Pearson
64354a35fd Merge branch 'main' into M-x 2023-08-22 08:29:50 +01:00
Dave Pearson
061a88d7bd Merge pull request #3129 from davep/faq-in-docs
Move the Textual FAQ into the main docs
2023-08-21 21:16:12 +01:00
Aaron Stephens
bf0c0252ab feat(loadingindicator): default min height (#3132)
* feat(loadingindicator): default min height

* docs: changelog
2023-08-21 21:15:48 +01:00
TomJGooding
114b9c4d45 docs(changelog): correct release for pr 3012 (#3133) 2023-08-21 21:13:54 +01:00
Dave Pearson
98e145ae2c Extend the command list highlight out to the edges of the list 2023-08-21 20:59:48 +01:00
Dave Pearson
53e379378b Remove the border above the loading indicator 2023-08-21 20:41:22 +01:00
Dave Pearson
3867616486 Update snapshots 2023-08-21 20:32:46 +01:00
Dave Pearson
f6c6115869 Remove the border under the input when the list is dropped 2023-08-21 20:24:38 +01:00
Dave Pearson
7fb05fa320 Add a wee magnifying glass to the left of the input field 2023-08-21 20:07:16 +01:00
Dave Pearson
61fcc0bf5b Correct the use of __lt__ and __eq__ 2023-08-21 19:43:19 +01:00
Dave Pearson
af4423166b Rename hunt_for to search_for
Sounds a lot less dramatic but... okay, fair enough.
2023-08-21 19:37:24 +01:00
Dave Pearson
9c35c924ba Correct the snapshot test
This is what happens when you break off to lecture half way through some
code...
2023-08-21 19:29:43 +01:00
Rodrigo Girão Serrão
900c372f10 Merge pull request #3112 from Textualize/tab-hide-disable
Tab hide disable
2023-08-21 17:20:15 +01:00
Rodrigo Girão Serrão
fa8f893a96 Merge branch 'main' into tab-hide-disable 2023-08-21 17:07:16 +01:00
Rodrigo Girão Serrão
8d83cd4abb Add control to messages.
Related review comment: https://github.com/Textualize/textual/pull/3112#discussion_r1299951135
2023-08-21 17:06:32 +01:00
TomJGooding
eccb6e53f9 feat(listview): add method to append multiple items (#3012)
* feat(listview): add method to append multiple items

* update changelog

---------

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2023-08-21 16:33:42 +01:00
Ren Jian Lee
fc0b5ccf9a Fix page_up and page_down bug in DataTable when show_header is False (#3093) 2023-08-21 16:30:40 +01:00
Dave Pearson
0b18ebfc26 Provide a method to enable/disable the command palette via CLASSVAR 2023-08-21 15:53:03 +01:00
Dave Pearson
a507d3538b Update the snapshot tests after CEO bikeshedding 2023-08-21 15:40:04 +01:00
Dave Pearson
77e01b8927 Ensure the screenshot path is escaped when telling on it (#3119)
See https://github.com/Textualize/textual/pull/3118#issuecomment-1683719311
2023-08-21 15:22:07 +01:00
Dave Pearson
a9de513a60 Drop the automatic generation of the FAQ (for now)
For this to work faqtory needs to be a development dependency of Textual.
Textual still maintains support for Python 3.7; faqtory is Python 3.8 or
greater. So, for the moment, we're going to cheat a little and make it so
that you have to remember to run faqtory to rebuild FAQ.md.

All hail the walrus!
2023-08-21 15:18:14 +01:00
Will McGugan
d0cd800893 style tweaks 2023-08-21 14:58:23 +01:00