Will McGugan
6004d7c731
typo
2023-02-11 17:16:01 +00:00
Will McGugan
1540f120cc
words, non draft
2023-02-11 17:15:35 +00:00
Will McGugan
05042725cd
words
2023-02-11 17:11:38 +00:00
Will McGugan
f5723f933e
new blogpost
2023-02-11 17:08:21 +00:00
Will McGugan
a37e7fcb2b
fix modal example
2023-02-11 15:37:24 +00:00
Will McGugan
27b0f7b9a9
Merge pull request #1765 from Textualize/typing-10-feb
...
typing fixes
2023-02-10 10:06:24 +00:00
Will McGugan
d15a854d52
typing fixes
2023-02-10 09:59:17 +00:00
Will McGugan
1fd17b5714
Merge pull request #1763 from Textualize/deprecate-text-backend
...
remove text-backend
2023-02-10 09:21:38 +00:00
Will McGugan
1ca9c5f481
remove text-backend
2023-02-10 09:13:35 +00:00
Dave Pearson
a8218b2ebb
Merge pull request #1761 from davep/changelog-add-link
...
Add missing link for Checkbox->Switch CHANGELOG entry
2023-02-09 21:58:17 +00:00
Dave Pearson
101604bc04
Add missing link for Checkbox->Switch CHANGELOG entry
2023-02-09 21:41:45 +00:00
Will McGugan
99f1bbd8f4
Update to messaging
2023-02-09 21:19:16 +00:00
Will McGugan
80e74a455f
Merge pull request #1759 from Textualize/typing-fix-9-feb-2023
...
typing fixes
2023-02-09 17:41:59 +00:00
Will McGugan
30912f0430
merge
2023-02-09 17:32:37 +00:00
Will McGugan
4fd7e19e89
lockfile
2023-02-09 17:30:02 +00:00
Will McGugan
b7314d024e
Merge pull request #1757 from davep/more-makefile
...
Add setup and update targets to the Makefile
2023-02-09 17:29:03 +00:00
Will McGugan
f9a5b2a0e8
typing fixes
2023-02-09 17:27:39 +00:00
Will McGugan
0a4067a0f3
Merge pull request #1758 from davep/unhatch
...
Remove hatch.toml
2023-02-09 17:09:10 +00:00
Will McGugan
42c2bfe277
Merge pull request #1756 from davep/switch-redux
...
`Switch` redux
2023-02-09 17:08:41 +00:00
Dave Pearson
e8d8c93527
Remove hatch.toml
2023-02-09 16:25:53 +00:00
Dave Pearson
9dc0a4b57d
Add setup and update targets to the Makefile
...
Simply adds `make setup` as a shorthand for running the poetry command that
does the initial install for local development, and also `make update` to do
a package update. Simply aimed as handy extras for development.
2023-02-09 16:18:34 +00:00
Dave Pearson
0b9107abfc
Merge branch 'main' into switch-redux
2023-02-09 16:09:56 +00:00
Dave Pearson
be9e34ba9a
Switch docstring additions and tweaks
2023-02-09 16:06:00 +00:00
Dave Pearson
84ae7d448a
Merge pull request #1726 from davep/package-docs
...
Allow for web vs local documentation building, with an eye on downstream packaging support
2023-02-09 16:00:44 +00:00
Dave Pearson
451fa3e50a
Fix a typo
2023-02-09 15:52:14 +00:00
Dave Pearson
584df4530c
Merge branch 'main' into package-docs
2023-02-09 15:49:56 +00:00
Dave Pearson
1956f7f9d7
Rename the switch--switch component class to switch--slider
...
Following on from #1751 : originally Switch was called Checkbox and the
moving part was, for the component class, called a checkbox--switch; after
renaming the widget to Switch that component class ended up being
switch--switch; which wasn't ideal.
We decided to go with it as-is, but I just realised that internally the code
calls it a slider. So this leans into that and I'm renaming the component
class switch--slider. This removes the doubling-up of the name and also
makes the code more consistent.
2023-02-09 15:36:04 +00:00
Will McGugan
1d19bb8d80
Merge pull request #1752 from Textualize/import-sorting-hook
...
Adds `isort` pre-commit hook, re-orders all imports in src and test directories
2023-02-09 15:34:29 +00:00
Darren Burns
64a805cb8d
Merge branch 'main' of github.com:Textualize/textual into import-sorting-hook
2023-02-09 14:28:23 +00:00
Dave Pearson
989e71e749
Merge pull request #1751 from davep/checkbox-switch
...
Rename `Checkbox` to `Switch`
2023-02-09 14:24:00 +00:00
Dave Pearson
c436b57ed5
Merge branch 'main' into checkbox-switch
2023-02-09 13:57:15 +00:00
Dave Pearson
f092e9f46c
Reorder some imports
2023-02-09 13:50:38 +00:00
Darren Burns
9287f64a66
Add isort pre-commit hook, sort imports in src and test directories
2023-02-09 13:28:08 +00:00
Will McGugan
67c2127e46
Merge pull request #1750 from Textualize/fix-screen-switch
...
exclude removed reactables
2023-02-09 12:08:24 +00:00
Will McGugan
74fc85054c
docstring [skip ci]
2023-02-09 12:07:48 +00:00
Will McGugan
70d4d2ffc9
Merge pull request #1749 from davep/fix-tree-type-help
...
Remove the import/export of TreeNode from the widgets pyi file
2023-02-09 11:58:41 +00:00
Will McGugan
f450d98e3e
snapshot
2023-02-09 11:55:36 +00:00
Will McGugan
67e19d84e3
changelog
2023-02-09 11:50:06 +00:00
Will McGugan
3a9c052d20
Added snapshot
2023-02-09 11:49:11 +00:00
Will McGugan
85df8d703e
typing and changelog
2023-02-09 11:45:19 +00:00
Will McGugan
392b56e548
Added watch method
2023-02-09 11:42:58 +00:00
Will McGugan
93acc27482
test for is_attached
2023-02-09 11:17:41 +00:00
Dave Pearson
decc1e2f3c
Rename Checkbox to Switch
...
A new form of Checkbox will be arriving in Textual soon, working in
conjunction with a RadioButton. What was called Checkbox is perhaps a wee
bit heavyweight in terms of visual design, but is a style of widget that
should remain.
With this in mind we're renaming the current Checkbox to Switch. In all
other respects its workings remains the same, only the name has changed.
Things for people to watch out for:
- Imports will need to be updated.
- Queries will need to be updated; special attention will need to be paid to
any queries that are string-based.
- CSS will need to be changed if any Checkbox styling is happening, or if
any Checkbox component styles are being used.
See #1725 as the initial motivation and #1746 as the issue for this
particular change.
2023-02-09 11:10:30 +00:00
Will McGugan
6b91501ade
exclude removed reactables
2023-02-09 11:04:37 +00:00
Will McGugan
6cd4d859b6
Merge pull request #1747 from Textualize/reactive-polish
...
Reactive polish
2023-02-09 10:29:20 +00:00
Dave Pearson
330e4db17c
Remove the import/export of TreeNode from the widgets pyi file
...
We've moved TreeNode out of the general widgets import, requiring the user
to import from widgets.tree. When I made that change I missed this.
2023-02-09 10:27:48 +00:00
Will McGugan
7f997023ce
force wait for idle
2023-02-09 10:18:01 +00:00
Will McGugan
b0a9c743ea
Change reactable type
2023-02-09 09:46:07 +00:00
Will McGugan
507a2f8299
No need to return a bool here
2023-02-09 09:42:05 +00:00
Will McGugan
c66c8b6ad6
Reactivity improvements
2023-02-09 09:35:01 +00:00