Nikhil Rao
e4bf94464b
Fix event handler override ( #828 )
2023-04-15 11:33:52 -07:00
Elijah Ahianyo
4b7cc6ddf5
File upload to use single syntax ( #811 )
2023-04-13 09:27:02 -07:00
Elijah Ahianyo
e8387c8e26
Fix Event chaining in the on_load event handler return not working ( #773 )
...
* Fix Event chaining in the on_load event handler return not working
* added async tests
* addressed comments
2023-04-06 22:26:43 -07:00
Kasun Herath
e9928d9838
Add Database configuration object ( #763 )
...
* Add DB config object (#759 )
* Add DBConfig to base (#759 )
2023-04-03 21:39:44 -07:00
Nikhil Rao
8eea6ac822
Add component memoization ( #770 )
2023-04-03 17:38:56 -07:00
Elijah Ahianyo
50cdfac24c
bugfix/723: pc.data_table not working well with pandas as computed vars ( #745 )
...
* bugfix/723: pc.data_table not working well with pandas as computed vars
Turns out this isnt really a bug. You need to specify an annotation for the computed var to work. This Pr adds a check for annotations on computed vars for data tables
* added more validation for column field
2023-04-02 16:49:50 -07:00
jonatan
e811a84ed4
Use strict equality in generated JS ( #750 )
2023-04-02 15:40:52 -07:00
Elijah Ahianyo
50d480da1f
Allow upload event handler to have arbitrary arg name ( #755 )
2023-04-02 15:40:05 -07:00
Elijah Ahianyo
1fdc01fa56
Bugfix: 719-File-upload-props-not-working ( #738 )
2023-03-29 18:26:02 -07:00
Elijah Ahianyo
a2f86f9fbb
Feature/Multi File upload ( #712 )
...
* This PR adds a feature to upload multiple files
* modified function to support python 3.8
* change code to use types instead of arg name
2023-03-22 23:54:08 -07:00
Elijah Ahianyo
41e8afc92a
Handle file uploads with substates ( #703 )
2023-03-17 15:11:24 -07:00
Elijah Ahianyo
592be487c9
Call event handlers from other event handlers ( #691 )
2023-03-16 16:57:28 -07:00
iron3oxide
7067baf176
Refactor utils module ( #666 )
2023-03-16 14:59:27 -07:00
Nikhil Rao
2ee8c73d5a
Add error message for invalid var ops ( #664 )
2023-03-11 21:11:59 -08:00
Xiaojing Chen
3bf7d1f722
Throw better error for invalid child component ( #655 )
2023-03-10 13:02:17 -08:00
Xiaojing Chen
ae5b6426aa
Clean up json dumps ( #642 )
2023-03-07 14:37:34 -08:00
Elijah Ahianyo
e106b7aedf
Bugfix for properly rendering datatables ( #638 )
2023-03-07 13:50:04 -08:00
Nikhil Rao
3491955995
Fix format dict props ( #641 )
2023-03-06 17:38:21 -08:00
Nikhil Rao
d74efb9bff
Fix cond component render ( #639 )
2023-03-06 16:45:10 -08:00
Nikhil Rao
8ba22ed92d
Factor out responsive helpers ( #624 )
2023-03-03 13:29:17 -08:00
Nikhil Rao
46cdda4125
Fix issubclass check ( #618 )
2023-02-28 20:10:00 -08:00
Xiaojing Chen
55ac6e4973
Add unit test for style ( #615 )
2023-02-28 11:29:06 -08:00
Xiaojing Chen
b4c3cb5eb3
[Tests] add unit test for event ( #614 )
2023-02-27 19:13:49 -08:00
Nikhil Rao
6c8ce67b8b
Call special events from event triggers ( #601 )
2023-02-24 15:17:03 -08:00
Xiaojing Chen
37edaa2f6b
[Fix: issue 582] Icon tag should work despite case sensitivity. ( #588 )
2023-02-21 17:32:34 -08:00
Nikhil Rao
f88d4ce4b4
Add tests for pc.icon
( #562 )
2023-02-17 12:01:30 -08:00
Alek Petuskey
b36680fefd
Anonymous Telemetry Opt Out Available ( #550 )
...
* Added anonymous telemetry with opt-out.
2023-02-16 00:11:53 -08:00
Nikhil Rao
47eebe0ea5
Clean up cond vars ( #536 )
2023-02-13 15:27:03 -08:00
Nikhil Rao
0bd8f6acfc
Add keypress event handlers ( #523 )
2023-02-12 13:12:57 -08:00
Elijah Ahianyo
8de2163d84
Create PCDict ( #503 )
2023-02-12 12:52:45 -08:00
Elijah Ahianyo
69a9c95d73
Make PCList pickleable ( #500 )
2023-02-10 12:25:58 -08:00
advo-kat
8d9c75824c
Socket fixes and config options( #485 )
2023-02-09 23:59:20 -08:00
叶子
1529a23c1b
Switch linter to ruff ( #450 )
2023-02-09 11:33:18 -08:00
Nikhil Rao
eb723b6ebe
Add compile error for invalid event handlers ( #482 )
2023-02-08 16:27:13 -08:00
Robert Neumann
fdf0e9ea6b
Add --no-zip pc CLI Parameter ( #479 )
2023-02-08 14:39:38 -08:00
PeterYusuke
07289c8735
Solve windows env test fails ( #437 )
2023-02-06 13:41:59 -08:00
Nikhil Rao
8958f14778
Allow pc.cond without else case ( #453 )
2023-02-05 17:50:34 -08:00
lawrence-axb
d1ff7d481f
Allow plotly figures as state vars ( #440 )
2023-02-04 16:13:18 -08:00
Elijah Ahianyo
00479362df
Allow conditional props ( #359 )
2023-02-02 00:22:44 -08:00
Nikhil Rao
e578956b0c
Comment out pclist ( #407 )
2023-01-30 19:25:02 -08:00
Nikhil Rao
6b97de71a0
Fix format route and code cleanup ( #399 )
2023-01-30 14:35:06 -08:00
Thomas Brandého
4971f6d814
Support backend-only state vars ( #390 )
2023-01-29 18:55:34 -08:00
Nikhil Rao
2b7e2ecf30
Fix custom routes on Windows ( #389 )
2023-01-29 16:39:19 -08:00
Thomas Brandého
b06f612a7d
Dynamically add vars to a State ( #381 )
2023-01-29 11:20:06 -08:00
Tommy Dew
d5a76f103a
Add pc.list
for mutation detection ( #339 )
2023-01-28 10:50:52 -08:00
Alek Petuskey
cb61579f53
Added anonymous telemetry helpers. ( #340 )
2023-01-25 14:57:29 -08:00
Nikhil Rao
6f3d763f82
Rename path to route everywhere ( #329 )
2023-01-23 21:53:42 -08:00
Tommy Dew
f7e35771e9
Relax type requirement on pc.cond ( #323 )
2023-01-23 20:20:19 -08:00
Nikhil Rao
d376d2972b
Support dataframes as state vars ( #324 )
2023-01-23 18:47:21 -08:00
Thomas Brandého
554e6d919b
Add event token to router_data ( #316 )
2023-01-22 17:40:19 -08:00
Atharva Shah
2ccbfff223
General code cleanup ( #312 )
2023-01-22 10:58:07 -08:00
Nikhil Rao
8be411b81b
Implement var slicing ( #289 )
2023-01-18 17:53:04 -08:00
Elijah Ahianyo
c8936355f2
Remove assets dir symlink
2023-01-13 10:35:20 -08:00
Nikhil Rao
7f0aa4f5c4
Fix custom component imports ( #246 )
2023-01-11 11:34:46 -08:00
Alek Petuskey
876cf13344
Updated Victory Group/Stack ( #231 )
2023-01-08 23:36:51 -08:00
Thomas Brandého
1124067c12
Add router data to state ( #228 )
2023-01-08 13:48:09 -08:00
Alek Petuskey
2d5cb4a561
Added victory graphs. ( #214 )
2023-01-05 17:38:54 -08:00
Nikhil Rao
2543e48a30
Access parent state vars from substate ( #207 )
2023-01-04 15:41:05 -08:00
Nikhil Rao
3f27ce3442
Fix component decorator bugs ( #203 )
2023-01-04 15:20:33 -08:00
Nikhil Rao
d93e2cec00
Add decorator for custom components ( #193 )
2023-01-02 16:08:00 -08:00
Nikhil Rao
43bd4784dc
Fix substate event handlers ( #171 )
2022-12-22 16:10:15 -08:00
Nikhil Rao
974d2b4cbb
Improve event processing performance ( #163 )
2022-12-21 20:04:13 -08:00
Nikhil Rao
9ecadcc646
Improve prop error messages ( #84 )
...
* Add better error messages for component props
2022-12-13 11:31:57 -08:00
Nikhil Rao
dd26dd044b
Add style for code blocks. ( #32 )
...
* Rename github actions file
* Update custom code
* Add theme for code blocks
2022-12-06 01:22:57 -08:00
Nikhil Rao
5f9bbac11e
Fix state indexing ( #16 )
2022-11-28 20:12:08 -08:00
Nikhil Rao
c4b1f2c669
Create Github Action for pytest ( #12 )
2022-11-21 18:50:59 -08:00
Nikhil Rao
29e37350e5
Add basic unit tests ( #7 )
...
* Unit tests for components, state, and utils
2022-11-20 14:34:25 -08:00
Nikhil Rao
2008417bd7
Clean up tags.
2022-11-18 17:48:51 -08:00
Nikhil Rao
e8e8eaa010
Initial commit.
2022-11-18 12:44:06 -08:00