Delete last sx_components.py files: relations + test (phase 9)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m2s

Move relations component loading into app.py. Move test rendering
functions to test/sxc/pages/__init__.py, update route imports, and
delete both sx_components.py files. Zero sx_components imports remain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 11:26:51 +00:00
parent 5bb02b7dd5
commit b51b050dda
7 changed files with 14 additions and 25 deletions

View File

@@ -1,7 +1,5 @@
from __future__ import annotations
import path_setup # noqa: F401
import sx.sx_components as sx_components # noqa: F401
from shared.infrastructure.factory import create_base_app
from shared.sx.jinja_bridge import render
@@ -36,7 +34,10 @@ def create_app() -> "Quart":
domain_services_fn=register_domain_services,
)
import sx.sx_components # noqa: F401
# Load .sx components
import os
from shared.sx.jinja_bridge import load_service_components
load_service_components(os.path.dirname(__file__))
app.register_blueprint(register_dashboard(url_prefix="/"))