reflex/integration
benedikt-bartscher 3039b54a75
add module prefix to generated state names (#3214)
* add module prefix to state names

* fix state names in test_app

* update state names in test_state

* fix state names in test_var

* fix state name in test_component

* fix state names in test_format

* fix state names in test_foreach

* fix state names in test_cond

* fix state names in test_datatable

* fix state names in test_colors

* fix state names in test_script

* fix state names in test_match

* fix state name in event1 fixture

* fix pyright and darglint

* fix state names in state_tree

* fix state names in redis only test

* fix state names in test_client_storage

* fix state name in js template

* add `get_state_name` and `get_full_state_name` helpers for `AppHarness`

* fix state names in test_dynamic_routes

* use new state name helpers in test_client_storage

* fix state names in test_event_actions

* fix state names in test_event_chain

* fix state names in test_upload

* fix state name in test_login_flow

* fix state names in test_input

* fix state names in test_form_submit

* ruff

* validate state module names

* wtf is going on here?

* remove comments leftover from refactoring

* adjust new test_add_style_embedded_vars

* fix state name in state.js

* fix integration/test_client_state.py

new SessionStorage feature was added with more full state names that need to be formatted in

* fix pre-commit issues in test_client_storage.py

* adjust test_computed_vars

* adjust safe-guards

* fix redis tests with new exception state

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
2024-07-11 11:13:57 -07:00
..
init-test [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
shared upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
__init__.py Client-side storage / State integration (#1629) 2023-08-30 12:43:29 -07:00
conftest.py fix screenshot filenames (#3241) 2024-05-07 19:31:37 -07:00
test_background_task.py Protect StateProxy with an asyncio.Lock (#3508) 2024-06-18 09:48:12 -07:00
test_call_script.py Always treat the call_script callback as a string of JS code (#3521) 2024-06-20 18:05:25 -07:00
test_client_storage.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_component_state.py add support for lifespan tasks (#3312) 2024-05-22 12:07:03 -07:00
test_computed_vars.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_connection_banner.py state.js: set event_processing = false when websocket connects (#3443) 2024-06-07 13:29:25 -07:00
test_deploy_url.py set config.deploy_url during AppHarness tests (#3359) 2024-05-23 09:23:07 -07:00
test_dynamic_routes.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_event_actions.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_event_chain.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_exception_handlers.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_form_submit.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_input.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_large_state.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_lifespan.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_login_flow.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_media.py Deprecate cached var (#3582) 2024-06-28 10:14:55 -07:00
test_navigation.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_server_side_event.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_shared_state.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_state_inheritance.py typed mixins and ComponentState (#3196) 2024-05-15 12:07:41 -07:00
test_table.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_tailwind.py [REF-3004] Use relative path to stylesheet for postcss-import compat (#3435) 2024-06-05 10:02:05 -07:00
test_upload.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_urls.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
test_var_operations.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
utils.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00