Add HTML5 focused object report
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-17 00:50:56 +03:00
parent 9c4d02616f
commit 6e89cdcd84
3 changed files with 60 additions and 1 deletions
+11 -1
View File
@@ -48,6 +48,7 @@ from api_server.html5 import (
render_html5_metadata_apply_result,
render_html5_metadata_preview_result,
render_html5_object_context,
render_html5_object_report,
render_html5_project_setup,
render_html5_project_rows,
render_html5_project_report,
@@ -1784,8 +1785,17 @@ async def html5_project_object_context(project_id: str, object_name: str) -> Res
flowchart_context = render_html5_flowchart(project_id, flowchart, focus=object_name, oob=True)
source_context = render_html5_source(source_node, oob=True) if source_node is not None else ""
symbol_context = render_html5_symbol_detail(project_id, symbol_references, oob=True)
report_context = render_html5_object_report(
project_id,
impact,
access=access,
privacy=privacy,
runtime=runtime,
integrations=integrations,
oob=True,
)
return Response(
object_context + flowchart_context + source_context + symbol_context,
object_context + flowchart_context + source_context + symbol_context + report_context,
media_type="text/html; charset=utf-8",
)