36 Commits

Author SHA1 Message Date
Joseph Williams
d4774a8be0 Remove typo from why-no-ansi-themes.question.md 2025-05-20 14:26:07 -05:00
Will McGugan
fd6cb52c1d faq tweak 2025-04-09 16:08:12 +01:00
Pure
41e954b7f4 Fix admonition syntax to use tip 2024-09-26 00:52:42 +08:00
Pure
bc36cf5957 Fix typo 2024-09-26 00:51:37 +08:00
Pure
8a76d0f99c Fix capitalisation 2024-09-26 00:51:12 +08:00
Pure
4282f61f31 Use mkdoc's admonition syntax for a cleaner note. 2024-09-26 00:50:42 +08:00
Pure
f51a246507 Fix typo and capitalisation 2024-09-26 00:49:28 +08:00
Will McGugan
4289655974 Update questions/why-no-ansi-themes.question.md
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2024-09-17 12:21:05 +01:00
Will McGugan
d1c6cea90f faq 2024-09-17 10:47:34 +01:00
TomJGooding
ce962196c7 docs(questions): recommend installing faqtory via pipx (#4048) 2024-01-19 18:24:24 +00:00
Dave Pearson
ab0126f672 Link the centring FAQ to the HOWTO
Keeping it as a FAQ makes sense, as it means that FAQtory will be able to
point to it, but now that we have the HOWTO, and it's more comprehensive, it
makes sense to direct the reader in that direction if they want something
more involved.
2023-08-28 08:39:57 +01:00
Will McGugan
879c985296 Rich log (#3046)
* log

* tests

* snapshot tests

* change to richlog

* keep raw lines

* disable highlighting by default

* simplify

* superfluous test

* optimization

* update cell length

* add refresh

* write method

* version bump

* doc fix link

* makes lines private

* docstring

* relax dev dependancy

* remove superfluous code [skip ci]

* added FAQ [skipci]

* fix code in faq [skipci]

* fix typo

* max lines fix
2023-08-03 10:11:17 +01:00
Dave Pearson
4f3bb3fe15 Set DataTable default style to max-height: 100% (#2974)
* Make the default max-height of a DataTable 100%

See #2959

* Fix the demo

Adding `max-height: 100%;` to DataTable has worked everywhere, except in the
demo, where it makes the table just plain flat out disappear. It looks like
it's down to a bug in Textual's CSS, possibly. This fixes the demo for now,
and a standalone issue will follow that dives into what's going on with this
particular combination of container and datatable styling.

* Update the ChangeLog

* Update the FAQ
2023-07-25 10:39:39 +01:00
Will McGugan
65e81c58be Textual dev (#2884)
* WiP: Move the devtools and related code to `textual-dev` (#2834)

* Remove the textual script from the project file

This is moving into the textual-dev package.

* Remove the textual CLI code from Textual

This has all gone to live in textual-dev.

* Remove the devtools testing from Textual's unit tests

They've moved over to textual-dev instead.

* Remove the devtools server from Textual itself

The start of the process to remove as much of the core devtools as possible
from Textual.

* Switch the console docs example screenshot over to textual_dev

* Remove rednerables.py from Textual

* Remove the last parts of devtools from Textual

This is the last step. It remains to be seen if this is sustainable, but for
testing purposes this is the extreme case we're aiming for. I *think* this
will work though.

Hereon we'll be needing to do an editable install of textual-dev into
textual, and more generally and once this is "live" we'll be needing to make
sure that textual[dev] is installed when doing development work on textual
apps.

The thing that remains to be seen however is how this all works
with *developing* Textual itself. Will I always need to do an editable
install? Still got to figure that one out.

* Start to whittle down the pyproject file

The next step is to try and work out what can come out of the pyproject
file.

* Remove aiohttp from Textual

* Remove some more development dependencies we don't need any more

* Relock

* Remove the pointer to the previews directory

* Reintroduce the border preview snapshot test

* Reintroduce the color preview snapshot test

* Reinstate the key press for the border preview snapshot test

* Reintroduce the easing preview snapshot test

* Reintroduce the keys tool snapshot test

* Add pytest-asyncio as a development dependency

* Relock

* Pin the textual-dev version to 0.1.0 or later

Mostly to try and get the tests kicked off properly.

* Relock dependencies

* Further `textual-dev` changes (#2850)

* Remove the textual script from the project file

This is moving into the textual-dev package.

* Remove the textual CLI code from Textual

This has all gone to live in textual-dev.

* Remove the devtools testing from Textual's unit tests

They've moved over to textual-dev instead.

* Remove the devtools server from Textual itself

The start of the process to remove as much of the core devtools as possible
from Textual.

* Switch the console docs example screenshot over to textual_dev

* Remove rednerables.py from Textual

* Remove the last parts of devtools from Textual

This is the last step. It remains to be seen if this is sustainable, but for
testing purposes this is the extreme case we're aiming for. I *think* this
will work though.

Hereon we'll be needing to do an editable install of textual-dev into
textual, and more generally and once this is "live" we'll be needing to make
sure that textual[dev] is installed when doing development work on textual
apps.

The thing that remains to be seen however is how this all works
with *developing* Textual itself. Will I always need to do an editable
install? Still got to figure that one out.

* Start to whittle down the pyproject file

The next step is to try and work out what can come out of the pyproject
file.

* Remove aiohttp from Textual

* Remove some more development dependencies we don't need any more

* Relock

* Remove the pointer to the previews directory

* Reintroduce the border preview snapshot test

* Reintroduce the color preview snapshot test

* Reinstate the key press for the border preview snapshot test

* Reintroduce the easing preview snapshot test

* Reintroduce the keys tool snapshot test

* Add pytest-asyncio as a development dependency

* Relock

* Pin the textual-dev version to 0.1.0 or later

Mostly to try and get the tests kicked off properly.

* Relock dependencies

* Whitespace cleaning

* Swap mentions of textual[dev] to textual-dev

* Remove the dev extra

* Tweak README.md in response to PR review

* Tweak animation.md in response to PR review

* Tweak getting_started.md in response to PR review

* bump version

* lock

* drop dev

* more

* version bump

---------

Co-authored-by: Dave Pearson <davep@davep.org>
2023-07-03 15:37:40 +01:00
Will McGugan
e7531f4614 update faq 2023-06-19 11:11:16 +01:00
Will McGugan
c91858d04d Update why-looks-bad-on-macos.question.md (#2800) 2023-06-19 11:06:58 +01:00
Rodrigo Girão Serrão
cbd68b20df Datatable scrolling faq (#2477)
* Add FAQ about DataTable scrolling.

Related issues: #2458

* Write concisely.

* Update questions/datatable-doesnt-scroll.question.md

Co-authored-by: Will McGugan <willmcgugan@gmail.com>

* Remove example.

* Add recommendation.

---------

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2023-05-04 11:42:19 +01:00
Rodrigo Girão Serrão
38592c34bd Add FAQ about DataTable scrolling. (#2466)
Related issues: #2458
2023-05-04 10:35:39 +01:00
Will McGugan
bbe38f7d30 faq entry on Transparent backgrounds (#2319)
* faq entry

* word

* update to words
2023-04-18 13:29:13 +01:00
Dave Pearson
ee8153c9ed Update the centring FAQ to reference Center
See #2263.
2023-04-14 12:09:25 +01:00
Dave Pearson
b5b4623427 Key availability FAQ redux 2023-03-30 15:30:54 +01:00
Dave Pearson
01be13d7c6 Add a FAQ about some keys not making it to Textual apps 2023-03-30 11:27:50 +01:00
Dave Pearson
a47cb6a198 Merge pull request #1964 from davep/devtools-terminal-warning
Add a post-run warning hook to `textual run`
2023-03-07 13:28:20 +00:00
Dave Pearson
c049888f55 Flesh out the list of problems with Terminal.app 2023-03-07 12:52:43 +00:00
Dave Pearson
56ba7d9cc7 Add a FAQ about the default macOS terminal.app 2023-03-07 11:26:03 +00:00
Dave Pearson
93a974b388 Fix a typo
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2023-03-07 10:46:01 +00:00
Dave Pearson
fed11e50f9 Extend the centering Q in the FAQ
Add an example of how to center multiple widgets, rather than center the
bounding box of multiple widgets.
2023-03-07 10:16:51 +00:00
Will McGugan
3a79435350 Added question 2023-02-21 16:03:05 +00:00
Will McGugan
ab69e8079c update faq 2023-01-18 19:22:32 +00:00
Will McGugan
e0043f21e2 added question 2023-01-18 19:16:28 +00:00
Will McGugan
ad70de5e87 added question 2023-01-05 21:06:30 +00:00
Will McGugan
192e3f9c89 Merge pull request #1419 from davep/faq-pass-args-to-app
Add a FAQ about passing arguments to an application
2022-12-21 09:54:47 +00:00
Dave Pearson
14d1cf27af Add a FAQ about passing arguments to an application 2022-12-20 21:36:52 +00:00
Dave Pearson
94a2175eba Add a FAQ about aligning things in the middle of a container 2022-12-20 21:27:29 +00:00
Will McGugan
4102a61bfc Readme 2022-12-18 09:52:26 +00:00
Will McGugan
3cfebb0423 Added faqtory 2022-12-18 09:50:44 +00:00