Link HTML5 object selection to symbol detail
This commit is contained in:
@@ -1768,6 +1768,7 @@ async def html5_project_object_context(project_id: str, object_name: str) -> Res
|
||||
runtime = _runtime_for_object_context(project_id, impact)
|
||||
knowledge = _knowledge_for_object_context(schema, impact, ui)
|
||||
source_node = _source_node_for_object_context(project_id, impact)
|
||||
symbol_references = await project_symbol_references(project_id, schema.object.lineage_id, direction="both")
|
||||
object_context = render_html5_object_context(
|
||||
project_id,
|
||||
schema,
|
||||
@@ -1782,8 +1783,9 @@ 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)
|
||||
return Response(
|
||||
object_context + flowchart_context + source_context,
|
||||
object_context + flowchart_context + source_context + symbol_context,
|
||||
media_type="text/html; charset=utf-8",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user