Dave Pearson
01ad0df17f
Final tweaks to the "asking for help" blog post
...
It's not finished, it never will be, but it's good to go.
2023-01-08 21:10:50 +00:00
Dave Pearson
e12d1f8bbb
Fleshing out the post a wee bit more
...
Needs whittling and rounding and stuff, perhaps, but I think I'm mostly
there. A post-dinner top-to-bottom read is in now in order before I finally
decide if I like it or not.
2023-01-08 17:51:32 +00:00
Dave Pearson
a3601cf0be
Fix blog typo
...
The second of many, I'm sure.
2023-01-07 22:52:16 +00:00
Dave Pearson
a242d4b6c5
Fix blog typo
...
The first of many, I'm sure.
2023-01-07 22:50:35 +00:00
Dave Pearson
90d38cd0da
WIP: devlog blog post about looking for help with Textual
...
Work in progress. First rough draft of ideas, committing and pushing to
remote as backup for the night.
2023-01-07 22:45:38 +00:00
Will McGugan
467953b1c4
Merge pull request #1503 from Textualize/cursor-blink-bug
...
Converting cell position to index
2023-01-07 07:43:32 -08:00
Will McGugan
702640fd2e
Merge pull request #1514 from davep/blackify-isv-test
...
Run black over recent immutable sequence view tests
2023-01-07 07:43:14 -08:00
Will McGugan
9cad6fc846
Merge pull request #1513 from davep/blackify-tree-tests
...
Run black over recent Tree tests
2023-01-07 07:42:42 -08:00
Dave Pearson
779b10a0e8
Merge pull request #1314 from davep/refresh-community
...
Refresh community
2023-01-07 09:37:11 +00:00
Dave Pearson
b8500de1e9
Run black over recent immutable sequence view tests
...
Now that we're running black on tests...
2023-01-07 09:32:43 +00:00
Dave Pearson
ea8252cfcc
Run black over recent Tree tests
...
Now that we're running black on tests...
2023-01-07 09:30:01 +00:00
Will McGugan
c7cb525a6a
Merge pull request #1507 from Textualize/black-on-tests
...
run black on tests
2023-01-06 10:52:55 -08:00
Darren Burns
3fe855296c
Raise exception from index to cell position method
2023-01-06 16:34:57 +00:00
darrenburns
a133bd84de
Ensure pretty traceback for error in Widget compose method ( #1505 )
...
* Ensure pretty traceback for error in Widget compose method
* Fail fast and pretty tracebacks for Widget compose errors
2023-01-06 16:28:34 +00:00
Will McGugan
597a8923e9
run black on tests
2023-01-06 15:32:04 +00:00
Dave Pearson
82dcf62122
Merge pull request #1495 from davep/tree-node-children-prop
...
Add read-only access to the children of a `TreeNode`
2023-01-06 15:17:39 +00:00
Will McGugan
c0fa19fa16
Merge pull request #1504 from Textualize/fix-mouse01-example
...
Fix mouse01 example background transparency
2023-01-06 06:55:00 -08:00
Darren Burns
387a045cff
Fix mouse01 example background transparency
2023-01-06 14:32:23 +00:00
Darren Burns
c90e12a35b
Remove unused import in test file
2023-01-06 13:59:52 +00:00
Darren Burns
433c86d4b9
Remove unused test file
2023-01-06 13:59:36 +00:00
Darren Burns
733b8934fe
Merge branch 'main' of github.com:Textualize/textual into cursor-blink-bug
2023-01-06 13:57:08 +00:00
Darren Burns
1bd720ef0d
Index to cell position
2023-01-06 13:55:48 +00:00
Dave Pearson
0217462398
Add support for star/stop values on index
...
See https://github.com/Textualize/textual/pull/1495#pullrequestreview-1238616797
2023-01-06 12:31:59 +00:00
Dave Pearson
395ed4b153
Correct docstring for the return type of index
2023-01-06 12:31:27 +00:00
Dave Pearson
71cc1bca1e
Rename ImmutableSequence to ImmutableSequenceView
...
Also, in doing so, drop support for unrolling iterators and making them into
indexable sequences.
See the following feedback:
https://github.com/Textualize/textual/pull/1495#pullrequestreview-1238616797
https://github.com/Textualize/textual/pull/1495#issuecomment-1373553580
2023-01-06 12:23:51 +00:00
Dave Pearson
82fe3e2a76
Merge pull request #1488 from davep/tree-node-parent-prop
...
Add a public read-only parent property to TreeNode
2023-01-06 12:17:55 +00:00
Darren Burns
0abeba620e
Method for converting Strip index to cell position
2023-01-06 11:14:15 +00:00
Will McGugan
428ae0e14e
Merge branch 'main' into tree-node-parent-prop
2023-01-06 02:11:35 -08:00
Will McGugan
85afdba125
Merge pull request #1480 from Textualize/fix-1479
...
Prevent scrollbar rules from being ignored
2023-01-06 01:58:35 -08:00
Will McGugan
70bded01f3
Merge pull request #1456 from nitzan-shaked/typing
...
basic typing fixes
2023-01-06 01:57:04 -08:00
Will McGugan
8ea2eae77b
Merge pull request #1500 from davep/faqtory-xkcd-327
...
Sanitise issue titles before running suggest on them
2023-01-06 01:53:58 -08:00
Dave Pearson
01e6ae43d0
Sanitise issue titles before running suggest on them
...
Applying
https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
to #1472 .
2023-01-06 06:43:41 +00:00
Dave Pearson
e5869b9f7b
Merge branch 'main' into tree-node-children-prop
2023-01-06 06:18:15 +00:00
Dave Pearson
a15fa7fd01
Tweak the unit tests for ImmutableSequence
...
Make it 100% clear that the tests that are about wrapping iterators actually
are wrapping iterators.
2023-01-06 06:14:49 +00:00
Dave Pearson
83ce1204b9
Merge pull request #1487 from davep/tree-node-label-prop
...
Add public access (both get and set) to the `label` of a `TreeNode`
2023-01-06 06:13:34 +00:00
Dave Pearson
83c0ef73e3
Only convert to an indexable sequence if absolutely necessary
2023-01-06 06:01:59 +00:00
Dave Pearson
8d5ea89a65
Focus less on it being a list and more a thing that's wrapped
2023-01-05 23:16:51 +00:00
Dave Pearson
f9e00628ab
Simplify ImmutableSequence.__bool__
2023-01-05 23:06:42 +00:00
Dave Pearson
7779211dcf
Add read-only access to the children of a TreeNode
...
See #1398 .
2023-01-05 21:24:47 +00:00
Dave Pearson
30d5c1e66b
Add a generic immutable sequence wrapper class
...
In anticipation of satisfying #1398 , this adds a generic immutable sequence
wrapper class. The idea being that it can be used to wrap up a list or
similar, that you don't want the caller to modify.
This commit aims to get the basics down for this, and also adds a minimal
set of unit tests.
2023-01-05 21:11:14 +00:00
Will McGugan
ad70de5e87
added question
2023-01-05 21:06:30 +00:00
Rodrigo Girão Serrão
fb9e803863
Add default styles for scrollbar colors.
2023-01-05 16:22:51 +00:00
Dave Pearson
2c6bd88c53
Merge branch 'main' into tree-node-parent-prop
2023-01-05 14:31:51 +00:00
Dave Pearson
b8727a8908
Merge branch 'main' into tree-node-label-prop
2023-01-05 14:30:42 +00:00
Dave Pearson
18eae615cc
Remove unnecessary return from label.setter
...
Python is expressive, but it ain't that expressive.
2023-01-05 14:26:45 +00:00
Nitzan Shaked
6e9d302e15
fix typing of tuple[] for py3.7
2023-01-05 14:23:40 +02:00
Will McGugan
6cfad7c4b3
Merge pull request #1466 from Textualize/sleep-tweak
...
don't sleep small intervals
2023-01-05 04:17:23 -08:00
Will McGugan
3be8f799c4
add constant
2023-01-05 12:07:42 +00:00
Nitzan Shaked
b78ca2bad2
more PR fixes
2023-01-05 14:02:15 +02:00
Nitzan Shaked
c1a90c25a1
black
2023-01-05 14:02:15 +02:00