Skip to content

Move Automations onto the Workbench rail layout - #50483

Merged
AmethystLiang merged 3 commits into
mainfrom
jinjing/rail-workbench-c4-2-automations
Nov 27, 2026
Merged

AmethystLiang merged 3 commits into
mainfrom
jinjing/rail-workbench-c4-2-automations

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Move Automations onto the Workbench rail layout.

Files Added Deleted Net
Test 0 0 0 0
Prod 32 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​695 $\color{#cf222e}{\Huge{\mathbf{−}}}$​684 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11

What Changed

Automations and Runs share the same Workbench bands and row edges. The list preserves New Automation, host and status filters, search, refresh, and Runs navigation. Overflow is measured only on the view row that needs it.

Why

The four rail pages share a layout so the same kind of control stays in the same place. This is part 2 of five. The layout was checked against comparable products.

The preceding change is #50481.

Visual Proof

The screenshots use an isolated profile and invented data.

Before

After

Testing

  • Bounded local preflight, including lint and typecheck.
  • Hidden Electron interactions with isolated fixtures at 1280px and 560px in light and dark themes.
  • Provider and remote selection cases use seeded fixtures.

Performance

The stack was measured with 20 trials per build for each first-open and page-switch route. Times are median / p95 in milliseconds. The frame measure uses the second animation frame.

Route DOM before DOM after Frame before Frame after
Tasks first open 384.45 / 473.00 399.15 / 490.90 404.20 / 503.60 424.25 / 531.30
Automations first open 326.85 / 346.50 325.20 / 341.10 385.15 / 431.10 375.00 / 433.40
Artifacts first open 321.20 / 334.50 318.30 / 327.70 337.50 / 367.80 336.10 / 342.50
Skills first open 323.10 / 337.60 318.40 / 328.10 344.85 / 379.40 339.75 / 364.30
Tasks → Automations 24.75 / 36.40 22.45 / 35.20 34.35 / 42.70 39.05 / 47.20
Tasks → Artifacts 25.75 / 40.40 22.00 / 38.10 29.25 / 44.40 27.70 / 42.40
Tasks → Skills 29.35 / 42.10 27.10 / 38.20 36.15 / 47.00 36.35 / 48.00
Automations → Tasks 66.80 / 85.10 65.90 / 92.50 109.55 / 161.70 118.85 / 164.90
Automations → Artifacts 19.40 / 25.90 15.40 / 25.10 26.15 / 38.30 27.55 / 37.20
Automations → Skills 26.55 / 35.10 16.40 / 24.10 31.40 / 42.20 24.25 / 34.70
Artifacts → Tasks 58.70 / 80.90 55.80 / 88.90 95.60 / 145.30 95.75 / 157.00
Artifacts → Automations 19.60 / 28.00 15.25 / 22.30 28.20 / 47.60 29.10 / 47.50
Artifacts → Skills 22.05 / 32.40 14.15 / 21.80 26.60 / 38.90 28.30 / 31.60
Skills → Tasks 60.70 / 90.60 54.40 / 85.40 87.35 / 149.10 74.35 / 150.60
Skills → Automations 21.35 / 28.00 18.05 / 29.30 28.10 / 47.60 29.25 / 56.30
Skills → Artifacts 18.55 / 23.30 14.40 / 23.10 25.75 / 30.30 26.45 / 30.80
Focused retest Before After
Artifacts → Automations, warmed DOM 11.55 / 19.60 9.15 / 10.30
Tasks first open, alternated cold frame 364.95 / 550.30 371.40 / 514.80

The alternated retest reduced the median difference to 6.5 ms and improved p95 by 35.5 ms. The UX review accepted these results as within host variation.

The Automations header stays mounted while the list loads.

Risk

Medium. Automations and Runs rely on stable search focus and row navigation. A revert restores the earlier Automations list and Runs chrome.

…, Artifacts on it

One RailPage module (inset surface, 52px header band, 42px toolbar band,
notice band, non-scrolling body) with a container-query narrow mode and a
--rail-page-gutter that list rows, headers and sticky cells share.
page.search (Mod+F) is a registry action guarded to page focus.
Artifacts moves onto the template with its controls, Esc ladder and
autofocus unchanged.
@AmethystLiang
AmethystLiang marked this pull request as draft November 27, 2026 08:44
@AmethystLiang
AmethystLiang changed the base branch from jinjing/rail-workbench-c4-1-shell to main November 27, 2026 08:44
@AmethystLiang
AmethystLiang marked this pull request as ready for review November 27, 2026 08:53
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Automations page, list, and runs dashboard now use shared rail-page layout components. A new hook provides the page label, a conditionally available automation count, and Automations and Runs tabs. Refresh controls move from the list toolbar and runs dashboard into page headers. The list and runs views receive tabs and notices. Search, focus recovery, input styling, and table gutters also change.

Merge Risk: Minimal · up to 0e1e1

This PR moves the Automations list and Runs views onto the shared Workbench layout, and header refresh and navigation tabs are preserved. No concrete functional, data, or performance problem was found. The risk is limited to layout and visual differences, which are easy to revert.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Move Automations onto the Workbench rail layout" matches the main change in the changeset. The diffs replace the Automations page frame, list panel, skeleton, surface, and runs dashboard wi…
Description check Passed The description follows the repository template and fills in the main sections: ELI5, What Changed, Why, Visual Proof (before and after images), Testing, Performance, and Risk. The Performance section…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Move Automations onto the Workbench rail layout" matches the main change in the changeset. The diffs replace the Automations page frame, list panel, skeleton, surface, and runs dashboard with the shared rail-page components (RailPage, RailPageHeader, RailPageBody, RailPageScroll, RailPageSearch, RailPageFilterButton) and the new useIsNarrowerThan hook. The title is short, specific, and avoids vague terms.

Full details: Description check

Explanation

The description follows the repository template and fills in the main sections: ELI5, What Changed, Why, Visual Proof (before and after images), Testing, Performance, and Risk. The Performance section gives a per-route measurement table and a stated trade-off. The Risk section names the riskiest area (search focus and row navigation) and gives a revert path. The Linked Issue section is left as the template placeholder ('Fixes #' with no number), and the template's 'Level' field under Risk is left unfilled ('Medium' is stated in prose but not in the Level field). The Testing checkboxes are not ticked, and the Review, Agent skill upstream boundary, Notes, and Checklist sections are not addressed. The Performance line 'None, because' is incomplete, although the table partly covers the topic. The description is mostly complete, so the check passes, but the author should fill the Linked Issue section and the Performance sentence.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41afac6a-c57c-4078-8617-bbc839ba1c1d
Commits

Reviewing files that changed from the base of the PR and between 89291b4 and 0e1e183.

Files selected for processing: 32

  • src/renderer/src/components/automations/AutomationsPageBreadcrumb.tsx
  • src/renderer/src/components/automations/AutomationsPageFrame.tsx
  • src/renderer/src/components/automations/AutomationsPageListPanel.tsx
  • src/renderer/src/components/automations/AutomationsPageSkeleton.tsx
  • src/renderer/src/components/automations/AutomationsPageSurface.tsx
  • src/renderer/src/components/automations/listing/AutomationListExternalRow.tsx
  • src/renderer/src/components/automations/listing/AutomationListFilterMenu.tsx
  • src/renderer/src/components/automations/listing/AutomationListGroupSection.tsx
  • src/renderer/src/components/automations/listing/AutomationListLocalRow.tsx
  • src/renderer/src/components/automations/listing/AutomationListSearchField.tsx
  • src/renderer/src/components/automations/listing/AutomationListToolbar.tsx
  • src/renderer/src/components/automations/listing/AutomationsListPanel.tsx
  • src/renderer/src/components/automations/runs/AutomationRunsDashboard.tsx
  • src/renderer/src/components/automations/runs/AutomationRunsDashboardSurface.tsx
  • src/renderer/src/components/automations/runs/AutomationRunsTable.tsx
  • src/renderer/src/components/automations/use-automations-list-chrome.tsx
  • src/renderer/src/components/automations/use-automations-page-history.ts
  • src/renderer/src/components/rail-page/use-is-narrower-than.ts
  • src/renderer/src/components/ui/input.tsx
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/lib/list-interaction/list-table-layout.ts
Files with no reviewable changes: 12

  • src/renderer/src/components/automations/AutomationsPageBreadcrumb.tsx
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

@AmethystLiang
AmethystLiang merged commit 00983c5 into main Nov 27, 2026
83 checks passed
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