Automations UI refinements#28190
Conversation
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - keeps the automation status visually anchored to the right edge of the list - includes the current beta list refinements and matching loading skeleton treatment
WalkthroughThe PR includes two independent updates: a patch version bump for the ActivityPub package (3.1.29 → 3.1.30) and a visual styling refresh across Automations editor components. The UI changes apply a green theme to step insertion edges, refine the automation canvas with adjusted component styling and a dotted React Flow background, update the header layout with larger typography and adjusted button sizing, and restructure the automations list to use a headerless table format. A unit test was updated to verify the new row-based rendering approach. Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - gives the automation canvas a light grey dotted React Flow background - keeps hover borders for unselected cards while preserving the selected card outline
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - updates the automation editor header spacing and menu sizing - switches add-step controls to the green action treatment
…eta-ui-refinements # Conflicts: # apps/posts/src/views/Automations/components/automation-canvas.tsx
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - uses the current Shade grey token after the main merge removed grey-75
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - uses the darker dark-surface token for the React Flow canvas background
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - uses a lighter dark-mode surface for the automation header, step sidebar, and email card settings panel
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - uses dark-mode borders instead of lighter dark surfaces for the automation header and step settings panel
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - updates the list test to match the headerless automations list treatment
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
apps/posts/src/views/Automations/components/automations-list.tsx (1)
47-80:⚠️ Potential issue | 🟠 Major | ⚡ Quick winPreserve accessible table semantics after removing visible headers.
Line 47 renders a data table without header cells, which reduces screen-reader context for the status column. Keep headers visually hidden (
sr-only) instead of removing them completely.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/posts/src/views/Automations/components/automations-list.tsx` around lines 47 - 80, The table currently renders data rows without any header cells, harming screen-reader context; add a visually hidden header row above the mapped rows using semantic header cells for the columns (e.g., a TableRow containing two header cells for "Name" and "Status" with className="sr-only" or by rendering TableCell as <th> / passing as="th"), so keep the visual layout unchanged while restoring accessible table semantics for the status column readout used by AutomationStatusBadge and the mapped automations rows.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@apps/posts/src/views/Automations/components/automations-list.tsx`:
- Around line 47-80: The table currently renders data rows without any header
cells, harming screen-reader context; add a visually hidden header row above the
mapped rows using semantic header cells for the columns (e.g., a TableRow
containing two header cells for "Name" and "Status" with className="sr-only" or
by rendering TableCell as <th> / passing as="th"), so keep the visual layout
unchanged while restoring accessible table semantics for the status column
readout used by AutomationStatusBadge and the mapped automations rows.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 6e1b1afb-2dd6-414b-96a1-da0482a7f2be
📒 Files selected for processing (6)
apps/activitypub/package.jsonapps/posts/src/views/Automations/components/add-step-edge.tsxapps/posts/src/views/Automations/components/automation-canvas.tsxapps/posts/src/views/Automations/components/automation-header.tsxapps/posts/src/views/Automations/components/automations-list.tsxapps/posts/test/unit/views/automations/automations-list.test.tsx
ref https://linear.app/tryghost/issue/NY-1312/automations-beta-ui-refinements - keeps the Automations UI PR scoped by reverting the accidental ActivityPub package version bump
What changed
Why
These are beta UI refinements for Automations. The goal is to make the list easier to scan, make the canvas feel more intentionally designed, and keep editor controls visually consistent with the action treatment.
Validation
pnpm --filter posts test -- automations-list.test.tsxcurrently fails because the existing test still expectsAutomationandStatuscolumn headers, while this branch intentionally removes that table header.