This commit is contained in:
2026-02-14 15:54:31 -08:00
parent ce2f28cc50
commit ae4880b164
7 changed files with 215 additions and 22 deletions

View File

@@ -15,6 +15,7 @@ logger = logging.getLogger(__name__)
from SYS.result_table import (
RESULT_TABLE_BORDER_STYLE,
RESULT_TABLE_HEADER_STYLE,
apply_result_table_layout,
get_result_table_row_style,
)
from SYS.result_table_api import ColumnSpec, ResultModel, ResultTable, Renderer
@@ -39,10 +40,19 @@ class RichRenderer(Renderer):
show_header=True,
header_style=RESULT_TABLE_HEADER_STYLE,
border_style=RESULT_TABLE_BORDER_STYLE,
box=None,
padding=(0, 1),
pad_edge=False,
collapse_padding=True,
expand=False,
)
apply_result_table_layout(table)
cols = list(columns)
for col in cols:
table.add_column(col.header)
if str(col.header or "").strip().lower() == "tag":
table.add_column(col.header, overflow="fold")
else:
table.add_column(col.header)
for row_idx, r in enumerate(rows):
cells = []