You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automations: show the run's report preview right away instead of "Hover to preview the report" #3656
In an automation's run history (propr-ui/src/components/Agents/AgentRunHistory.tsx), every run that has a report shows the grey placeholder "Hover to preview the report". The one-line preview appears only after the row is hovered or focused, because the list endpoint carries no report text and useReportPreviews fetches the run detail on first hover. The placeholder is noise, the preview is unreachable on touch devices, and a reader scanning the list cannot see what any run found.
Expected
The run list response carries a short plain-text preview for each run that has a report (for example reportPreview: the first meaningful line of the report, Markdown markers stripped, capped at about 160 characters). It is computed on the server from the stored report; the full report is still not sent in the list.
The row shows that preview as soon as the list renders. No hover, no focus, no extra request per row.
The text "Hover to preview the report" is removed. A run without a report shows nothing in that slot, as today.
The hover/focus fetch and its in-memory cache (recalledReportPreview, rememberReportPreview, useReportPreviews) are removed if nothing else needs them; if the run detail page uses the cache, keep only that use.
The same field is exposed wherever the run list is returned to other clients (CLI propr automation runs, MCP list_automation_runs) only if those already share the list serializer; do not add new output there otherwise.
Acceptance
A server test: a run with a multi-line Markdown report lists with a one-line preview without Markdown heading/list markers; a run without a report lists without one; a very long first line is truncated with an ellipsis.
A UI test: previews are visible on first render with no pointer events and no run-detail request; the placeholder text does not exist anywhere in propr-ui/src.
Checked in a browser at 1440 px and 390 px: the preview truncates on one line and does not push the status or time columns.
Implementation
Add the preview to the automation run list serializer (find the handler behind the list call used by AgentRunHistory, in packages/api / packages/core automation run storage) with a small pure helper for "first meaningful line, stripped, capped". Update the AutomationRunRecord type in propr-ui, render run.reportPreview in AgentRunRow, and delete the hover loader. Keep the row grid classes unchanged.
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53656/claude-opus-5-5-automations-show-the-run--20261117-0851-x2f3602-epic-0-9-o23issue-3656-20261117-0851-claude-opus-5-5-x2f🔍 Track Task Execution