Masen Furer
e6dfe67594
Show config in system debug ( #1626 )
2023-08-18 15:02:44 -07:00
Nikhil Rao
0beb7a409f
Clean up config parameters ( #1591 )
2023-08-18 14:22:20 -07:00
Masen Furer
042710ca91
Handle file uploads with component-local state ( #1616 )
2023-08-18 13:12:17 -07:00
Thomas Brandého
f771894077
add system infos to output when in loglevel debug ( #1567 )
2023-08-18 13:00:49 -07:00
Martin Xu
fd4a6257c3
Remove unused full_control
related code ( #1624 )
...
* remove full_control related code
* remove more unused code
2023-08-18 12:56:33 -07:00
wassaf shahzad
0be5d670ed
Added fix for serializing PIL images ( #1619 )
2023-08-18 11:17:42 -07:00
Martin Xu
510b71e644
Check the yield/return from user defined event handlers are valid ( #1614 )
2023-08-18 01:36:30 -07:00
Masen Furer
efefa757a0
state.js: fix prod mode! applyDelta must operate on new_state ( #1613 )
2023-08-17 13:35:11 -07:00
Masen Furer
bb337be06c
link: fix link with no href ( #1612 )
2023-08-17 13:32:53 -07:00
Elijah Ahianyo
98fae89319
Automatic Install FNM and Node for Windows: ( #1566 )
2023-08-17 11:23:09 -07:00
Masen Furer
afcbe7e5a6
Move initial state to separate file ( #1599 )
2023-08-17 09:54:07 -07:00
Masen Furer
26e45c1f18
format_dict: only unescape quotes when removing outer quotes ( #1609 )
2023-08-17 09:45:25 -07:00
Nikhil Rao
00714c60ac
Fix rx.link href prop and Var.to_string type ( #1600 )
...
* Fix rx.link href prop
* Update bool var types
2023-08-16 11:41:19 -07:00
Elijah Ahianyo
ed4de0d7ba
Reinstate bun path ( #1552 )
2023-08-15 17:39:43 -07:00
Masen Furer
2eefb5d26c
Fix non-default imports for NoSSRComponent ( #1548 )
2023-08-15 17:32:23 -07:00
Masen Furer
2ff823e89a
Event Loop Refactor ( #1590 )
2023-08-15 15:17:08 -07:00
Nikhil Rao
6d15326abf
Support f-strings in component children and non-style props ( #1575 )
2023-08-14 11:33:16 -07:00
Nikhil Rao
6830ab40cc
Update urls to reflex.dev ( #1572 )
2023-08-11 17:55:03 -07:00
Nikhil Rao
fbcfb51771
App harness use new_process ( #1573 )
2023-08-11 17:54:34 -07:00
Nikhil Rao
56ab2bb012
Add trailing slash for paths ( #1517 )
2023-08-11 13:55:59 -07:00
Alek Petuskey
005c7df394
Add windows warning message. ( #1570 )
2023-08-11 13:54:32 -07:00
mat-mil
fa1642fd6b
chore: ignore all files with .db extensions in .gitignore ( #1568 )
...
* chore: ignore all files with .db extensions in .gitignore
* Fix unit tests for .gitignore
2023-08-11 13:29:58 -07:00
Elijah Ahianyo
2fa087a0fa
Event Handlers should not shadow base state methods ( #1543 )
2023-08-10 12:47:35 -07:00
Thomas Brandého
cebc5982f3
fix missing on_load parameter in custom_404 ( #1541 )
2023-08-10 11:21:45 -07:00
Smit Parmar
ef78465f16
Added support for RelexSet
wrapper ( #1535 )
2023-08-10 09:59:03 -07:00
Thomas Brandého
cd47815a4d
form support more inputs ( #1554 )
2023-08-10 09:54:04 -07:00
Elijah Ahianyo
6c517a39df
Flex props to support Lists ( #1553 )
2023-08-09 20:48:28 -07:00
Alek Petuskey
9f7a7a1e4a
Got rid of mod_import ( #1547 )
2023-08-08 17:20:09 -07:00
Masen Furer
1d0a34a3f5
Expose NoSSRComponent for downstream use ( #1537 )
2023-08-07 14:47:07 -07:00
Masen Furer
544d352e55
Run AppHarness selenium integration tests in CI ( #1538 )
2023-08-07 14:46:09 -07:00
Masen Furer
4a658ef9be
Wrap Input and TextArea with DebounceInput for full control ( #1484 )
2023-08-07 14:27:42 -07:00
Masen Furer
e214aa26aa
NoSSRComponent recognizes is_default ( #1533 )
2023-08-07 11:50:37 -07:00
Nikhil Rao
9d53f4c1e1
Add alt tag for images ( #1524 )
2023-08-04 17:05:16 -07:00
Thomas Brandého
134df9dbaa
fix lost events when yielding ( #1521 )
2023-08-04 16:39:46 -07:00
Elijah Ahianyo
a9b7394e0e
Remove Home folder for windows ( #1502 )
2023-08-03 14:27:38 -07:00
Masen Furer
123b91a37d
add __main__ entry point to allow python -m reflex
( #1516 )
2023-08-03 14:26:50 -07:00
jackie-pc
c452ec774d
CI: Basic integration test for WSL ( #1510 )
2023-08-03 14:26:09 -07:00
Thomas Brandého
9222bbbdf2
fix state reset() ( #1501 )
2023-08-02 11:02:05 -07:00
Masen Furer
919f239168
check_initialized: skip REFLEX_DIR check for backend only ( #1478 )
2023-08-02 06:33:56 -07:00
Nikhil Rao
deef553e82
Fix deploy command ( #1496 )
2023-08-01 18:01:45 -07:00
Nikhil Rao
9acfaf1706
Simplify rxconfig template ( #1492 )
2023-08-01 15:04:23 -07:00
jackie-pc
837978f378
Full OS matrix builds for unit and integration tests (Linux, Mac, Windows) ( #1460 )
2023-08-01 11:34:12 -07:00
Nikhil Rao
91c0de4b5f
Use concurrent.futures for threading ( #1483 )
2023-07-31 17:45:40 -07:00
Alek Petuskey
b9536bcf40
Fix Nextjs Dynamic Import ( #1480 )
...
* Fix dunamic imoprt for react player and plotly
* Fix format
* Fix pr comments
* Update react player
---------
Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
2023-07-31 16:02:14 -07:00
Masen Furer
c11d9e657f
Disable fully controlled Input and TextArea ( #1383 )
2023-07-31 12:19:34 -07:00
Milo Chen
850ab43325
replace favicon.ico to represent reflex ( #1469 )
2023-07-31 12:03:25 -07:00
Nikhil Rao
f01eff5b29
Show status bar on reflex init ( #1467 )
...
* Show status bar on reflex init
* Fix tests
* Fix version
* Fix test
2023-07-30 20:45:34 -07:00
Nikhil Rao
068bcd906e
Add unified logging ( #1462 )
2023-07-30 19:58:48 -07:00
Nikhil Rao
e1cb09e9d4
Remove curl and parallelize node/bun install ( #1458 )
2023-07-28 17:53:24 -07:00
Thomas Brandého
6555234dee
fix breadcrumb API & add get_page_crumbs method ( #1387 )
2023-07-28 16:40:49 -07:00
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