Nikhil Rao
6e71393ed5
Use blank template as default ( #2109 )
2023-11-01 15:59:34 -07:00
Masen Furer
050dd3da92
pyproject.toml: bump typer to 0.9.0 ( #2068 )
2023-11-01 12:15:24 -07:00
shu-qian
a1c39b9968
Add 'orientation' Property to Reflex Stepper Components ( #2089 )
...
* Added 'orientation' property to Stepper
* import Literal in reflex/components/navigation/stepper.py
* Update reflex/components/navigation/stepper.py
---------
Co-authored-by: sq <1838545301@qq.com>
Co-authored-by: Masen Furer <m_github@0x26.net>
2023-11-01 11:51:23 -07:00
Thomas Brandého
96c09b0f6b
make download work for state vars ( #2092 )
2023-10-31 17:08:10 -07:00
Thomas Brandého
853a43eaab
fix portal when using multiple datatable ( #2094 )
2023-10-31 17:07:28 -07:00
Thomas Brandého
60c8c1d40e
cleanup dataeditor js code and hooks ( #2095 )
2023-10-31 17:06:49 -07:00
Masen Furer
5211706bd4
base: expand template content to right edge of screen ( #2104 )
2023-10-31 17:06:22 -07:00
Masen Furer
8eb68a006e
Expose gunicorn_worker_class via Config ( #2084 )
2023-10-31 13:45:29 -07:00
Masen Furer
56476d0a86
Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) ( #1891 )
...
* Expose preventDefault and stopPropagation for DOM events
All EventHandler, EventSpec, and EventChain can now carry these extra
"event_actions" that will be applied inside the frontend code when an event is
triggered from the DOM.
Fix #1621
Fix REF-675
* Test cases (and fixes) for "event_actions"
* form: from __future__ import annotations
for py38, py39 compat
* Revert overzealous merge conflict resolution
2023-10-31 11:42:42 -07:00
Masen Furer
269334014d
base template: read README as utf-8 ( #2064 )
2023-10-27 16:50:39 -07:00
Nikhil Rao
d5c7cedf31
Support 3.9 on templates ( #2065 )
2023-10-27 16:49:29 -07:00
Nikhil Rao
5e444a7b7b
Update readme path for templates ( #2060 )
2023-10-27 14:07:38 -07:00
Martin Xu
8ad9f3a96e
show all columns in list deployments, let CP control what columns user see ( #2061 )
2023-10-27 13:56:30 -07:00
Nikhil Rao
bb77d14fbc
Update demo command to open demo.reflex.run ( #2059 )
2023-10-27 13:16:02 -07:00
Nikhil Rao
6b7bd8e51b
Update base template styling ( #2050 )
2023-10-27 12:47:00 -07:00
Martin Xu
23255d49d4
Add back build log command to CLI ( #2053 )
2023-10-27 11:30:04 -07:00
Elijah Ahianyo
a2e185cced
Add none to color scheme literal ( #2055 )
2023-10-27 11:21:21 -07:00
Masen Furer
ff4c5a5cf8
Remove .pyc and __pycache__ from template dir ( #2056 )
2023-10-27 11:20:46 -07:00
Thomas Brandého
3262f29613
fix editable column and theme casting ( #2051 )
2023-10-27 09:38:25 -07:00
Thomas Brandého
edf9c32142
fix onload method not working in prod mode ( #2049 )
2023-10-27 08:43:02 -07:00
Nikhil Rao
804f55dbf2
Use demo app for reflex demo command ( #2048 )
2023-10-26 21:49:00 -07:00
Alek Petuskey
f5e9debe4f
Add CLI demo command ( #2044 )
2023-10-26 20:24:19 -07:00
Tom Gotsman
d2afaf5bb3
Add demo app template ( #2046 )
2023-10-26 19:45:33 -07:00
Nikhil Rao
8133aa10c9
Update base template ( #2027 )
2023-10-26 17:59:14 -07:00
Masen Furer
f66c6c3361
Support callback for rx.call_script ( #2045 )
2023-10-26 17:54:48 -07:00
Martin Xu
e9cf822460
CLI will not set auto/stop setting for deployment ( #2040 )
...
* do not set autostart/autostop as default on CLI
* cli feedback
* fix test
* clean up last few messages
* catch general exception for export and exit
2023-10-26 17:47:22 -07:00
Alek Petuskey
70a6b5f2d3
Autogenerating Dependencies During Deployment ( #2033 )
2023-10-26 17:32:58 -07:00
Thomas Brandého
9a5579e1ef
Add datagrid editor ( #1941 )
2023-10-26 16:17:34 -07:00
Masen Furer
21dbdc0103
Replace renamed Var.type_ with _var_type ( #2039 )
2023-10-26 12:34:00 -07:00
Martin Xu
fe01f0cf11
add region check upfront when user deploys interactively ( #2030 )
2023-10-26 10:07:49 -07:00
Masen Furer
92dd68c51f
Improve Var type handling for better rx.Model attribute access ( #2010 )
2023-10-25 11:55:50 -07:00
Martin Xu
f404205c3f
CLI improvements ( #2026 )
2023-10-24 15:35:51 -07:00
Masen Furer
93d19d6dc3
[REF-938] Fix up radix themes issues ( #2002 )
2023-10-24 14:29:54 -07:00
Elijah Ahianyo
1662066af5
Remove victory charts ( #1945 )
2023-10-24 14:20:03 -07:00
Masen Furer
1734ba0b6d
Generate state delta from processed state instance ( #2023 )
2023-10-24 10:44:12 -07:00
Masen Furer
6ea657a4fd
[REF-876] Update base template styles ( #2022 )
2023-10-24 10:35:37 -07:00
Elijah Ahianyo
d785bd98da
Radix Themes style notation fix ( #2025 )
2023-10-24 10:29:44 -07:00
Elijah Ahianyo
b8f0674556
Improve Event handler Error message ( #2019 )
2023-10-24 10:28:51 -07:00
Martin Xu
81053618c9
CLI switch to prod server ( #2016 )
2023-10-24 09:43:20 -07:00
jackie-pc
53566c2adf
[reflex hosting] clean up tmp dir for storing zip archives ( #2021 )
2023-10-24 09:36:10 -07:00
jackie-pc
b3499e6b7a
[reflex export] backend.zip excludes dirs that look like venv dirs ( #2009 )
2023-10-23 09:01:42 -07:00
Masen Furer
91bbf91c52
Resolve npm path and fnm path on Windows ( #2015 )
2023-10-23 08:59:48 -07:00
Thomas Brandého
d00425276d
fix fnm version check ( #2014 )
2023-10-23 08:45:55 -07:00
Thomas Brandého
490ae40a40
Wrap Moment Component ( #1994 )
...
* wip wrap moment
* add some props to moment
* fix typing for 3.8
* fix comment for props and add create method for moment-timezone
2023-10-23 13:24:11 +02:00
Martin Xu
07ca8fcb3b
[REF-99] Add first version of CLI for hosting service ( #1810 )
2023-10-21 13:09:56 -07:00
Masen Furer
fe244b7eec
multi_select somewhat usable ( #1861 )
2023-10-20 09:43:46 -07:00
jackie-pc
c653f95435
support exporting to zip archives to a dir that is not cwd (to be used by hosting cli) ( #2005 )
2023-10-20 09:40:30 -07:00
Elijah Ahianyo
7b8b64668d
Rehydrate client storage after rx.remove_local_storage and rx.remove_cookies ( #1998 )
2023-10-19 15:43:43 -07:00
Nikhil Rao
e7f0cd8e4c
Stop double compiles in dev mode ( #1990 )
2023-10-19 15:26:14 -07:00
Masen Furer
cbf5b61a23
Drop python3.7 support ( #2003 )
...
* Drop python3.7 support
* poetry.lock: relock without py3.7
* Update README/CONTRIBUTING to say 3.8+
2023-10-19 22:21:29 +02:00
Elijah Ahianyo
06bdf9ed8a
Remove 0.3.0 deprecated features ( #1947 )
2023-10-19 09:44:32 -07:00
Elijah Ahianyo
b652d40ee5
Remove Default state ( #1978 )
2023-10-18 09:57:27 -07:00
Nikhil Rao
b4bb849388
Fix posthog ( #1992 )
2023-10-18 12:30:09 +02:00
Masen Furer
f6a7eed359
Fix AppHarness tests ( #1987 )
...
* test_client_storage: remove race conditions for cookie assignment
Poll for default timeout for cookies to appear in the controlled browser.
* Remove use of deprecated get_token and get_sid in core
Both reflex.app and reflex.state were still using deprecated methods, which
were throwing unsolvable warnings for end users.
* Remove deprecated router functions from integration tests
Mostly removing custom "token" var and replacing with
router.session.client_token.
Also replacing `get_query_params` and `get_current_page` usage as well.
* fix upload tests
Cannot pass substate as main app state, since it blocks us from accessing
"inherited vars"
* state: do NOT reset `router` to default
When calling `.reset` to reset state vars, do NOT reset the router data, as
that could mess up internal event processing.
2023-10-18 01:46:13 +02:00
Biresh Biswas
317b883ec8
fix rx.audio playing prop type: str to bool ( #1986 )
2023-10-17 13:03:57 -07:00
Thomas Brandého
df09c716c6
fix serialization as a whole for list/dict/Base containing custom items to serialize ( #1984 )
2023-10-17 10:44:54 -07:00
Masen Furer
d1d5812602
format: event arg values use backticks ( #1926 )
2023-10-17 10:42:35 -07:00
Masen Furer
1efc61e1c4
Warn when computed vars raise an exception ( #1939 )
2023-10-17 10:41:36 -07:00
Masen Furer
c3f5f345bb
convert initialEvents to a function ( #1982 )
2023-10-17 10:39:56 -07:00
Thomas Brandého
b1bab1206d
deprecate get_ methods for router_data, use BaseVars instead ( #1967 )
2023-10-17 09:59:44 -07:00
Masen Furer
67606561d3
[REF-668] Wrap MyApp with radix Theme component ( #1867 )
...
* partly add some radix-ui/themes based components
* add @radix-ui/themes integration to top-level app
* WiP: compile _app_wrap based on which component library is used
TODO: working color mode
* WiP get color mode working with agnostic provider
still not perfect, as the RadixColorModeProvider seems to trip hydration errors
when using color_mode_cond component, but for now, this provides a nice balance
between the two libraries and allows them to interoperate.
* WiP template _app.js instead of making a separate wrap file
* WiP: use next-themes for consistent darkmode switching
* strict pin chakra deps
* Move ChakraColorModeProvider to separate js file
* move nasty radix themes js code into js files
* remove chakra from default imports
* chakra fixup import to use .js extension
* Add radix theme typography and layout components
* do NOT special case the radix theme...
avoid templating json and applying it, avoid non-customizable logic
just add the radix Theme component as an app wrap if the user specifies it to
rx.App, and any other app-wrap theme-like component could _also_ be used
without having to change the code.
this also allows different themes for different sections of the app by simply
placing elements inside a different rdxt.theme wrapper.
* Theme uses "radius" not "borderRadius"
* move next-themes to main packages.json
this is always used, regardless of the component library
* test_app: test cases for app_wrap interface
* Finish wrapping Button, Switch, and TextField components
* docstring, comments, static fixups
* debounce: use alias or tag when passing child Element
Fix REF-830
* test_app: ruin my beautiful indentation
* py38 compatibility
* Add event triggers for switch and TextField
* Add type hints for radix theme components
* radix themes fixups from writing the tests
* Add integration test for radix themes components
* test_app: mock out package installation
we only need the compile result, we're not actually trying to install packages
* avoid incompatible version of @emotion/react
* test_radix_themes: include theme_panel component
* next-themes default scheme: "light"
until all of our components look good in dark mode, need to keep the default as
light mode regardless of the system setting.
2023-10-16 15:31:50 -07:00
Masen Furer
4c554c953d
ChartBase.create: include default min dimensions (RESUB) ( #1975 )
2023-10-16 12:05:33 -07:00
Elijah Ahianyo
c6abeb31a5
Props as Literals ( #1921 )
2023-10-15 20:16:39 -07:00
Alek Petuskey
7d4194be34
Added base template + improve templating code ( #1937 )
2023-10-15 20:02:41 -07:00
Elijah Ahianyo
433ccda3a6
No state No Websocket ( #1950 )
2023-10-13 14:54:59 -07:00
Masen Furer
024cb5fa9b
Var field cleanup ( #1943 )
2023-10-13 14:53:55 -07:00
Masen Furer
684912e33b
[REF-843] Automatically update api_url and deploy_url ( #1954 )
2023-10-13 12:59:19 -07:00
Masen Furer
d0cb5b07e7
AppHarness: support headless mode and driver selection ( #1963 )
2023-10-13 12:53:20 -07:00
Elijah Ahianyo
2c4ffc879f
Deprecate rx.get_cookies ( #1961 )
2023-10-13 09:21:06 -07:00
Nikhil Rao
7019708638
Fix custom components special props ( #1956 )
2023-10-12 15:27:41 -07:00
Masen Furer
14bb662eb1
bun version bump to 1.0.4 ( #1942 )
2023-10-11 00:07:18 -07:00
Alek Petuskey
86c624e939
Readded victory create methods and imports ( #1938 )
2023-10-09 11:53:41 -07:00
Alek Petuskey
80bf48b872
Pin Recharts Dependency ( #1934 )
...
* Pin dependency
* Translated README.md file to Brazilian Portuguese (PT-BR) (#1936 )
* Namespace Recharts + Victory Back With Depreciation Warning (#1928 )
---------
Co-authored-by: Alek Petuskey <alekpetuskey@Aleks-MBP.attlocal.net>
Co-authored-by: Victor Moura <26290053+victorcmoura@users.noreply.github.com>
2023-10-08 19:33:37 -07:00
Alek Petuskey
06103a4d8d
Namespace Recharts + Victory Back With Depreciation Warning ( #1928 )
2023-10-08 19:09:09 -07:00
Thomas Brandého
837549bf6e
fix backward compat of menu api ( #1925 )
2023-10-05 12:55:47 -07:00
Nikhil Rao
85937c2369
Pin frontend package versions ( #1920 )
2023-10-05 12:45:21 -07:00
Elijah Ahianyo
513835cf74
Update Deprecations ( #1927 )
2023-10-05 12:12:42 -07:00
Nikhil Rao
a72a6b7d2f
Add forward slash to local JS import ( #1924 )
2023-10-05 10:38:40 -07:00
Alek Petuskey
67eb661704
Core Graphing -> Recharts ( #1878 )
2023-10-04 15:05:08 -07:00
Elijah Ahianyo
68664a5094
Deprecate set_cookie and set_local_storage ( #1917 )
2023-10-04 14:15:37 -07:00
Thomas Brandého
58933278ad
fix rx.image src not working with state ( #1915 )
2023-10-04 14:15:18 -07:00
Thomas Brandého
c131f76e33
fix menu items= API ( #1905 )
2023-10-02 17:42:36 -07:00
Nikhil Rao
53d205ad9f
Improve default rx.markdown styling ( #1904 )
2023-10-02 11:52:16 -07:00
Masen Furer
4b84c2a471
state: subclass of MutableState must return _mark_dirty return value ( #1898 )
2023-10-02 11:17:45 -07:00
Masen Furer
0a196693a3
Add Editor component ( #1851 )
2023-10-02 09:41:58 -07:00
Thomas Brandého
7df3f2f621
allow external link for redirect ( #1902 )
2023-10-02 09:37:46 -07:00
Masen Furer
418f9ad569
state: get_value
unwraps MutableProxy first ( #1887 )
2023-10-01 10:13:27 -07:00
Masen Furer
4f6b3c049b
State.reset uses deepcopy on defaults ( #1889 )
2023-09-29 16:33:16 -07:00
Masen Furer
5ca7f29853
MutableProxy wraps values yielded by __iter__ ( #1876 )
2023-09-28 17:34:46 -07:00
Masen Furer
bd0cd18796
circular_progress cleanup: size, thickness, label ( #1879 )
2023-09-28 17:29:28 -07:00
Thomas Brandého
dcb17103bb
code cleanup (split constants into a folder) ( #1866 )
2023-09-28 17:27:20 -07:00
Elijah Ahianyo
8326abf5d5
Button Group variant and size props ( #1873 )
2023-09-28 10:56:28 -07:00
Elijah Ahianyo
26885d98cf
rx.table __bool__ regression fix ( #1828 )
2023-09-28 09:31:01 -07:00
Masen Furer
991c7202a7
rx.call_script: a real EventHandler to execute arbitrary javascript ( #1860 )
2023-09-27 18:27:48 -07:00
Nikhil Rao
41872dfdc9
Format event handlers not in importable modules ( #1875 )
2023-09-27 11:30:15 -07:00
Elijah Ahianyo
4e82102ad0
Add button spinner_placement prop ( #1871 )
2023-09-26 10:24:38 -07:00
Nikhil Rao
d1019fb977
Fix style rendering in markdown ( #1869 )
2023-09-26 10:24:12 -07:00
Nikhil Rao
89404e0b4a
Add head components to app ( #1868 )
2023-09-25 16:53:15 -07:00
Nikhil Rao
8231993e5a
Improvements to custom styles in rx.markdown ( #1852 )
2023-09-25 15:59:48 -07:00
Masen Furer
2f284a08b6
component: imports
override _get_dependencies_imports
( #1859 )
2023-09-24 01:46:35 -07:00
Masen Furer
83d7a044fe
StateProxy rebinds functools.partial and methods that are bound to the proxied State ( #1853 )
2023-09-21 17:59:18 -07:00
Masen Furer
351611ca25
rx.background and StateManager.modify_state provides safe exclusive access to state ( #1676 )
2023-09-21 11:42:11 -07:00
Thomas Brandého
211dc15995
New API to define triggers ( #1820 )
2023-09-21 09:47:22 -07:00
Thomas Brandého
84bae0dc7d
use jinja2 to render package.json ( #1849 )
2023-09-21 09:46:11 -07:00
Masen Furer
0cd7242bb2
exec: print the URL, not the address the server binds to ( #1846 )
2023-09-20 19:31:06 -07:00
Nikhil Rao
ac8dfc5f91
Format component as React string ( #1848 )
2023-09-20 19:30:38 -07:00
Elijah Ahianyo
d81d544b97
add option to disable Tailwind ( #1842 )
2023-09-20 16:47:58 -07:00
Thomas Brandého
15ced6b795
allow for non-installable imports ( #1843 )
2023-09-20 16:47:27 -07:00
Masen Furer
1bfb579b20
state: implement __copy__ and __deepcopy__ for MutableProxy ( #1845 )
2023-09-20 16:46:49 -07:00
Nikhil Rao
3113aecb30
Support custom styling for code in markdown ( #1844 )
2023-09-20 11:40:25 -07:00
Elijah Ahianyo
2750228dbb
Prevent Substate class shadowing ( #1827 )
2023-09-19 15:56:39 -07:00
Nikhil Rao
9e533ee58a
Remove extra imports from rx.markdown ( #1837 )
2023-09-19 15:52:56 -07:00
Masen Furer
1430075bdc
Reassign state Var when fields on a Base instance change ( #1748 )
2023-09-18 13:52:10 -07:00
Nikhil Rao
264c44e630
Disable metrics in CI ( #1822 )
2023-09-15 18:15:25 -07:00
Nikhil Rao
541e311617
Simplify base rxconfig ( #1821 )
2023-09-16 02:43:16 +02:00
Nikhil Rao
1938a6cc58
Add serializers for different var types ( #1816 )
2023-09-15 17:19:26 -07:00
Elijah Ahianyo
74d227d2fd
Move custom styles to root App file(_app.js) ( #1764 )
2023-09-15 13:18:35 -07:00
Evan Harley
63ae96ede3
Number input float ( #1817 )
2023-09-15 09:58:33 -07:00
Elijah Ahianyo
796f523c03
Remove deprecated route decorator ( #1815 )
2023-09-14 10:29:29 -07:00
Thomas Brandého
b378827b83
add download event ( #1797 )
2023-09-13 09:56:00 -07:00
Elijah Ahianyo
f2b0915aff
Type Validation for Var Operations and Enhanced Compatibility ( #1674 )
2023-09-12 15:57:40 -07:00
wassaf shahzad
1c598b8428
added check to remove local import starting from . ( #1807 )
2023-09-12 15:54:57 -07:00
Masen Furer
43f3990448
numberinput: check _id is not None
to avoid Var truthiness warning ( #1806 )
2023-09-12 12:36:22 -07:00
Elijah Ahianyo
06a110a07d
Style props with Callable Values ( #1751 )
2023-09-12 11:26:53 -07:00
wassaf shahzad
77edb01e74
removed is_read_only from select ( #1799 )
2023-09-12 08:38:49 -07:00
Evan Harley
fca5815a37
Implemented color_scheme for Tabs Component ( #1792 )
2023-09-09 22:43:11 -07:00
Thomas Brandého
27eeab485e
move dynamic imports to dedicated method ( #1785 )
2023-09-08 14:53:39 -07:00
Martin Xu
3406be3ff8
supply default for sqlmodel PK for both DB and python to work ( #1788 )
2023-09-08 14:51:57 -07:00
Elijah Ahianyo
891e6a4736
Allow underscores in routes ( #1713 )
2023-09-08 12:18:33 -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
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
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
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
Masen Furer
2392c52928
Implement on_mount
and on_unmount
for all components. ( #1636 )
2023-08-30 09:50:39 -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
Elijah Ahianyo
217a5806ee
Validate component children ( #1647 )
2023-08-23 15:56:27 -07:00
Masen Furer
457173eed7
ReflexList: reassign field on insert
( #1652 )
2023-08-23 15:33:56 -07:00
Thomas Brandého
57855f56a1
add type conversion for int,float in built-in setters ( #1660 )
2023-08-23 01:10:51 -07:00
Masen Furer
196bdc5101
model: only pass "check_same_thread" arg for sqlite database ( #1662 )
2023-08-22 14:07:36 -07:00
wassaf shahzad
42e9924273
added support for limits in pagination ( #1646 )
2023-08-22 00:42:34 -07:00
Mudassir Chapra
0ce77c1ca9
Added the step
prop to Slider
[Issue #1639 ] ( #1643 )
2023-08-21 15:10:52 -07:00
danik292
af08e06569
remove prop debounce_timeout
from input and textarea ( #1645 )
2023-08-21 14:44:59 -07:00
Martin Xu
d884b7ba96
Use DebounceInput wrapper for fully controlled Editable ( #1650 )
2023-08-21 14:25:56 -07:00
Masen Furer
5c3685f0c4
remove unused file upload code ( #1634 )
...
this code is no longer used, since file uploads are handled via state/hooks
provided in the upload component itself.
2023-08-21 11:30:53 -07:00
Martin Xu
f5067d4050
add prop debounce_timeout
to input and textarea, default to 50 ( #1627 )
2023-08-18 16:58:35 -07:00
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