Nikhil Rao
a9ee9f6d44
Fix event handler calls to handlers ( #899 )
2023-04-27 19:30:52 -07:00
Nikhil Rao
60323a3aec
Revert fstrings change ( #895 )
2023-04-27 14:36:20 -07:00
Nikhil Rao
5674d9a7a0
Fix pynecone json ( #894 )
2023-04-27 11:43:50 -07:00
Nikhil Rao
23a23d437c
Fix f-strings in props ( #891 )
2023-04-26 21:20:40 -07:00
Nikhil Rao
f0346506d7
Allow fstrings as component children ( #890 )
2023-04-26 19:32:51 -07:00
Nikhil Rao
e03e5f8033
Use Python truthiness in pc.cond ( #889 )
2023-04-26 17:16:38 -07:00
Nikhil Rao
7f5b172002
Remove pynecone.json from templates ( #888 )
2023-04-26 16:57:25 -07:00
Nikhil Rao
a165d745f2
Install dependencies in prod mode ( #887 )
2023-04-26 14:49:11 -07:00
Milo Chen
b9e5ef8e76
Fix pynecone.json version issue when web init ( #885 )
2023-04-26 14:42:39 -07:00
Elijah Ahianyo
5ad3882898
Handle upload bugfix ( #886 )
2023-04-26 12:56:34 -07:00
Nikhil Rao
24c08d6ee0
Fix bun issue on Windows ( #881 )
...
* Fix bun issue on Windows
* Fix check
2023-04-26 08:26:02 -07:00
Nikhil Rao
15485f0716
Handle dataframe base vars ( #878 )
2023-04-25 23:50:43 -07:00
Alek Petuskey
1a8e0b8058
Added better check for bun version. ( #877 )
2023-04-25 23:35:50 -07:00
Nikhil Rao
ddcdfbc671
Update bunlock ( #873 )
2023-04-25 21:51:24 -07:00
Nikhil Rao
f504d6b4b1
Disable computed var deps ( #872 )
2023-04-25 21:24:40 -07:00
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
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
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
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
Francesco Ambrosini
25472d7d85
Add KeyboardKey, AspectRatio Components ( #685 )
2023-03-17 15:15:37 -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
Alek Petuskey
8afbb8546e
Added Windows Performance Warning ( #668 )
2023-03-12 21:37:20 -07:00
Nikhil Rao
2ee8c73d5a
Add error message for invalid var ops ( #664 )
2023-03-11 21:11:59 -08:00
wassaf shahzad
416a813be8
Added script Component ( #653 )
2023-03-11 11:40:14 -08:00
Xiaojing Chen
e926460bf7
Add var support pc.list ( #636 )
2023-03-10 13:09:59 -08:00
Xiaojing Chen
3bf7d1f722
Throw better error for invalid child component ( #655 )
2023-03-10 13:02:17 -08:00
LouisFaure
ea5ef8ecb9
Added parameters to Socket.IO web server ( #659 )
2023-03-10 12:50:28 -08:00
Nikhil Rao
226543694b
Fix to make event chains synchronous ( #654 )
2023-03-09 16:31:31 -08:00
PeterYusuke
6e74cb00a3
Hot loading asset folder on dev ( #643 )
2023-03-08 14:39:01 -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
Xiaojing Chen
a1f3bc7130
Fix for column data is a list or tuple in pc.data_table ( #576 )
2023-03-04 15:41:44 -08:00
Nikhil Rao
35ed2839fd
Fix responsive component import errors ( #629 )
2023-03-04 14:12:47 -08:00
Nikhil Rao
5a373d94e4
Update README ( #630 )
2023-03-04 14:12:02 -08:00
cadon
e132821a24
Fix non-english component str props ( #626 )
2023-03-04 12:42:21 -08:00
Nikhil Rao
f7138bd53f
Add upload component ( #622 )
2023-03-03 19:38:58 -08:00
Nikhil Rao
8ba22ed92d
Factor out responsive helpers ( #624 )
2023-03-03 13:29:17 -08:00
Xiaojing Chen
2e7fb4d082
[Fix] Component table support State Vars ( #571 )
2023-03-02 18:33:53 -08:00
Nikhil Rao
46cdda4125
Fix issubclass check ( #618 )
2023-02-28 20:10:00 -08:00
Alek Petuskey
dac52da780
Fixed Pycharm highlighting issue. ( #617 )
2023-02-28 16:56:27 -08:00
Lucas
f06de5289e
Added inherited backend vars ( #616 )
2023-02-28 13:29:16 -08:00
Xiaojing Chen
8f9b066794
pcconfig.py supports a separate backend_port from api_url ( #593 )
2023-02-27 18:19:43 -08:00
Lucas
387bacff73
Add multiple load events for a page ( #596 )
2023-02-25 10:13:02 -08:00
PeterYusuke
9a9a731766
loglevel setting on prod command ( #594 )
2023-02-24 22:44:33 -08:00
Nikhil Rao
6c8ce67b8b
Call special events from event triggers ( #601 )
2023-02-24 15:17:03 -08:00
PeterYusuke
f76acb2d9c
[Fix issue 563] Add meta arg to page_add method ( #589 )
...
* Add meta arg to page_add method
* Remove TypeError of "|". Set default param value.
2023-02-22 21:33:04 -08:00
Thomas Brandého
fc29202b71
fix needed following the PR that changed Icon usage ( #591 )
2023-02-22 16:27:54 -08:00
Xiaojing Chen
37edaa2f6b
[Fix: issue 582] Icon tag should work despite case sensitivity. ( #588 )
2023-02-21 17:32:34 -08:00
PeterYusuke
1204aa8a26
solve restart error on windows ( #583 )
2023-02-21 17:21:55 -08:00
PeterYusuke
f7a5c99969
Windows production mode command ( #570 )
2023-02-21 10:42:10 -08:00
Nikhil Rao
977cc6990f
Remove sitemap from export ( #581 )
2023-02-20 23:33:08 -08:00
Nikhil Rao
e9888337c4
Fix version check ( #580 )
2023-02-20 22:00:03 -08:00
Alek Petuskey
313dd7dc3b
Added Re-Init ( #577 )
2023-02-20 19:55:46 -08:00
Lunarmagpie
7dfa0c848a
Add py.typed ( #565 )
2023-02-17 21:55:19 -08:00
Nikhil Rao
f88d4ce4b4
Add tests for pc.icon
( #562 )
2023-02-17 12:01:30 -08:00
Elyanah Aco
12faa76279
Convert pc.icon tag to title case ( #553 )
2023-02-16 17:49:03 -08:00
Nikhil Rao
d72256d427
Generate app sitemap ( #552 )
2023-02-16 14:53:18 -08:00
PeterYusuke
7fa1a85d91
Add class name property to component ( #545 )
2023-02-16 11:34:49 -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
Thomas Brandého
d0b47e1c23
Fix raw list not working in foreach ( #547 )
2023-02-15 22:21:53 -08:00
Thomas Brandého
b4fb0df9ea
Update list high-level API ( #543 )
2023-02-15 22:07:43 -08:00
Ronaldo Zefi
6c81a5bf94
Solved export backend.zip error on windows ( #538 )
2023-02-14 12:09:00 -08:00
Nikhil Rao
47eebe0ea5
Clean up cond vars ( #536 )
2023-02-13 15:27:03 -08:00
Alek Petuskey
adf5b7fb1b
Added Type Annotation Error Message Indexing/Foreach ( #530 )
2023-02-12 21:47:21 -08:00
Nikhil Rao
6553be524f
Fix websockets ( #527 )
2023-02-12 14:53:21 -08:00
Nikhil Rao
f37540286c
Fix cors origin ( #525 )
2023-02-12 13:48:05 -08:00
Nikhil Rao
fb9b8a8c83
Add cors to backend server ( #524 )
2023-02-12 13:38:30 -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
Nikhil Rao
8c8b2396fc
Add password component ( #519 )
2023-02-12 09:57:42 -08:00
Thomas Brandého
c203ad57a4
Add pc.route decorator ( #513 )
2023-02-12 09:37:47 -08:00
叶子
094082c35b
Fix type errors in template ( #493 )
2023-02-12 09:36:16 -08:00
Cheesy-Brik
cdf93ed004
Add color prop to CircularProgress ( #520 )
2023-02-12 09:27:55 -08:00
Thomas Brandého
d57d9c78cf
Fix interactions between foreach and cond ( #521 )
2023-02-12 09:24:55 -08:00
Jeremy
d3c3174ba4
Update models on pc run --no-frontend ( #516 )
2023-02-11 17:58:17 -08:00
Thomas Brandého
1479411c4f
Fix args format in dynamic route ( #502 )
2023-02-11 17:06:40 -08:00
叶子
104130df6b
Fix pc export use backend url ( #504 )
2023-02-11 17:06:07 -08:00
Nikhil Rao
29d46facb1
Fix custom component render ( #517 )
2023-02-11 16:49:06 -08:00
Robert Neumann
5e0d5b9e2e
Add export parameters for Backend/Frontend ( #499 )
2023-02-10 15:21:22 -08:00
Thomas Brandého
315987c701
Small fixes in component API ( #501 )
2023-02-10 15:11:12 -08:00
Robert Neumann
8265a85434
Code cleanups ( #498 )
2023-02-10 12:44:13 -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
Nikhil Rao
64b0d47897
Hardcode bun version ( #494 )
2023-02-09 21:46:18 -08:00
叶子
1529a23c1b
Switch linter to ruff ( #450 )
2023-02-09 11:33:18 -08:00
Cheesy-Brik
da588e9b89
Fix powershell command ( #484 )
2023-02-08 18:32:43 -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
60949e24e6
Add id for components to support anchors ( #469 )
2023-02-08 14:09:03 -08:00
Thomas Brandého
f2d0fbbd8d
Fix onload events for substates ( #473 )
2023-02-07 21:55:12 -08:00
Thomas Brandého
4ef2ba779c
Add router_data in substates ( #474 )
2023-02-07 21:53:04 -08:00
Nikhil Rao
d24e12d9c4
Fix server side events ( #465 )
2023-02-06 14:51:08 -08:00
advo-kat
50a7c02142
Use Socket.IO for message transport ( #449 )
2023-02-06 10:37:52 -08:00
Nikhil Rao
8958f14778
Allow pc.cond without else case ( #453 )
2023-02-05 17:50:34 -08:00
Thomas Brandého
0b2f1369a6
Provide high-level API for most components ( #451 )
2023-02-05 16:02:21 -08:00
Nikhil Rao
d709ab9e03
Add import aliases ( #452 )
2023-02-05 15:01:21 -08:00
lawrence-axb
d1ff7d481f
Allow plotly figures as state vars ( #440 )
2023-02-04 16:13:18 -08:00
Robert Neumann
dab7e5d2a1
Remove extra flags from pc run ( #434 )
2023-02-04 10:51:01 -08:00
LumiaGG
6af374e024
Fix event chain bugs ( #413 )
2023-02-04 10:46:31 -08:00
Elijah Ahianyo
00479362df
Allow conditional props ( #359 )
2023-02-02 00:22:44 -08:00
Francesco Ambrosini
ea28f336da
Allow the user to change ports ( #417 )
...
* Allow the user to change the app port at runtime
* Allow the user to change the app port (backend and frontend) at runtime
2023-01-31 21:21:44 -08:00
Wazarr
6c2f4deb70
Make db_url optional ( #402 )
2023-01-30 20:38:48 -08:00