Commit Graph

435 Commits

Author SHA1 Message Date
Olivier Philippon
631f7a5af8 [clock] Misc bug fixes 🐛 2022-05-20 15:48:36 +01:00
Olivier Philippon
0ee9c57f59 [clock] Address PR feedback after the initial implementation of the centralised Clock, episode II 2022-05-20 14:51:47 +01:00
Olivier Philippon
aed252874b [clock] Address PR feedback after the initial implementation of the centralised Clock 2022-05-20 14:51:47 +01:00
Olivier Philippon
4549f2d478 [clock] Add a centralised Clock, responsible for anything related to time
This makes time quite easier to mock during integration tests :-)
2022-05-20 14:51:47 +01:00
Olivier Philippon
5789816333 [App] Integration tests now work on Windows too 2022-05-20 14:51:16 +01:00
Olivier Philippon
15df759197 [App] Finally, time mocking in tests seems to be working! 😅
I had to add a flag in the `_timer` module that allows us to completely disable the  "skip" feature of Timers, though - but it shouldn't cause too much trouble 🤞
2022-05-20 14:50:43 +01:00
Olivier Philippon
74ad6f73fa [e2e] Add a way to accelerate time in our integration tests 2022-05-20 14:49:58 +01:00
Will McGugan
ce8bb775de Merge branch 'css' into auto-dimensions 2022-05-20 12:00:50 +01:00
Will McGugan
ab0e524888 Merge pull request #522 from Textualize/css-add-blank-border-type
[css] add "blank" border type
2022-05-20 11:48:11 +01:00
Will McGugan
537df85461 fix auto 2022-05-19 11:30:44 +01:00
darrenburns
89fd39578b Merge pull request #495 from Textualize/text-input
Basic text input
2022-05-18 16:35:51 +01:00
Olivier Philippon
af2f1580ce [css] Add a test for the impact of our border edge types on the layout 2022-05-18 11:41:05 +01:00
Will McGugan
c2c2e79b2b Merge pull request #501 from Textualize/css-add-scrollbar-gutter-property
[css][scrollbar gutter] Manage the `scrollbar-gutter: stable` CSS property
2022-05-17 11:29:40 +01:00
Darren Burns
28e21b4703 Merge branch 'css' of github.com:Textualize/textual into text-input 2022-05-17 11:07:43 +01:00
Darren Burns
ceb8f7a735 Tests for editor backend API 2022-05-17 10:44:40 +01:00
Will McGugan
ec8eda7c6d fix test 2022-05-16 15:17:10 +01:00
Will McGugan
22e4943044 Merge pull request #505 from Textualize/feat-removal-focus-timer
[App] Remove the focus timer: we now focus from a widget to the next/prev one instantly
2022-05-14 07:55:50 +01:00
Will McGugan
d20f1299f6 timezone fix 2022-05-13 16:59:47 +01:00
Will McGugan
53837c1a81 force highest protocol 2022-05-13 16:52:15 +01:00
Will McGugan
f26d917a72 fix tests for 3.8 2022-05-13 16:45:50 +01:00
Will McGugan
f7fb6f613a test fix 2022-05-13 16:38:09 +01:00
Olivier Philippon
cdad0ff020 [App] Remove the focus timer: we now focus from a widget to the next/prev one instantly 2022-05-12 16:52:16 +01:00
Olivier Philippon
685a2fb510 [css][scrollbar gutter] Manage the scrollbar-gutter: stable CSS property
(only for vertical content though; we may see later on if we want to also apply that logic for horizontal scrolls?)
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter
2022-05-12 10:19:46 +01:00
Will McGugan
1a13a9c8ec wait a bit 2022-05-11 15:25:17 +01:00
Will McGugan
a51cb0c329 Merge remote-tracking branch 'origin/css' into compositor-granularity 2022-05-11 15:20:24 +01:00
Will McGugan
73a2dfb3c6 Merge pull request #494 from Textualize/tests-e2e-see-if-we-can-test-scroll-to-widget
[tests][e2e] Add a test for `Widget#scroll_to_widget()`
2022-05-11 14:52:40 +01:00
Will McGugan
b7a3a9b4c8 Merge pull request #486 from Textualize/css-add-did-you-mean-for-css-color-names
[css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one
2022-05-11 14:41:17 +01:00
Will McGugan
4cfc8f8947 merge 2022-05-11 14:33:12 +01:00
Will McGugan
760beac6be Merge pull request #479 from Textualize/render-style
Add style param to Widget render method
2022-05-11 13:32:35 +01:00
Olivier Philippon
aa7b19a193 [css] Address PR feedback for "Did you mean" suggestions 2022-05-11 10:45:38 +01:00
Olivier Philippon
e70f8a4333 [tests][e2e] Add a test for Widget#scroll_to_widget() 2022-05-11 10:10:11 +01:00
Will McGugan
8f38ea4494 span refinements 2022-05-10 17:37:27 +01:00
Will McGugan
f8c7566ecd Merge branch 'css' into compositor-granularity 2022-05-10 16:06:00 +01:00
Will McGugan
295273c974 fix for test 2022-05-10 13:40:47 +01:00
Will McGugan
7508bd4d84 Merge branch 'css' into scroll_to_widget 2022-05-10 13:38:05 +01:00
Olivier Philippon
e37036c816 [css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one 2022-05-10 11:13:38 +01:00
Will McGugan
20c3220d73 improved compositor granularity 2022-05-10 10:30:16 +01:00
Olivier Philippon
72c9622b82 [layouts] Address feedback on "Fix vertical layout bug with centered content" PR 2022-05-10 09:12:55 +01:00
Will McGugan
580edb4f4b comment and tests 2022-05-06 16:39:03 +01:00
Olivier Philippon
7843683f5c [layouts] make integration test pass on Windows 2022-05-06 16:32:50 +01:00
Olivier Philippon
2d25807f49 [layouts] Fix vertical layout bug with centered content 2022-05-06 12:16:13 +01:00
Olivier Philippon
a92f0f7ec5 [tests] Working on an integration test for the vertical layout 2022-05-06 10:35:52 +01:00
Darren Burns
43f65d73ae Pass Rich Style object into Textual render method 2022-05-06 10:20:05 +01:00
Darren Burns
e473e4873a Add style param to Widget render method 2022-05-05 16:06:49 +01:00
Will McGugan
bc497e0abe added auto height 2022-05-05 14:38:22 +01:00
Will McGugan
e382fc14b1 add new can_focus_children attribute 2022-05-05 10:36:59 +01:00
Will McGugan
7ae4c73a7a Merge pull request #458 from Textualize/tab-focus
Tab focus
2022-05-04 14:15:40 +01:00
Will McGugan
caaf44b738 Added focusable_children property 2022-05-04 13:50:05 +01:00
Will McGugan
66fabe00db Merge pull request #464 from Textualize/windows-ci
Windows CI
2022-05-04 13:38:13 +01:00
Darren Burns
7ba8272318 Merge branch 'css' into windows-ci 2022-05-04 12:31:19 +01:00