Add HTML5 operations summary polling
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-16 21:57:34 +03:00
parent 84303f208b
commit da70128fb2
3 changed files with 51 additions and 3 deletions
@@ -43,6 +43,7 @@ from api_server.html5 import (
render_html5_import_check,
render_html5_import_job,
render_html5_operation_rows,
render_html5_operation_summary,
render_html5_operations,
render_html5_settings_panel,
render_html5_setup_summary,
@@ -1630,6 +1631,14 @@ async def html5_operation_jobs() -> Response:
)
@app.get("/html5/operations/summary")
async def html5_operation_summary() -> Response:
return Response(
render_html5_operation_summary(_html5_operation_jobs()),
media_type="text/html; charset=utf-8",
)
@app.get("/html5/projects/{project_id}/editor")
async def html5_project_editor(project_id: str, q: str = "") -> Response:
try: