Commit Graph

660 Commits

Author SHA1 Message Date
Masen Furer
b0b5c270b3
use actions/checkout@v4 (#1768) 2023-09-07 16:29:32 -07:00
Nikhil Rao
47d789e9a6
Don't show error logs on sigint (#1781) 2023-09-07 15:54:52 -07:00
Masen Furer
43ac87f5ca
exec: don't debug print the line, processes.stream_logs already does (#1780) 2023-09-07 15:31:08 -07:00
Thomas Brandého
2d570b3bcd
Fix some docstrings in pyi (#1773) 2023-09-07 12:55:49 -07:00
Thomas Brandého
0ed055598f
fix pr template (#1774) 2023-09-07 10:03:53 -07:00
Nikhil Rao
abc09f9074
Don't show app running message twice (#1770) 2023-09-07 01:41:26 -07:00
Thomas Brandého
043648da07
improve pyi files generation (#1765) 2023-09-07 00:23:17 -07:00
jackie-pc
869c67d67e
be more specific with python versions - so caching can be safe (#1769) 2023-09-06 15:51:44 -07:00
Masen Furer
6fa9bfea09
Fix rx.Cookie with custom name (#1767) 2023-09-06 14:02:24 -07:00
Joe Doss
ca723c83bc
Upgrade Bun 0.7.0 to 0.7.3 (#1757) 2023-09-06 13:20:07 -07:00
Elijah Ahianyo
141d1c3aab
Deprecation warning enhancement (#1738) 2023-09-06 10:46:44 -07:00
Masen Furer
dd03a277cf
Fixup warning when frontend_packages are specified and tailwind is not (#1761) 2023-09-06 10:26:14 -07:00
Masen Furer
393a7c6e2a
Send updated client-side storage values when hydrating (#1758) 2023-09-05 23:27:39 -07:00
Masen Furer
2e014422f5
App: only render default overlay_component when DefaultState is not used (#1744) 2023-09-05 16:22:25 -07:00
Masen Furer
38c5503f94
Client-side Routing (404 redirect) (#1695) 2023-09-05 16:22:00 -07:00
Thomas Brandého
03a92bc60e
remove frontend_package option (#1700) 2023-09-05 13:45:18 -07:00
Masen Furer
71811a600c
Var: __bool__ and __iter__ always raise a TypeError (#1750) 2023-09-05 13:44:22 -07:00
wassaf shahzad
e99d6723bc
added changes for datetime (#1745)
* added changes for datetime

* fixed formatting

* fixed darglint issue

* test_state: check for other datetime module classes

* utils/types.py: use issubclass check

fix docstring copy/paste issue

* utils/format.py: reuse types.is_datetime check

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
2023-09-04 22:29:02 -07:00
Masen Furer
b44c2176e0
Track var dependencies in comprehensions and nested functions (#1728) 2023-09-04 14:31:17 -07:00
Nev Delap
41e97bbc46
Issues 1633 Add frontend_path to config to support running multiple reflex apps off the same domain, and 1583 Show the correct info on where the site is being served. (#1724)
* Support setting Next.js basePath in Reflex config. (#1633)

- Tests.
- And sorted config in next.config.js template.

* Display the correct running at url with basePath if it is set. (#1583)

* Formatting, fixed by black.

* Fix indenting in test data.

* Fixed that conflict resolution shouldnt have included console.debug line.

* Rmove use of :=. Add http:// to url. Use urljoin to build url.
2023-09-02 06:38:22 -07:00
Masen Furer
f9fad58769
ConnectionModal uses Cond for rendering (#1739) 2023-09-01 13:07:48 -07:00
Elijah Ahianyo
829a7751b5
Refactor: Move format_prop Static Method for Improved Reusability (#1714) 2023-09-01 13:01:11 -07:00
Nikhil Rao
1d9f25be6d
Fix project hash and modernize type annotations (#1704) 2023-08-31 17:04:39 -07:00
Masen Furer
97869136bd
state: _init_mutable_fields for backend vars as well (#1729) 2023-08-31 15:50:20 -07:00
Masen Furer
ca4724cec8
AppHarness: disable telemetry for test apps (#1733) 2023-08-31 14:57:28 -07:00
Thomas Brandého
63b5fbd7b0
add pyi_generator script (#1708) 2023-08-31 14:25:56 -07:00
Alek Petuskey
fed75ea7f8
Incrementally Add New Packages (#1607) 2023-08-31 14:20:44 -07:00
Nikhil Rao
7d7b7901a9
Fix setting substate client storage (#1723) 2023-08-31 09:54:27 -07:00
Masen Furer
cc89f2b6e7
Proper serialization for chained Event payloads (#1725) 2023-08-31 09:50:15 -07:00
Masen Furer
c381225747
Caddyfile: reflex uses /_event and /_upload now (#1726) 2023-08-31 09:47:29 -07:00
Masen Furer
99843d98af
debounce_input should respect child ref (#1717) 2023-08-30 12:46:55 -07:00
Masen Furer
9fbc75d84a
Client-side storage / State integration (#1629) 2023-08-30 12:43:29 -07:00
Milo Chen
4deffc2739
fix: correct the doucment (#1716) 2023-08-30 11:23:37 -07:00
Masen Furer
2392c52928
Implement on_mount and on_unmount for all components. (#1636) 2023-08-30 09:50:39 -07:00
sszzz830
161a77ca23
Update zh_cn README.md (#1685) 2023-08-30 09:48:16 -07:00
Thomas Brandého
bb44fcdaa1
renamed reserved endpoints of Reflex (#1542) 2023-08-30 09:33:54 -07:00
Elijah Ahianyo
689f078aa3
Fix Node Installation on ARM-based Macs with FNM (#1701) 2023-08-29 14:59:56 -07:00
Nikhil Rao
1372042228
Fix run frontend only (#1706) 2023-08-28 20:32:27 -07:00
Masen Furer
6b481ecfc3
ConnectionModal and ConnectionBanner cleanup (#1379) 2023-08-28 18:04:52 -07:00
Martin Xu
51f0339fa4
Add special var for upload: clear_selected_files (#1703) 2023-08-28 17:15:31 -07:00
Martin Xu
2e1aea9713
Add contains, reverse operations for Var (#1679) 2023-08-28 14:59:50 -07:00
Nikhil Rao
6bfce48b0c
Use stream_logs for frontend process (#1682) 2023-08-25 16:16:51 -07:00
Masen Furer
3916668461
Avoid compile step when running production backend (#1665) 2023-08-25 14:50:03 -07:00
Shashank Tiwari
b02afc326e
added if condition check to not echo DB_URL (#1681) 2023-08-25 14:11:44 -07:00
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
76b8af3b42
Refactor zipping in reflex export (#1668) 2023-08-23 17:18:16 -07:00
Martin Xu
82dc237f44
Revert "Use DebounceInput wrapper for fully controlled Editable" (#1670) 2023-08-23 17:16:03 -07:00
Masen Furer
81fd9d1e9c
Run backend from the main thread in dev mode (#1653) 2023-08-23 16:52:54 -07:00
Nikhil Rao
96a6ab95a2
Upgrade to v0.2.6 (#1669) 2023-08-23 16:29:01 -07:00