Delete market sx_components.py — move all rendering to sxc/pages
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 32s

Phase 6 of the zero-Python-rendering plan. All 46 rendering functions
move from market/sx/sx_components.py into market/sxc/pages/__init__.py.
Route handlers import from sxc.pages instead. load_service_components
call moves into _load_market_page_files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 11:08:44 +00:00
parent 8578eb525e
commit 049796c391
8 changed files with 1529 additions and 1590 deletions

View File

@@ -30,7 +30,7 @@ def register() -> Blueprint:
markets, has_more = await _load_markets(post["id"], page)
from sx.sx_components import render_page_markets_cards
from sxc.pages import render_page_markets_cards
post_slug = post.get("slug", "")
sx_src = await render_page_markets_cards(markets, has_more, page, post_slug)
return sx_response(sx_src)