Masen Furer
12e516da64
state: _init_event_handlers recursively ( #1640 )
2023-08-25 13:28:58 -07:00
Elijah Ahianyo
dbaa6a1e56
Fnm and node for POSIX ( #1606 )
2023-08-25 13:04:10 -07:00
Martin Xu
82dc237f44
Revert "Use DebounceInput wrapper for fully controlled Editable" ( #1670 )
2023-08-23 17:16:03 -07:00
Elijah Ahianyo
217a5806ee
Validate component children ( #1647 )
2023-08-23 15:56:27 -07:00
Martin Xu
d884b7ba96
Use DebounceInput wrapper for fully controlled Editable ( #1650 )
2023-08-21 14:25:56 -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
510b71e644
Check the yield/return from user defined event handlers are valid ( #1614 )
2023-08-18 01:36:30 -07:00
Elijah Ahianyo
98fae89319
Automatic Install FNM and Node for Windows: ( #1566 )
2023-08-17 11:23:09 -07:00
Masen Furer
26e45c1f18
format_dict: only unescape quotes when removing outer quotes ( #1609 )
2023-08-17 09:45:25 -07:00
Elijah Ahianyo
ed4de0d7ba
Reinstate bun path ( #1552 )
2023-08-15 17:39:43 -07:00
Nikhil Rao
6d15326abf
Support f-strings in component children and non-style props ( #1575 )
2023-08-14 11:33:16 -07:00
mat-mil
ebf6c7e35c
performance: change platform check fixture scope to session ( #1569 )
2023-08-11 13:55:12 -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
Smit Parmar
ef78465f16
Added support for RelexSet
wrapper ( #1535 )
2023-08-10 09:59:03 -07:00
Masen Furer
4a658ef9be
Wrap Input and TextArea with DebounceInput for full control ( #1484 )
2023-08-07 14:27:42 -07:00
Elijah Ahianyo
a9b7394e0e
Remove Home folder for windows ( #1502 )
2023-08-03 14:27:38 -07:00
Thomas Brandého
9222bbbdf2
fix state reset() ( #1501 )
2023-08-02 11:02:05 -07:00
Nikhil Rao
91c0de4b5f
Use concurrent.futures for threading ( #1483 )
2023-07-31 17:45:40 -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
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
Elijah Ahianyo
3fa33bd644
List and Dict mutation on setattr ( #1428 )
2023-07-27 12:45:57 -07:00
Elijah Ahianyo
d4abf5ff2b
Update tests for Foreach ( #1394 )
2023-07-21 11:49:55 -07:00
Elijah Ahianyo
549ab4e708
rx.App state
arg should not be required ( #1361 )
2023-07-21 11:47:38 -07:00
Elijah Ahianyo
4505279d5d
Synchronize Event Namespace ( #1370 )
2023-07-19 18:05:42 -07:00
Masen Furer
bfec196d84
Expose Script component from next/script ( #1355 )
2023-07-18 18:57:50 -07:00
Elijah Ahianyo
ca11b82432
Yield with uploads ( #1339 )
2023-07-18 14:06:57 -07:00
Masen Furer
4a661a5395
reflex db migrate CLI and associated config ( #1336 )
2023-07-17 18:06:50 -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
5505d10989
rx.Model: automigrate using alembic ( #1321 )
2023-07-12 15:47:19 -07:00
Elijah Ahianyo
7f0fc86816
Computed vars tuple and str indexing support ( #1322 )
2023-07-12 15:26:34 -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
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
Nikhil Rao
139ce38df1
Rename pynecone to reflex ( #1236 )
2023-06-25 16:56:55 -07:00
Elijah Ahianyo
3f56620870
Get Local Storage ( #1234 )
2023-06-23 12:56:05 -07:00
Elijah Ahianyo
91d872fb4c
Bugfix: Gitignore file empty newlines ( #1232 )
2023-06-22 14:36:06 -07:00
Elijah Ahianyo
b6ae225455
Get Cookies ( #1221 )
2023-06-20 14:57:33 -07:00
Elijah Ahianyo
e180f4d43a
Bun Version update ( #1216 )
2023-06-19 14:49:36 -07:00
Thomas Brandého
8947c26c7e
add server_side event for cookie and local storage ( #1206 )
2023-06-16 13:40:25 -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
Nikhil Rao
fedecfdf44
Fix processing flag for generator events ( #1157 )
2023-06-09 10:50:03 -07:00
Elijah Ahianyo
278222db8f
async tests to test yield functionality ( #1163 )
2023-06-07 11:50:27 -07:00
Christopher Terrazas
d793e7a4dd
Feat/admin dashboard ( #1098 )
2023-06-06 11:53:34 -07:00
Nikhil Rao
895719cf68
Fix processing flag for generator event handlers ( #1136 )
2023-06-05 11:30:59 -07:00
Nikhil Rao
a18c6880b5
Add async events ( #1107 )
2023-06-01 21:47:55 -07:00
Elijah Ahianyo
d4d25c17d8
add support for .env configuration ( #1104 )
2023-05-31 17:26:03 -07:00
Curtis Turner
d4b5c78406
add set_focus ( #1092 )
2023-05-30 13:04:09 -07:00
TaiJuWu
0531d611dc
feature: support custom attribute for components ( #1085 )
2023-05-26 11:49:57 -07:00
Nikhil Rao
9485127c1c
Handle multi-select ( #1082 )
2023-05-26 10:50:16 -07:00
Elijah Ahianyo
368b79f160
pc table validation ( #1075 )
2023-05-24 13:14:27 -07:00
Elijah Ahianyo
fb69ddfd80
moved compiled constants into an env.json file ( #1051 )
2023-05-19 10:28:54 -07:00
Elijah Ahianyo
bb1cf4322e
Foreach support for other data structures(dict, set, tuple) ( #1029 )
2023-05-17 16:11:41 -07:00
Elijah Ahianyo
0c33ad19f6
bugfix for upload event ( #1042 )
2023-05-17 10:08:11 -07:00
Alek Petuskey
4a580b54ff
Visual CLI improvements ( #1032 )
2023-05-16 20:42:53 -07:00
Nikhil Rao
6209916795
Update max bun version ( #1038 )
2023-05-16 17:07:18 -07:00
Nikhil Rao
e6a679d3a3
Update pc.form on_submit args ( #1033 )
2023-05-16 12:09:15 -07:00
Nikhil Rao
98f1b30735
Fix event default call ( #1031 )
2023-05-15 21:10:42 -07:00
Nikhil Rao
948ec90fc4
Add pc.form component ( #929 )
2023-05-14 22:34:10 -07:00
Masen Furer
d0e383d23c
Fix db_url set to empty string in default pcconfig.py ( #1022 )
2023-05-14 19:03:36 -07:00
Elijah Ahianyo
139e4cf05b
Update upload event to use queue ( #1005 )
2023-05-12 16:44:16 -07:00
Elijah Ahianyo
7e8a4930ba
Bun version validation ( #1002 )
2023-05-12 16:43:11 -07:00
Nikhil Rao
5b3d0a51e8
Disable NextJS telemetry prod mode ( #1013 )
2023-05-12 13:58:46 -07:00
Nikhil Rao
92b1e241ac
Update dependency versions ( #1007 )
2023-05-12 00:09:58 -07:00
Masen Furer
0491852a45
@pc.cached_var: explicit opt-in for ComputedVar tracking ( #1000 )
2023-05-11 17:47:54 -07:00
Nikhil Rao
8c42c99ecf
Unindent jinja template code ( #1001 )
2023-05-10 23:26:01 -07:00
Nikhil Rao
6af7db42fb
Fix unit tests ( #993 )
2023-05-10 10:50:32 -07:00
Masen Furer
e887dd143b
Trigger on_load when router completes navigation ( #984 )
2023-05-10 01:11:54 -07:00
iron3oxide
32f3a387ae
Rename var module to vars ( #983 )
2023-05-09 23:01:25 -07:00
Masen Furer
557097e2ca
ComputedVar dependency tracking: require caller to pass objclass ( #963 )
...
Avoid issue where a ComputedVar is added to to a class dynamically, but does
not have a reference to the class its attached to, but requiring callers of the
`deps()` method to provide the objclass for looking up recursive method calls.
This allows for safer and more simplified determination of dependencies, even
in highly dynamic environments.
2023-05-09 14:36:45 -07:00
PeterYusuke
3b88e7c329
[Fix 477] Use jinja2 for templating ( #915 )
2023-05-09 14:34:47 -07:00
Nikhil Rao
dc2dff9323
Temp remove computed var dependency checks ( #972 )
2023-05-08 18:00:03 -07:00
Nikhil Rao
8e3daf9f5b
Clean up on_load events ( #965 )
2023-05-08 12:13:51 -07:00
Masen Furer
4515561e61
Per-instance backend variables ( #959 )
...
* test_state: check that _backend_vars are not shared between instances
Each instance of State should get its own backend vars
* per-instance backend vars
Attempt to fix #958
2023-05-07 16:23:31 -07:00
Thomas Brandého
893c0b132e
Make argument optional for event handlers ( #950 )
2023-05-06 13:10:35 -07:00
Masen Furer
b4e534cc97
Cache ComputedVar fixup for dynamic route vars ( #952 )
2023-05-06 12:44:50 -07:00
Elijah Ahianyo
9ea1a64d22
Throw error for unannotated computed vars ( #941 )
2023-05-06 12:26:49 -07:00
Elijah Ahianyo
0d51f58c9f
pc datatable fix for python <=3.8 ( #949 )
2023-05-05 15:01:00 -07:00
Elijah Ahianyo
18c715670a
Revamp Imports ( #926 )
2023-05-04 22:11:01 -07:00
Masen Furer
c344a5c0d7
Cache ComputedVar ( #917 )
2023-05-04 00:11:39 -07:00
Nikhil Rao
34d77db541
Fix event handler string args ( #928 )
2023-05-01 17:06:42 -07:00
Nikhil Rao
1a254aca8e
Add pc.set_value ( #835 )
2023-04-29 19:01:37 -07:00
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
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
Elijah Ahianyo
29945504bc
Dynamic vars initialization unit tests( #880 )
2023-04-26 14:41:47 -07:00
Elijah Ahianyo
5ad3882898
Handle upload bugfix ( #886 )
2023-04-26 12:56:34 -07:00
Nikhil Rao
f504d6b4b1
Disable computed var deps ( #872 )
2023-04-25 21:24:40 -07:00
Nikhil Rao
f019e0e55a
Speed up computed var dependency tracking ( #864 )
2023-04-25 13:56:24 -07:00