Commit Graph

465 Commits

Author SHA1 Message Date
Milo Chen
bc5d5c61f2
Fix the zh translation (#1262) 2023-06-29 16:11:12 -07:00
Masen Furer
ffa6ddf8b8
migrate_to_reflex: convert pcconfig to rxconfig (#1270)
* migrate_to_reflex: convert pcconfig to rxconfig

fix #1269

* migrate_to_reflex: replace pynecone.io links with reflex.dev
2023-06-29 16:10:48 -07:00
Elijah Ahianyo
272f0eb003
Bugfix: Some Pages are not Generated: (#1278)
Fix issue with some pages not being generated
2023-06-29 16:01:31 -07:00
Nikhil Rao
bb96e12940
Fix missing stdout in event handlers (#1271) 2023-06-28 16:26:09 -07:00
Masen Furer
cd63297fe4
state: Leading underscore functions are not backend vars (#1268) 2023-06-28 15:32:49 -07:00
Elijah Ahianyo
3b3fc4f965
Local storage clear and remove (#1222) 2023-06-28 11:59:27 -07:00
Elijah Ahianyo
be48e13c71
Remove cookies (#1223) 2023-06-27 18:04:29 -07:00
Siddhant Goel
c6c4410db5
Allow view overrides for registering models with admin (#1249) 2023-06-27 14:08:09 -07:00
Elijah Ahianyo
1d4fda273b
pc export flag rename (#1258) 2023-06-27 13:09:58 -07:00
Maks Rybalchenko
71425b2077
exclude .web folder from uvicorn file sync (#1252) 2023-06-26 18:46:34 -07:00
Sergei Ozeranskii
1dfe76c4a3
Unify the launch of child processes (#1250) 2023-06-26 14:50:23 -07:00
Nikhil Rao
73895b82b7
Update new url (#1246) 2023-06-25 17:06:29 -07:00
Nikhil Rao
139ce38df1
Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
Thomas Brandého
d9e4d6d130
add set_clipboard method (#1230) 2023-06-23 13:01:57 -07:00
Elijah Ahianyo
3f56620870
Get Local Storage (#1234) 2023-06-23 12:56:05 -07:00
Sheldon
aeb04e9130
fix upload file not set state before return (#1227) 2023-06-23 11:46:53 -07:00
Elijah Ahianyo
91d872fb4c
Bugfix: Gitignore file empty newlines (#1232) 2023-06-22 14:36:06 -07:00
Alek Petuskey
7962e897e9
Update readme example (#1225) 2023-06-21 13:40:35 -07:00
Elijah Ahianyo
b6ae225455
Get Cookies (#1221) 2023-06-20 14:57:33 -07:00
Nikhil Rao
9330999eb7
Fix pc.py frontend setup (#1219) 2023-06-20 09:49:09 -07:00
Nikhil Rao
d7aeb753d5
Update to v0.1.34 (#1217) 2023-06-19 14:54:35 -07:00
Elijah Ahianyo
e180f4d43a
Bun Version update (#1216) 2023-06-19 14:49:36 -07:00
Elijah Ahianyo
5e41985bfe
Grid and ResponseGrid component docs update (#1215) 2023-06-19 14:27:59 -07:00
Kabir Goel
1de48ee17a
Support Tailwind out of the box (#1155) 2023-06-17 18:22:33 -07:00
JeffreyChen
769d58caed
Add link to different language README.md (#1116) 2023-06-17 18:22:14 -07:00
TaiJuWu
00fc2f24f3
feature: Use multi-thread to compiler pages (#1199) 2023-06-16 13:41:42 -07:00
Thomas Brandého
8947c26c7e
add server_side event for cookie and local storage (#1206) 2023-06-16 13:40:25 -07:00
Nikhil Rao
b37560cbeb
Fix frontend event infinite loop (#1207) 2023-06-16 13:32:35 -07:00
TaiJuWu
ab84c78e6e
fix: kill all descendant subprocesses of integration test script (#1200) 2023-06-16 12:12:27 -07:00
Elijah Ahianyo
32adf7c428
Add docs for pc.image (#1203) 2023-06-16 11:20:43 -07:00
Nikhil Rao
f9956cde1e
Fix blocking events (#1198) 2023-06-15 23:47:07 -07:00
Sergei Ozeranskii
8500a8444a
Allow gunicorn timeout be set in pcconfig.py (#1193) 2023-06-15 15:24:44 -07:00
Elijah Ahianyo
fe89d53dcf
Bugfix: default gitignore (#1189) 2023-06-13 11:14:57 -07:00
Masen Furer
aa2a1df201
Add vars and components for working with color_mode (#1132)
* `pc.color_mode`: a BaseVar that accesses colorMode on the frontend
* `pc.color_mode_cond`: a `pc.cond` wrapper that conditionally renders
  components or props based on the value of `color_mode`
* `pc.color_mode_icon`: by default "sun" if light mode, "moon" if dark mode
* `pc.color_mode_switch`: a Switch component where is_checked depends on the
  color_mode and changing the value calls toggle_color_mode
* `pc.color_mode_button`: a Button component that calls toggle_color_mode on click

The default template has been updated to include a color_mode_button with
color_mode_icon for toggling light/dark mode. The inline hover style has also
been updated to use color_mode_cond to show a different highlight color based
on the color_mode.
2023-06-11 23:28:33 -07:00
Nikhil Rao
2bc45b000c
Fix pc.link with no href (#1178) 2023-06-09 18:55:21 -07:00
Thomas Brandého
a275b4ad6e
cleanup admin feature (#1168) 2023-06-09 12:48:18 -07:00
Thomas Brandého
765fac940d
update fastapi version to resolve starlette security issue (#1172) 2023-06-09 12:19:51 -07:00
Thomas Brandého
3c580bb41b
fix allow_multiple & toggle_toggle conflict (#1175) 2023-06-09 12:19:25 -07:00
Thomas Brandého
cd065946a9
fix link issue with href (#1173) 2023-06-09 12:16:42 -07:00
Nikhil Rao
5712591bc3
Fix pc.html using state vars (#1177) 2023-06-09 12:16:20 -07:00
Elijah Ahianyo
76a64bce1a
Component props docs update (#1176) 2023-06-09 12:10:25 -07:00
TaiJuWu
36abc3dbe5
fix: on_load accepts EventSpec (#1166) 2023-06-09 11:12:53 -07:00
Nikhil Rao
fedecfdf44
Fix processing flag for generator events (#1157) 2023-06-09 10:50:03 -07:00
Milo Chen
a846953926
Create empty directory for pc.get_asset_path() when .web init (#1171) 2023-06-09 18:32:35 +02:00
Sheldon
ee762a7b35
run setup_frontend during export (#1148) 2023-06-07 11:55:19 -07:00
Elijah Ahianyo
f11fd25448
Disable hidden logs for windows (#1161) 2023-06-07 11:50:47 -07:00
Elijah Ahianyo
278222db8f
async tests to test yield functionality (#1163) 2023-06-07 11:50:27 -07:00
jiangmiemie
0a4d067b42
add meta args (#1158) 2023-06-07 11:45:07 -07:00
Nikhil Rao
78aac243cb
Fix upload error when no files are set (#1156) 2023-06-06 21:24:23 -07:00
Nikhil Rao
2a92aba3a2
Fix next/link imports (#1153) 2023-06-06 12:29:49 -07:00