Nikhil Rao
7304351a66
Improve prerequisites check ( #1454 )
2023-07-28 16:29:50 -07:00
Nikhil Rao
0ebe1529a6
Update version flag ( #1452 )
2023-07-28 12:30:39 -07:00
Thomas Brandého
6bc622e67d
update behaviour for wrong state passed as argument ( #1447 )
2023-07-28 11:18:36 -07:00
jackie-pc
e6f4bcdb95
Github action to run unit tests on windows ( #1444 )
2023-07-28 11:12:01 -07:00
Nikhil Rao
e26bba80a6
Create ~/.reflex directory and update integration tests ( #1419 )
2023-07-27 16:39:53 -07:00
Thomas Brandého
3faad315ca
rename rx.route decorator ( #1442 )
2023-07-27 14:11:08 -07:00
Elijah Ahianyo
3fa33bd644
List and Dict mutation on setattr ( #1428 )
2023-07-27 12:45:57 -07:00
Thomas Brandého
43220438b6
update templates to remove deprecation warning ( #1437 )
2023-07-27 11:02:09 -07:00
jackie-pc
7a09554cfa
dev-mode compile: purge .web dir at last min to reduce downtime window ( #1430 )
2023-07-26 16:04:48 -07:00
Nikhil Rao
d0fc965c7f
rx.markdown custom styles for tags ( #1416 )
2023-07-25 13:28:02 -07:00
Elijah Ahianyo
5eeb560238
Bugfix for hidden refs ( #1418 )
2023-07-25 09:56:37 -07:00
TaiJuWu
0a25859255
feature: Auto install node by nvm on Linux ( #1404 )
2023-07-25 00:12:39 -07:00
Nikhil Rao
c94b2e4636
Fix foreach indexing ( #1403 )
2023-07-21 20:09:20 -07:00
Nikhil Rao
d3deade107
Bump version to 0.2.2 ( #1400 )
2023-07-21 12:00:55 -07:00
Thomas Brandého
06f6e1e7bd
improve 404 logic ( #1398 )
2023-07-21 11:51:04 -07:00
Masen Furer
77c4451d24
integration/test_server_side_event.py: tests for set_value ( #1390 )
2023-07-21 11:50:51 -07:00
Elijah Ahianyo
549ab4e708
rx.App state
arg should not be required ( #1361 )
2023-07-21 11:47:38 -07:00
Kabir Goel
278b9ab7e2
Allow custom Tailwind content ( #1399 )
2023-07-21 11:47:06 -07:00
Siddhant Goel
6f5ac6ace2
fix: check bun installation exit code during reflex init ( #1385 )
2023-07-21 11:43:15 -07:00
Thomas Brandého
9510c58296
Fix datatable rendering ( #1360 )
2023-07-21 11:23:51 -07:00
Nikhil Rao
723105d8bb
Fix foreach index type ( #1389 )
2023-07-20 13:03:28 -07:00
Masen Furer
915685c073
state.js: do not shadow outer state
var ( #1375 )
2023-07-19 18:09:55 -07:00
Elijah Ahianyo
4505279d5d
Synchronize Event Namespace ( #1370 )
2023-07-19 18:05:42 -07:00
Masen Furer
370e1fd04c
table: allow rows to be a Var ( #1374 )
2023-07-19 18:01:44 -07:00
Nikhil Rao
d1924bb4a6
Fix sitemap output dir ( #1382 )
2023-07-19 17:55:52 -07:00
Mendie Uwemedimo
23fa6d5ec4
enable SQL statements echo with SQLALCHEMY_ECHO config constant for debugging ( #1369 )
2023-07-19 14:06:17 -07:00
Masen Furer
bfec196d84
Expose Script component from next/script ( #1355 )
2023-07-18 18:57:50 -07:00
Masen Furer
3cbee575fe
reflex db cli: catch exception in makemigrations ( #1362 )
2023-07-18 14:07:16 -07:00
Elijah Ahianyo
ca11b82432
Yield with uploads ( #1339 )
2023-07-18 14:06:57 -07:00
Nikhil Rao
3f151f054d
Generate sitemap on export ( #1358 )
...
* Generate sitemap on export
* Remove prints
2023-07-17 23:14:37 -07:00
Alek Petuskey
be9120b251
Export Error Handling + Improved CLI ( #1359 )
2023-07-17 22:50:57 -07:00
Masen Furer
4a661a5395
reflex db migrate CLI and associated config ( #1336 )
2023-07-17 18:06:50 -07:00
pigeon
d6b191538e
Add custom message when the user exits an app ( #1345 )
2023-07-17 11:45:48 -07:00
Nikhil Rao
7397cd795a
Optimize dev mode compile ( #1348 )
2023-07-17 11:42:07 -07:00
Elijah Ahianyo
40953d05ac
Strict type checking for indexing with vars ( #1333 )
2023-07-13 15:46:15 -07:00
Masen Furer
2c97c1e7ca
reflex.testing.AppHarness: tools for testing reflex apps ( #1326 )
2023-07-13 15:45:57 -07:00
Masen Furer
3a07e990be
respect "env" from rxconfig ( #1338 )
2023-07-13 15:44:50 -07:00
Thomas Brandého
c15839da40
parameter for turning off nextJS compression ( #1316 )
2023-07-13 15:33:01 -07:00
Nikhil Rao
bb6be16963
Fix codeblock import ( #1337 )
2023-07-12 17:09:24 -07:00
Masen Furer
5505d10989
rx.Model: automigrate using alembic ( #1321 )
2023-07-12 15:47:19 -07:00
Alek Petuskey
f79ba97ce3
Add input element addons left/right ( #1335 )
2023-07-12 15:37:06 -07:00
Elijah Ahianyo
7f0fc86816
Computed vars tuple and str indexing support ( #1322 )
2023-07-12 15:26:34 -07:00
Masen Furer
5cbf7da952
state.js: accumulate incoming events ( #1313 )
...
If the backend yields multiple events from a single event handler, ensure that
each event gets appended to the pending result before being transferred to the
state. Previously each incoming event would overwrite any other pending
event(s) leading to racy and unpredictable behavior when yielding events from
the backend in quick succession.
Fixes #1309
Bonus Fix: when setting `processing: false` after client-side events (like
_console), spread from `result`, not `state` to avoid accumulating duplicate
queued events. I think this was originally an undiscovered bug that was exposed
by the main fix.
2023-07-07 12:58:13 -07:00
Masen Furer
333e2b3184
component: do not create ref for dynamic id ( #1307 )
...
allow dynamic id (BaseVar) to be specified (from state value or foreach), but
do not create a react reference for it, since that must be known at compile
time.
if a react ref is needed, then specify a string _at compile time_, not from
state.
fix #1302
2023-07-06 06:16:13 -07:00
Thomas Brandého
d4964886fd
fix the link toward docs in default apps ( #1292 )
2023-07-06 05:53:56 -07:00
Masen Furer
20e2a25c9a
vars: unbox EventHandler and functools.partial for dep analysis ( #1305 )
...
When calculating the variable dependencies of a cached_var, reach into objects
with .func or .fn attributes and perform analysis on those.
Fix #1303
2023-07-05 16:05:49 -07:00
Siddhant Goel
59c4a5e962
Replace pkg_resources with importlib ( #1301 )
...
* Install importlib_metadata for Python 3.7
* Replace pkg_resources with importlib
2023-07-05 11:10:03 -07:00
Masen Furer
51452a6e5a
reflex export: get_app
before setup_frontend
( #1286 )
2023-06-30 17:58:31 -07:00
Sheldon
6b54b2500c
fix pc export ( #1265 )
2023-06-30 14:26:15 -07:00
Nikhil Rao
72fe55ae72
Add default styles to markdown ( #1284 )
2023-06-30 13:16:30 -07:00
Thomas Brandého
903c81dd21
fix silent compilation error ( #1281 )
2023-06-30 09:46:17 -07:00
Masen Furer
5d4f402987
link: clear as
property if link has no href ( #1272 )
2023-06-29 18:45:34 -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
139ce38df1
Rename pynecone to reflex ( #1236 )
2023-06-25 16:56:55 -07:00