2820 Commits

Author SHA1 Message Date
Will McGugan
93738b6314 another edge case 2025-06-01 10:53:19 +01:00
Will McGugan
f2b0da65f8 edge cases 2025-06-01 10:44:15 +01:00
Will McGugan
ec3259737f Fix for overlapping tags 2025-06-01 10:30:56 +01:00
Will McGugan
7f5bdcbbf1 snapshot for default app classes 2025-06-01 09:04:16 +01:00
Will McGugan
d621b23b32 Merge pull request #5823 from Textualize/markup-fix
fix markup, added features to markup playground
2025-05-31 17:44:25 +01:00
Will McGugan
2a7d586c2e test fix 2025-05-31 16:51:13 +01:00
Will McGugan
e5be2f0332 fix markup, added features to markup playground 2025-05-31 16:19:20 +01:00
Thomas Grainger
3de7196afe Merge branch 'main' into fix-get-event-loop-call 2025-05-31 15:08:06 +01:00
Will McGugan
4a0f0d9bcf Merge pull request #5803 from TomJGooding/feat-color-add-hsv-support-to-color-class
feat(color): add HSV support to Color class
2025-05-31 14:21:49 +01:00
Thomas Grainger
5d9e3c0333 Merge branch 'main' into fix-get-event-loop-call 2025-05-31 09:01:26 +01:00
TomJGooding
b148ab2aa9 fix(input): fix invalid cursor position after updating value
Validate the `Input` selection when the value changes, to ensure it
accounts for the length of the new value.

Fixes #5811
2025-05-23 15:01:04 +01:00
TomJGooding
a9e84b8cf6 feat(color): add HSV support to Color class
Add `Color.hsv` property and `Color.from_hsv` class method.

This utilizes the existing `HSV` namedtuple which is currently unused.
2025-05-15 14:27:58 +01:00
Thomas Grainger
24945984c1 handle RuntimeError in get_event_loop after asyncio.run 2025-05-13 09:05:08 +01:00
=
2648f82fdf Refresh layout of option lists on add.
Ensures options added to an empty list after mount are displayed.
2025-05-11 00:27:28 -07:00
PythonPan
d9dcdafe4f Delete unused snapshots 2025-05-08 00:30:24 +08:00
PythonPan
665cb87c2b Delete unused snapshots 2025-05-08 00:29:59 +08:00
PythonPan
50d6e0d670 Delete unused snapshots 2025-05-08 00:29:40 +08:00
PythonPan
a0da6261b1 Delete unused snapshots 2025-05-08 00:29:12 +08:00
PythonPan
0ccb7c4403 Add snapshot files 2025-05-08 00:20:44 +08:00
PythonPan
48b152ad84 Make vertical breakpoints test separate 2025-05-08 00:17:59 +08:00
PythonPan
b568908208 Update snapshots of breakpoints 2025-05-03 08:51:06 +08:00
PythonPan
5e8ee009bf Add test of breakpoints 2025-05-03 08:10:05 +08:00
Will McGugan
d60be19ba6 Merge branch 'main' into feature/first_child 2025-05-02 11:39:30 +01:00
Will McGugan
9109188136 test 2025-05-01 15:09:24 +01:00
Will McGugan
da5395b11f event loop test 2025-05-01 15:07:25 +01:00
Will McGugan
98b50f268a snapshits 2025-04-30 17:36:41 +01:00
Will McGugan
7e4fe5471d changelog and snapshots 2025-04-30 17:36:32 +01:00
Will McGugan
82a0bebf9a merge 2025-04-30 17:33:26 +01:00
Will McGugan
6fd92875a3 snapshits 2025-04-30 16:34:48 +01:00
Will McGugan
eab55f0690 compact snapshot 2025-04-30 16:32:03 +01:00
Sergi Pons Freixes
f59af27b0a Add tests for first-child and last-child pseudo-classes 2025-04-28 20:44:39 -07:00
Will McGugan
af8dba4e61 snapshit 2025-04-22 09:25:59 +01:00
Will McGugan
dca32c4ba4 Merge branch 'main' into fix-tint 2025-04-22 09:17:09 +01:00
Will McGugan
57e1e0d1d2 version bump 2025-04-22 09:11:19 +01:00
Dave Pearson
3003ac1d1f Fix a crash when setting a kaymap before app is mounted
Fixes #5742.
2025-04-12 09:35:01 +01:00
Will McGugan
cd22309b13 snapshit 2025-04-11 16:22:38 +01:00
Will McGugan
13be373949 Fix allow_focus 2025-04-11 16:17:37 +01:00
Will McGugan
10c84c7ce1 snapshots 2025-04-11 12:27:59 +01:00
Will McGugan
1442a961b9 Merge pull request #5731 from TomJGooding/test-fix-missing-assert-in-snapshot-tests
test: fix missing assert in snapshot tests
2025-04-11 10:07:24 +01:00
Will McGugan
3b8713baa2 Merge pull request #5730 from TomJGooding/fix-option-list-fix-size-when-options-removed
fix(option list): fix size when options removed or cleared
2025-04-11 10:06:13 +01:00
Will McGugan
0e33c537d3 Rename textual markup to content markup 2025-04-11 09:38:00 +01:00
Will McGugan
4a27e48041 Merge branch 'main' into fix-option-list-fix-size-when-options-removed 2025-04-11 09:33:22 +01:00
TomJGooding
c6d5f9a134 test: fix latest snaphot test with missing assert 2025-04-10 20:19:46 +01:00
Will McGugan
d3c5e787b2 snapshot fix 2025-04-10 16:37:47 +01:00
TomJGooding
fa190a3a70 test: fix missing assert in snapshot tests
Following #5519, it looks like some snapshot tests added recently are
missing the assert.
2025-04-10 15:19:20 +01:00
TomJGooding
57caabadb4 test: fix missing assert in new snapshot tests 2025-04-10 15:16:52 +01:00
TomJGooding
1f83f3ffba fix(option list): fix size when options cleared
Fix the OptionList size not updating correctly after clearing the
options.

Fixes #5728
2025-04-10 14:17:43 +01:00
TomJGooding
41a002080a fix(option list): fix size when options removed
Fix the OptionList size not updating correctly after removing options.

Fixes https://github.com/Textualize/textual/issues/5728#issuecomment-2791776954
2025-04-10 12:54:48 +01:00
Will McGugan
47c28a0d95 normalize keys 2025-04-09 15:15:22 +01:00
Will McGugan
dd7f0a3e99 test 2025-04-09 13:39:33 +01:00