Rodrigo Girão Serrão
ee6f1b93a3
Merge pull request #2692 from Textualize/switch-screen
...
Fix issue with switch screen.
2023-05-30 15:09:19 +01:00
Rodrigo Girão Serrão
ce771c19f4
Fix issue with switch screen.
2023-05-30 13:55:17 +01:00
darrenburns
3dea4337ac
Add Validator framework note to CHANGELOG ( #2685 )
2023-05-30 13:02:46 +01:00
darrenburns
a40300a6f5
Ensure reflow reflows non-visible widgets, fix scroll_to_center issue ( #2684 )
2023-05-29 18:23:49 +01:00
Rodrigo Girão Serrão
6cb052a7f2
Fix changelog. ( #2683 )
2023-05-29 18:17:31 +01:00
darrenburns
3e7b2c53a8
Add Widget.remove_children method ( #2657 )
2023-05-29 18:03:42 +01:00
Rodrigo Girão Serrão
73d55725b5
Merge pull request #2604 from Textualize/input-auto-completion
...
Input completion suggestions
2023-05-29 14:48:40 +01:00
Will McGugan
1ea892b062
handler name in classvar ( #2675 )
...
* handler name in classvar
* fix for worker handler name
* fix custom templates, event docs
* doc tweak
* doc tweak
* restore signature
2023-05-28 14:56:18 +01:00
Will McGugan
ab10c7c326
fix zero division error ( #2674 )
...
* fix zero division error
* push tests
2023-05-28 14:56:05 +01:00
Rodrigo Girão Serrão
31e2d1c839
Merge branch 'main' into input-auto-completion
2023-05-25 17:42:37 +01:00
Dave Pearson
93c3c3652b
Merge branch 'main' into multiselect
2023-05-25 13:59:34 +01:00
Aaron Stephens
20d19d977d
Refactor Message.control and Tree Messages ( #2602 )
...
* refactor(message): make control a property
* refactor(_tree): remove tree parameter on messages
* refactor(_directory_tree): remove tree parameter on message
* fix: tree message calls
* fix(_select): make Changed.control a property
* refactor(_on): control check
* refactor(_select): rename Changed.widget to select
* docs: changelog entry
2023-05-25 13:48:31 +01:00
Rodrigo Girão Serrão
5cb30b5ecc
Merge pull request #2628 from Textualize/auto-focus-improv
...
Add auto focus to app.
2023-05-25 11:59:54 +01:00
Dave Pearson
4472c862be
Anticipate SelectionList making it into 0.27.0
2023-05-25 11:28:52 +01:00
Will McGugan
8151946f38
add blur ( #2645 )
...
* add blur
* docstring
* blur on disabled
* snapshot test
* Add test
2023-05-24 20:16:11 +01:00
Rodrigo Girão Serrão
e63ec577cd
Address review feedback.
2023-05-23 11:46:05 +01:00
Rodrigo Girão Serrão
bc92cf57e7
Add auto focus to app.
...
Related issues: #2594 .
2023-05-23 11:32:40 +01:00
Rodrigo Girão Serrão
124e62e41b
Changelog.
2023-05-23 10:50:00 +01:00
Will McGugan
be49aabefe
remove markup, simplify repr ( #2623 )
...
* remove markup, simplify repr
* changelog
* remove rendundant repr (thanks Paul)
* changelog
2023-05-22 20:26:37 +01:00
Rodrigo Girão Serrão
33a470f569
Fix footer highlight when pushing modal.
2023-05-22 11:45:40 +01:00
Rodrigo Girão Serrão
4e86e655d6
Merge branch 'main' into placeholder-cycle
2023-05-22 10:43:12 +01:00
Rodrigo Girão Serrão
5e04a4d4de
Add description to work decorator. ( #2605 )
...
* Add description to work decorator.
* Fix stutter.
2023-05-22 10:32:23 +01:00
Will McGugan
7d0d1ac5c8
Bump0260 ( #2617 )
...
* full map
* docstring changelog
* changelog
* simplify, add comment
2023-05-20 11:30:42 +01:00
Rodrigo Girão Serrão
6523fbaff1
Fix tests.
2023-05-18 16:27:09 +01:00
Rodrigo Girão Serrão
c85e428228
Fix placeholder color cycling.
2023-05-18 16:24:07 +01:00
Rodrigo Girão Serrão
0c520f13ce
Change naming.
2023-05-18 13:58:59 +01:00
Rodrigo Girão Serrão
f464241fd6
Implement auto-completion.
2023-05-18 13:41:37 +01:00
Will McGugan
ff5665051b
Release0250 ( #2598 )
...
* version bump
* changelog
2023-05-17 16:30:36 +01:00
darrenburns
e25c6290ba
Add classes to Tab widget ( #2589 )
...
* Add classes to Tab widget
* Update CHANGELOG
2023-05-17 16:21:32 +01:00
Dave Pearson
7ff205bc29
Merge pull request #2545 from davep/directory-tree-work-in-worker
...
Load `DirectoryTree` contents in a worker
2023-05-17 15:42:51 +01:00
Dave Pearson
3f6472823e
Merge branch 'main' into directory-tree-work-in-worker
2023-05-17 14:19:59 +01:00
Rodrigo Girão Serrão
dea133d357
Merge branch 'main' into auto-focus-improv
2023-05-17 10:28:54 +01:00
Will McGugan
c12fa0e4da
fix for dark switch ( #2585 )
2023-05-17 07:44:36 +01:00
Will McGugan
53e765f7d6
Avoid docks when scrolling ( #2571 )
...
* handle docked layers
* handle scroll better
* snapshot update
* remove commented out code
* superflous
* dock gutter
* snapshit
* snapshit test
* changelog
* mistake
* docstrings
* changelog
* whitespace
* missing punctuation
* ofx docstring
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-05-16 21:34:59 +01:00
Will McGugan
3a17a76233
Exit debug ( #2554 )
...
* show single error by default
* changelog
* show numbers of errors
* changelog
2023-05-16 21:34:34 +01:00
Will McGugan
abb7705ed0
wait for screen ( #2584 )
...
* wait for screen
* comments and changelog
* wait for screen after keys
* extra wait for animation
* comment
* comment
* docstring
2023-05-16 21:06:09 +01:00
Dave Pearson
804d85a2c9
Merge branch 'main' into directory-tree-work-in-worker
2023-05-16 15:16:31 +01:00
Rodrigo Girão Serrão
4b22234b24
Merge branch 'main' into auto-focus-improv
2023-05-16 11:40:13 +01:00
Rodrigo Girão Serrão
b592ac077a
AUTO_FOCUS targets first focusable widget.
...
Related issues: #2578 .
2023-05-16 11:27:24 +01:00
Rodrigo Girão Serrão
7a8d6920e8
Error when dismissing non-active screen.
...
Related issues: #2575 .
2023-05-16 11:14:54 +01:00
Rodrigo Girão Serrão
81289c328a
Fix empty paste.
...
Related issues: #2563 .
2023-05-15 13:25:01 +01:00
Rodrigo Girão Serrão
0b6e3b3040
Merge branch 'main' into auto-focus
2023-05-15 10:41:15 +01:00
Rodrigo Girão Serrão
c967661699
Merge branch 'main' into move-child-no-op
2023-05-15 10:31:43 +01:00
Dave Pearson
5f839da684
Merge branch 'main' into directory-tree-work-in-worker
2023-05-11 15:32:17 +01:00
Rodrigo Girão Serrão
8dc801fec7
Changelog.
2023-05-11 15:03:21 +01:00
Dave Pearson
c45126b21c
Update the ChangeLog
2023-05-11 11:19:30 +01:00
Dave Pearson
2d75ca0d77
Merge pull request #2536 from davep/expand-tree-expand-messages
...
Ensure that `TreeNode` messages are posted when via-API changes are made
2023-05-10 14:18:24 +01:00
Rodrigo Girão Serrão
8dd627b0f4
Merge branch 'main' into sub-title-str
2023-05-10 13:10:48 +01:00
Dave Pearson
28be54d10d
Merge branch 'main' into expand-tree-expand-messages
2023-05-10 10:12:58 +01:00
Dave Pearson
c7fc66fa6c
Ensure that TreeNode messages are posted when via-API changes are made
...
Until now the Tree.NodeExpanded and Tree.NodeCollapsed messages were only
sent out when changes were made to the tree by user interaction. This meant
that if any changes were made with the TreeNode expand, expand_all,
collapse, collapse_all, toggle or toggle_all API calls no messages would be
sent.
This PR corrects this.
The work here is, in part, required for #2456 (DirectoryTree lazy-loads
directory information on node expansion so if someone is expanding nodes
under code control the DirectoryTree never gets to know that it should load
a directory's content) and will build on #1644 , essentially adding a missing
aspect to the latter PR.
2023-05-10 09:24:07 +01:00