Skip to content

Redesign automations empty state UI#1666

Open
karinakharchenko wants to merge 2 commits intorocket-admin:mainfrom
karinakharchenko:empty-state-triggers
Open

Redesign automations empty state UI#1666
karinakharchenko wants to merge 2 commits intorocket-admin:mainfrom
karinakharchenko:empty-state-triggers

Conversation

@karinakharchenko
Copy link
Contributor

Summary

  • Redesigned the automations empty state with a visual WHEN→THEN workflow card
  • Triggers shown as a 2×2 grid with colored icon boxes, titles, and descriptions
  • Actions displayed as centered icon-box cards (Webhook, Email, Slack)
  • WHEN/THEN/ACTION badges with connector lines between sections
  • Full light/dark theme support with proper contrast
  • Renamed sidebar empty text to "No automations yet"

Test plan

  • Navigate to automations with 0 rules → empty state visible with flow card
  • Verify trigger grid shows 4 cards (Add row, Update row, Delete row, Custom)
  • Verify action section shows 3 cards (Webhook, Email, Slack)
  • Check light theme contrast is readable
  • Check dark theme colors match design spec
  • Click "Create first automation" → creation flow opens
  • Flow card is non-interactive (pointer-events: none, opacity: 0.85)

🤖 Generated with Claude Code

karinakharchenko and others added 2 commits March 13, 2026 15:52
Replace old example cards with a trigger-to-action flow: WHEN trigger
pills with "or" separators, bolt connector, THEN badge at branch
intersection, and branching dashed lines to action toggles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace pill-based triggers with 2x2 grid of icon+title+description
cards. Actions shown as centered icon-box cards. Add WHEN/ACTION badges
with section labels, connector with THEN pill. Improve light/dark theme
contrast. Rename sidebar empty text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 13, 2026 14:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Redesigns the Automations empty state in the DB table “Actions/Automations” view to better communicate the WHEN → THEN flow, and updates the sidebar empty-copy to match the new terminology.

Changes:

  • Updates sidebar empty text to “No automations yet”.
  • Replaces the previous text-based empty state with a header/CTA and a non-interactive example flow card (trigger grid + action cards).
  • Adds new component-scoped styles for the redesigned empty state, including light/dark scheme adjustments.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
frontend/src/app/components/dashboard/db-table-view/db-table-actions/db-table-actions.component.html Updates empty-state markup (new header/CTA, WHEN/THEN flow card) and renames empty sidebar copy.
frontend/src/app/components/dashboard/db-table-view/db-table-actions/db-table-actions.component.css Adds styling for the new empty state layout, trigger grid, connector, and action cards; tweaks custom trigger active background.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

</div>
<div class="example-trigger example-trigger--custom">
<div class="example-trigger__icon-box example-trigger__icon-box--custom">
<mat-icon>download</mat-icon>
Comment on lines +296 to +298
<mat-icon>webhook</mat-icon>
</div>
<span class="example-action__label">Webhook</span>
Comment on lines +222 to +226
<button mat-flat-button color="accent"
angulartics2On="click"
angularticsAction="Actions: add first action is clicked"
(click)="addNewRule(); posthog.capture('Actions: add first action is clicked')">
Create first automation
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.

2 participants