Skip to content

Cut a long error short in the Status column of the History page - #228

Merged
Skyfay merged 1 commit into
devfrom
Skyfay/history-error-truncate
Nov 24, 2026
Merged

Skyfay merged 1 commit into
devfrom
Skyfay/history-error-truncate

Conversation

@Skyfay

@Skyfay Skyfay commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Problem

When a run fails, the History page shows the whole error under the status badge. The table sizes its columns by their content, so a long error, like the one SQL Server returns for a refused BACKUP DATABASE, stretches the Status column across most of the page. The note already had truncate, but nothing limited its width, so it never got cut.

Solution

The Status cell now stops at a fixed width, so a long error ends in an ellipsis after about one line. The whole error stays reachable on hover and on the page of the run.

Details:

  • RunStatusCell gets max-w-72 (18rem) on its wrapper. This also limits the progress note of a running run.
  • The note keeps its title, so hovering shows the full text.
  • Added a changelog fragment under Bug Fixes.

Testing

  • pnpm validate passes locally (lint, typecheck, unit tests).
  • Checked in Chromium with the SQL Server error from a real run: without the limit the column was 1818 px wide, with it 290 px, and the text ends in an ellipsis.

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Skyfay
Skyfay merged commit c55df14 into dev Nov 24, 2026
35 of 37 checks passed

This branch was previously deployed

1 inactive deployment
e2e — 1ccde6a0 Deployed Nov 24, 2026 by Skyfay via Approve #166
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant