Commit Graph

157 Commits

Author SHA1 Message Date
Aran-Fey
8edf327c62 add missing docstrings 2025-09-23 21:56:26 +02:00
Aran-Fey
7199691f80 misc small fixes 2025-09-21 08:30:51 +02:00
iap
daf82f8b26 Store the width and height in a ComponentResizeEvent dataclass for passing to event handler 2025-09-20 08:20:35 -04:00
ilya-pevzner
e2c7abc5dd implement resize observer for component size changes 2025-09-20 02:12:39 -04:00
Aran-Fey
b6d11dd3b9 refactor child accessor functions 2025-08-17 14:41:55 +02:00
Aran-Fey
945829dbe6 fix broken layouting when a browser addon inserts HTML elements into the <html> 2025-08-17 14:41:54 +02:00
Aran-Fey
dfec7b8106 fix monkeypatches interfering with other tests 2025-07-15 08:48:49 +02:00
Jakob Pinterits
db57c2a7a0 add unit test for modifications of unmounted components 2025-07-13 20:05:39 +02:00
Aran-Fey
1190ca4279 fix dead components being rebuilt (and potentially crashing) 2025-05-27 21:49:58 +02:00
Aran-Fey
fb45e2f55b TreeView rework 2025-05-20 19:52:35 +02:00
Aran-Fey
8a4f7a8818 fix infinite rebuilding due to unintended attribute accesses 2025-05-20 19:52:35 +02:00
Aran-Fey
920da7428f fix changes in builtin attributes not being sent to frontend 2025-04-21 17:39:15 +02:00
Aran-Fey
996f4eb4d3 improve detection of child components 2025-04-21 17:39:15 +02:00
Aran-Fey
c5b982a64f tests now wait for a refresh instead of triggering one 2025-04-10 07:52:43 +02:00
Aran-Fey
b6844adbe5 fix force_refresh() not marking all attributes as changed 2025-04-09 11:48:03 +02:00
Aran-Fey
627da22866 components now refresh immediately, not just after event handlers 2025-04-07 11:08:56 +02:00
Aran-Fey
302a6c9c03 refactor observables for easier re-use 2025-04-06 20:44:54 +02:00
Aran-Fey
12621fb193 fix attribute bindings between differently named attributes 2025-04-05 15:39:58 +02:00
Aran-Fey
5283bf29f9 fix infinite rebuild loop if parent "depends" on child state 2025-04-05 10:11:40 +02:00
Aran-Fey
44aeb9b8f1 track dependencies of build functions 2025-04-04 19:44:49 +02:00
Aran-Fey
9870a875f9 PointerEventListener fixes 2025-04-02 13:34:20 +02:00
Aran-Fey
d8c0d2d138 more accessibility improvements and frontend tests 2025-04-02 13:24:19 +02:00
Aran-Fey
facad9d526 refactor testing framework 2025-03-29 16:14:22 +01:00
Aran-Fey
895a698a46 fix guard/redirect tests 2025-03-23 20:52:40 +01:00
Aran-Fey
743841a529 remove incorrect test for enum constructors 2025-03-21 11:59:09 +01:00
Aran-Fey
505263f3c1 fix some app loading tests 2025-03-21 11:49:06 +01:00
Aran-Fey
f6cf8cf4fc deprecate CursorStyle enum + some other stuff 2025-03-21 11:49:06 +01:00
Aran-Fey
b27d748be4 add test for loading as_fastapi() app 2025-03-21 11:49:06 +01:00
Aran-Fey
56e71e8d57 remove outdated NumberInput tests 2025-03-18 14:44:26 +01:00
Aran-Fey
afa572204e NumberInput can now evaluate math 2025-03-18 13:15:45 +01:00
Aran-Fey
52448d21d8 misc fixes 2025-03-17 19:12:12 +01:00
Aran-Fey
407004a770 fix incorrect handling of reconciled components 2025-03-16 15:23:16 +01:00
Aran-Fey
2e48f9d270 reorganize NumberInput tests 2025-03-16 15:23:15 +01:00
Aran-Fey
13931a3921 fix NumberInput never updating its value 2025-03-13 23:31:46 +01:00
Aran-Fey
7244a57d0a fix crash in reconciler 2025-03-12 22:07:40 +01:00
Aran-Fey
ae610674ab fix PageView and add usage warning to PendingAttributeBinding 2025-03-11 19:13:38 +01:00
Aran-Fey
a347c336f1 remove _weak_creator_ 2025-03-11 19:13:38 +01:00
Aran-Fey
4dbd2c0889 replace key_scan with global data structure 2025-03-11 19:13:38 +01:00
Jakob Pinterits
59cb2c788f fix unit tests 2025-03-05 21:35:46 +01:00
Jakob Pinterits
9104808d0b update introspection to fix unit test 2025-03-05 21:27:33 +01:00
Jakob Pinterits
3bf8ab6149 table & grid bugfixes 2025-03-05 20:46:29 +01:00
Aran-Fey
018307d01a add more tests for mount/unmount 2025-03-02 21:54:34 +01:00
Aran-Fey
7c9933eeed fix Session._make_url_absolute removing url fragment 2025-02-28 09:58:50 +01:00
Aran-Fey
0b77c7d4f4 add unit tests for Session._make_url_absolute 2025-02-27 21:16:36 +01:00
Aran-Fey
4d9aa002d5 misc fixes 2025-02-27 21:05:00 +01:00
Aran-Fey
79a18ca64e fix endless loop in redirects 2025-02-25 12:05:39 +01:00
Aran-Fey
2cf92cab4f fix FilePickerAreas sharing state due to mutable default argument 2025-02-24 15:22:12 +01:00
Aran-Fey
43ca18ef67 improve a type hint 2025-02-23 11:49:14 +01:00
Jakob Pinterits
7766454015 page URLs are case insensitive again 2025-02-22 21:37:29 +01:00
Jakob Pinterits
bbeb3e8e87 rework URL normalization 2025-02-22 21:10:41 +01:00