Rebrand sexp → sx across web platform (173 files)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 11m37s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 11m37s
Rename all sexp directories, files, identifiers, and references to sx. artdag/ excluded (separate media processing DSL). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ from shared.browser.app.utils import (
|
||||
parse_cost
|
||||
)
|
||||
from shared.browser.app.utils.htmx import is_htmx_request
|
||||
from shared.sexp.helpers import sexp_response
|
||||
from shared.sx.helpers import sx_response
|
||||
|
||||
|
||||
def register():
|
||||
@@ -45,16 +45,16 @@ def register():
|
||||
|
||||
@bp.get("/")
|
||||
async def get(**kwargs):
|
||||
from shared.sexp.page import get_template_context
|
||||
from sexp.sexp_components import render_slots_page, render_slots_oob
|
||||
from shared.sx.page import get_template_context
|
||||
from sx.sx_components import render_slots_page, render_slots_oob
|
||||
|
||||
tctx = await get_template_context()
|
||||
if not is_htmx_request():
|
||||
html = await render_slots_page(tctx)
|
||||
return await make_response(html)
|
||||
else:
|
||||
sexp_src = await render_slots_oob(tctx)
|
||||
return sexp_response(sexp_src)
|
||||
sx_src = await render_slots_oob(tctx)
|
||||
return sx_response(sx_src)
|
||||
|
||||
|
||||
@bp.post("/")
|
||||
@@ -129,8 +129,8 @@ def register():
|
||||
|
||||
# Success → re-render the slots table
|
||||
slots = await svc_list_slots(g.s, g.calendar.id)
|
||||
from sexp.sexp_components import render_slots_table
|
||||
return sexp_response(render_slots_table(slots, g.calendar))
|
||||
from sx.sx_components import render_slots_table
|
||||
return sx_response(render_slots_table(slots, g.calendar))
|
||||
|
||||
|
||||
@bp.get("/add")
|
||||
|
||||
Reference in New Issue
Block a user