Commit Graph

1246 Commits

Author SHA1 Message Date
Darren Burns
22b6e2a24c Utility wrapper for regions 2022-03-02 17:12:58 +00:00
Will McGugan
237c556673 refactor of compositor 2022-03-02 15:39:26 +00:00
Will McGugan
3ee5eb8a2b tests for geometry 2022-02-23 10:56:06 +00:00
Darren Burns
2b304cc9f7 Get child by ID 2022-02-22 11:35:01 +00:00
Darren Burns
154ada427f Query dom - get child 2022-02-22 11:19:00 +00:00
Will McGugan
9ea2c6e741 assert animation frame called 2022-02-21 16:48:20 +00:00
Will McGugan
8fa6749fdd more tests of animation 2022-02-21 16:26:46 +00:00
Will McGugan
73a1b5377c refinement 2022-02-21 15:37:47 +00:00
Will McGugan
8be6ea91f6 fix and test for animator 2022-02-21 15:32:02 +00:00
Will McGugan
50f9aea483 Merge branch 'css' into resolve 2022-02-21 13:33:08 +00:00
Darren Burns
b23edf231a Testing layout resolve zero width, and empty list cases 2022-02-21 11:40:42 +00:00
Will McGugan
06485495d4 optimization, more tests 2022-02-19 11:39:11 +00:00
Will McGugan
d628b30845 extra test 2022-02-18 22:38:03 +00:00
Will McGugan
c2e327cee3 simplify check, add test 2022-02-18 22:30:06 +00:00
Will McGugan
4224f59b9b allow tests to use new annotations 2022-02-18 22:12:40 +00:00
Will McGugan
76c5d3a0e5 optimized layout_resolve added tests 2022-02-18 22:04:09 +00:00
Darren Burns
8674269010 Add a test for clickable bar ranges 2022-02-17 13:53:26 +00:00
Darren Burns
4e61770a7c Unroll tab headers into single renderable, more parameterisation of tabs, more examples 2022-02-17 12:20:44 +00:00
Darren Burns
66fa0020e8 Improve a docstring, add tests for CSS opacity parsing 2022-02-14 10:28:52 +00:00
Darren Burns
281748ba61 Add test for when opacity value is invalid 2022-02-11 12:13:12 +00:00
Darren Burns
0187bec7f4 Testing opacity style property 2022-02-11 12:09:52 +00:00
Darren Burns
563b7bd7e1 Move test_styles into css test folder 2022-02-11 11:59:32 +00:00
Darren Burns
50327f5b5a Rename PercentageProperty to FractionalProperty 2022-02-11 11:51:06 +00:00
Will McGugan
baa72e1dff Merge pull request #272 from Textualize/render-opacity
Render opacity
2022-02-10 10:44:08 +00:00
Will McGugan
37162baa20 Merge pull request #254 from Textualize/inline-styles-view
Inline styles view
2022-02-10 09:59:16 +00:00
Will McGugan
bf2f911706 Merge pull request #269 from Textualize/sparklines
Sparklines
2022-02-10 09:57:33 +00:00
Darren Burns
42b1f7ef4a Rename module, use positional args for Segment, rename value -> opacity in Opacity 2022-02-10 09:56:06 +00:00
Will McGugan
927d04d6b0 Update tests/test_styles.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-02-10 09:48:20 +00:00
Darren Burns
3b67444911 Update Sparkline.summary_func -> summary_function 2022-02-09 16:32:49 +00:00
Darren Burns
7109ec0796 Use render instead of render_lines in Opacity, add tests 2022-02-09 11:33:01 +00:00
Will McGugan
7e077dd502 rules tests 2022-02-09 11:10:49 +00:00
Will McGugan
90760f3c85 naming 2022-02-09 10:16:07 +00:00
Darren Burns
3b0cab6f79 Caching color blending in Opacity, ignoring ANSI colors 2022-02-09 10:14:41 +00:00
Darren Burns
2648cc0305 Add test plan, add TODO about ignoring ansi colors 2022-02-08 18:15:33 +00:00
Darren Burns
06749bf7af Create outline for Opacity renderable 2022-02-08 17:17:03 +00:00
Darren Burns
8f95afd6c8 Implement Sparkline renderable 2022-02-08 16:41:09 +00:00
Will McGugan
fd4215b160 refactor of styles 2022-02-08 15:23:40 +00:00
Will McGugan
1173f14020 simplify border 2022-02-07 17:33:16 +00:00
Will McGugan
623aa5cc03 Merge branch 'css' into inline-styles-view 2022-02-07 16:17:10 +00:00
Will McGugan
687d171520 tests styles view 2022-02-07 16:14:39 +00:00
Darren Burns
1acee1f425 Merge branch 'css' of github.com:willmcgugan/textual into css-variables-substitution 2022-02-07 15:21:26 +00:00
Darren Burns
b08bdab75f Change whitespace trimming during css var sub, add more tests 2022-02-07 15:18:07 +00:00
Will McGugan
06417bb9b6 Merge pull request #235 from Textualize/horizontal-layout
Horizontal layout
2022-02-04 12:08:45 +00:00
Darren Burns
54300488d4 Merge branch 'vertical-layout' into horizontal-layout 2022-02-04 11:48:48 +00:00
Darren Burns
bb8b4e89d3 Error handling 2022-02-04 11:43:35 +00:00
Darren Burns
ee8eb40e0f Updating tests to support token referencing 2022-02-03 16:07:09 +00:00
Darren Burns
33e8bc4584 Highlighting correct span of code when variable of incorrect type is used 2022-02-03 14:19:54 +00:00
Darren Burns
6b1554d970 Fix issue with css variables with multiple values 2022-02-03 12:43:05 +00:00
Darren Burns
d21bd82406 Adding a test around the whitespace trimming logic 2022-02-03 10:27:01 +00:00
Darren Burns
65a6b8d261 Substitution variables 2022-02-02 15:49:16 +00:00