* cache order of imports that create BaseState subclasses
* Track which pages create State subclasses during evaluation
These need to be replayed on the backend to ensure state alignment.
* Clean up: use constants, remove unused code
Handle closing files with contextmanager
* Expose app.add_all_routes_endpoint for flexgen
* Include .web/backend directory in backend.zip when exporting
* components deserve to be first class props
* default back to {}
* smarter yield
* how much does caching help?
* only hit the slower path on _are_fields_known
* remove the cache thingy
* cache the inner _get_component_prop_names
* oops
* dang it darglint
* refactor things a bit
* fix events
* give option to only use main thread
* change default to main thread
* fix comment
* default to None, as 0 would raise a ValueError
Co-authored-by: Masen Furer <m_github@0x26.net>
* add warning about passing 0
* move executor to config
---------
Co-authored-by: Masen Furer <m_github@0x26.net>
* import var perf improvements
* use tuples over iterator
* the only thing that matters
* maybe tuple map is faster than tuple list comprehension
* do it in one list comprehension
* standarize filename from upload
* all my friends hate fast api upload file
* make deprecated filename private
* lstrip the "/"
Co-authored-by: Masen Furer <m_github@0x26.net>
---------
Co-authored-by: Masen Furer <m_github@0x26.net>
* adjust setter to include type annotation
* apparently this discovered some bugs
* remove some pyright ignores
* add str to int/float conversion
* dang it darglint
* handle port better
* setting port via envvar is possible again
* change default deploy_url and api_url
* fix for review
* update docstring
* type new envvar as optional
* [ENG-4647] Fix env_file handling
* Import dotenv.load_dotenv early to avoid ImportError while loading
rxconfig.py
* Read ENV_FILE from the environment explicitly.
fix#4803
* Config.Config: use_enum_values = False
Save enum fields as the enum object rather than the value.
* raise error when passing a str(var)
* make it faster
* fix typo
* fix tests
* mocker consistency
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
* ditto
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
---------
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
* move overlays to _app.js
* fix unit tests
* fix dynamic imports app
* fix unit cases once again
* clear custom compoent cache between app harness tests
* Sticky tweaks: only show in prod mode
Only display the sticky badge in prod mode.
Display the mini-badge for mobile and tablet; full badge only displayed at
desktop width.
* Remove localhost checking
* fix bun path handling and add a test
* fix flags
* fix tests
* fix unit tests and mock object
* fix units test again
* revert some changes for now
* remove unused test
* allow gunicorn worker to be disabled
* allow gunicorn worker to be disabled
* rewrite the command
---------
Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>