Commit Graph

453 Commits

Author SHA1 Message Date
Alek Petuskey
c5b2b28721
Temporarily disable full control (#871) 2023-04-25 21:16:31 -07:00
Nikhil Rao
f019e0e55a
Speed up computed var dependency tracking (#864) 2023-04-25 13:56:24 -07:00
Nikhil Rao
2d7c2bcc5e
Fix dynamic setters (#866) 2023-04-25 09:51:37 -07:00
Ben Guidarelli
65dc2fe80e
Initialize an EventHandler for dynamic vars (#808) 2023-04-25 00:52:52 -07:00
Kasun Herath
fc9b03ebd7
Custom configuration support (#792) 2023-04-24 21:40:07 -07:00
Masen Furer
3c4fb256a2
Always emit a full dict() when hydrating (#843) 2023-04-24 21:28:30 -07:00
Kasun Herath
6631080a23
Drop default primary key is another is defined (#812) (#851) 2023-04-24 18:49:43 -07:00
Nikhil Rao
1029d3483a
Fix substate event handler conversions (#861) 2023-04-24 17:54:16 -07:00
Robert Neumann
fd80617472
Update bun version to fix Container Build Error (#860)
* Rename dalle to DALL·E and add link to bun

* Fix DALL-E to DALL·E in Readme

* Update bun version to 0.5.9
2023-04-24 13:43:54 -07:00
Alan Mond
73cfd2fdba
Modify some methods in state.py to prevent being overwritten (#856) 2023-04-24 10:45:35 -07:00
Kabir Goel
54b06fb5a8
Update README (#859) 2023-04-23 21:19:31 -06:00
Masen Furer
b4755b8123
Only update ComputedVar when dependent vars change (#840) 2023-04-23 18:48:44 -06:00
Elijah Ahianyo
3be43bdab1
update checkbox docstring (#850)
added more description to color-scheme docs
2023-04-21 15:04:12 -06:00
Elijah Ahianyo
59d693bff1
update datatable docstring (#854)
added more description to data and columns props docs
2023-04-21 15:03:25 -06:00
Seonghwan Choi
5db622c7d4
Apply convert_handlers_to_fns for substates (#846) 2023-04-19 11:45:23 -07:00
Elijah Ahianyo
945ac53dd0
Update upload docstring (#848) 2023-04-19 11:08:31 -07:00
Elijah Ahianyo
e193dd6663
Update button docstring (#849) 2023-04-19 10:58:11 -07:00
Elijah Ahianyo
a52145e52a
Python 3.10 tag issubclass bug: (#832) 2023-04-17 10:08:43 -07:00
Masen Furer
c3148d348c
component.get_hooks: inject hook code into component func (#810) 2023-04-15 22:10:17 -07:00
Alek Petuskey
3e2ebd9dea
Added base templating (#824)
* Added base templating
2023-04-15 20:51:18 -07:00
Nikhil Rao
e4bf94464b
Fix event handler override (#828) 2023-04-15 11:33:52 -07:00
PeterYusuke
bd03e9290c
Fix textarea rendering issue (#700) 2023-04-13 11:02:20 -07:00
Elijah Ahianyo
64d5212f0b
File upload accept types format (#816) 2023-04-13 09:38:31 -07:00
Elijah Ahianyo
4b7cc6ddf5
File upload to use single syntax (#811) 2023-04-13 09:27:02 -07:00
Milo Chen
adf2b8d395
Update pc run backend/frontend only flags (#800) 2023-04-11 10:09:56 -07:00
Nikhil Rao
45f533db27
Fix event handler lambdas (#804) 2023-04-10 21:29:23 -07:00
Nikhil Rao
bdafc21d3d
Update to v0.1.23 (#797) 2023-04-09 22:09:38 -07:00
Nikhil Rao
0688b4c01a
Fix bun install (#796) 2023-04-09 21:56:40 -07:00
Nikhil Rao
ae49759f1e
Handle non-async middleware (#790) 2023-04-08 22:47:42 -07:00
Nikhil Rao
e96f1c4d39
Fix event handler returns (#788) 2023-04-08 10:49:00 -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
Alek Petuskey
bd6ea9d977
Fixed pc.html to accept state var. (#775) 2023-04-04 21:59:50 -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
bb29bd864d
Improve memoized args (#771) 2023-04-03 18:22:43 -07:00
Nikhil Rao
8eea6ac822
Add component memoization (#770) 2023-04-03 17:38:56 -07:00
Alek Petuskey
bcd2df6c09
Added option to disable bun. Useful if bun is not supported on some OS. (#769) 2023-04-03 17:06:30 -07:00
Alek Petuskey
13f0182343
Add check for invalid bun versions (#768) 2023-04-03 17:01:25 -07:00
Nikhil Rao
a7f00057c6
Fix pyright issues (#766) 2023-04-03 15:12:38 -07:00
Kabir Goel
de0f80dba6
Implement raw HTML elements (#627) 2023-04-03 14:24:42 -07:00
Nikhil Rao
0164c44495
Update to v0.1.21 (#762) 2023-04-02 17:00:27 -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
Kasun Herath
0e9c39d103
Fix empty db_url error message (#758) 2023-04-02 15:35:29 -07:00
Alek Petuskey
d955dc2a3c
Added list to color scale. (#761) 2023-04-02 15:33:58 -07:00
Harish Chandran
a43a83ad24
Add optional argument --name to pc init (#735) 2023-03-29 18:28:57 -07:00
Elijah Ahianyo
1fdc01fa56
Bugfix: 719-File-upload-props-not-working (#738) 2023-03-29 18:26:02 -07:00
Kasun Herath
92da4e04af
Integrate pre-commit (#742) 2023-03-29 18:24:23 -07:00
Kasun Herath
6bcddd1f05
Add poetry version in contributing docs (#731) (#732) 2023-03-29 11:36:20 -07:00
jonatan
e7fc4b5d7c
Fix crash when NaN, Inf or -Inf in frontend state. (#744)
* Add json5 package
* Use json5 instead of JSON when parsing state updates
2023-03-29 11:36:01 -07:00