Skip to content

fix(automations): keep Next run from running into Last run in the list - #48413

Merged
orca-remote-automation[bot] merged 2 commits into
mainfrom
fix/automations-next-run-overlap
Nov 24, 2026
Merged

orca-remote-automation[bot] merged 2 commits into
mainfrom
fix/automations-next-run-overlap

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

In the automations list, a long "Next run" date ran into the "Last run" column. Now every row shows a short "in 357d"-style time, with the full date on hover, so the columns never touch.

Files Added Deleted Net
Test 0 0 0 0
Prod 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​70 $\color{#cf222e}{\Huge{\mathbf{−}}}$​29 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​41

What Changed

  • Bot and external rows showed Nov 16, 11:00 AM (in 357d); other rows already showed in 11h. All rows now use the short relative form, and the full date is the cell's tooltip.
  • A wrapper span around the Next run cell kept its label inline, so truncate never clipped it. The cell is now a direct grid item, so any long label ends in an ellipsis.
  • Next run keeps a 16px gap before Last run (the shared 12px column gap plus 4px).

Fonts, row height and colors are unchanged.

Why

The overflow came from the label being longer than the column, and from truncation that never took effect. Shortening the copy fixes the common case, and real truncation covers whatever is left, such as long translations.

Linked Issue

Maintainer fix, reported internally.

Visual Proof

Worst case: a long date with relative time, Unavailable 8d ago, Failed 4h ago, Failed 13h ago.

Before (wide):
before wide

After (wide):
after wide

Before (narrow; the table scrolls horizontally):
before narrow

After (narrow):
after narrow

Testing

  • I manually tested these changes locally: I rendered the real list header and row components with the worst-case rows at 560px and 1100px, on macOS.
  • Automated tests added/updated, or explained why not below: this is a styling and copy change, and the repo's test rules exclude UI behavior.
  • Every added test fails without this change and avoids the test anti-patterns (none added)

Performance

No impact. Each row formats one fewer string and renders one fewer element; nothing new runs on any hot path.

m4air added 2 commits November 24, 2026 10:21
The list showed bot and external next runs as date plus relative time, which overflowed its column, and a wrapper span kept the label from truncating. Every row now shows the relative time with the full date on hover, the cell clips with an ellipsis, and Next run keeps a 16px gap before Last run.
@orca-remote-automation
orca-remote-automation Bot merged commit 9be9869 into main Nov 24, 2026
55 checks passed
@orca-remote-automation
orca-remote-automation Bot deleted the fix/automations-next-run-overlap branch November 24, 2026 18:30
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.

0 participants