Commit Graph

16 Commits

Author SHA1 Message Date
Will McGugan
aedac6a9b9 update roadmap 2023-05-02 16:20:16 +01:00
Will McGugan
f5e779c4c4 tabbed content widget (#2059)
* tabbed content widget

* TabbedContent widget and docs

* missing docs

* fix active

* doc fix

* test fix

* additional test

* test for render_str

* docstring

* changelog

* doc update

* changelog

* fix bad optimization

* Update docs/widgets/tabbed_content.md

Co-authored-by: Dave Pearson <davep@davep.org>

* fix for empty initial

* docstrings

* Update src/textual/widgets/_content_switcher.py

Co-authored-by: Dave Pearson <davep@davep.org>

* docstring

* remove log

* permit nested tabs

* renamed TabsCleared to Cleared

* added tests, fix types on click

* tests

* fix broken test

* fix for nested tabs

---------

Co-authored-by: Dave Pearson <davep@davep.org>
2023-03-18 10:38:41 +00:00
Dave Pearson
aad6d98aa5 More documentation tweaks (#2001)
* Change the title of some widget references to their class names

The widget reference index had a slight mixture of widget title styles, some
being their class name, others being "written English" type titles. This
settles on the titles always being the class name.

* Add a link to the ContentSwitcher to the widget gallery

No screenshot for this, on purpose. By definition this widget isn't visible,
except via other widgets that it's enclosing and handling.

* Have mkdocs watch the main nav file

* Mark the content switcher off the roadmap
2023-03-09 14:01:48 +00:00
Dave Pearson
f0a6771533 Update the ChangeLog and the roadmap 2023-02-23 22:14:41 +00:00
Dave Pearson
c4b24babc8 Mark the Markdown viewer as done on the roadmap
Also add a couple of sub-items that are tended to be added.
2023-02-17 10:13:17 +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
Darren Burns
23eb13d12d Some DataTable doc updates, rename Coord -> Coordinate and extract to module 2023-01-17 11:06:21 +00:00
Will McGugan
a46eda2fa0 Added blog 2022-11-06 15:41:12 +00:00
Will McGugan
d6f71e6f2a fix indentation 2022-10-23 11:00:18 +01:00
Will McGugan
1631efcd01 update roadmap 2022-10-23 10:58:29 +01:00
Will McGugan
23ec76bdc3 fix markup 2022-10-21 17:19:34 +01:00
Will McGugan
f41b0138fb roadmap update 2022-10-21 17:03:02 +01:00
Will McGugan
0c5ea8d50d updates 2022-10-17 09:55:28 +01:00
Will McGugan
0513926f80 features doc 2022-10-16 13:56:41 +01:00
Will McGugan
b8a60a6d1d widgets 2022-10-16 13:51:36 +01:00
Will McGugan
b92c77e250 roadmap page 2022-10-16 13:36:23 +01:00