Skip to content

Add Automations product prototype - #24

Draft
matthewbirtch wants to merge 113 commits into
mainfrom
cursor/automations-product-prototype-373c
Draft

Add Automations product prototype#24
matthewbirtch wants to merge 113 commits into
mainfrom
cursor/automations-product-prototype-373c

Conversation

@matthewbirtch

Copy link
Copy Markdown
Collaborator

Summary

Adds a new Automations product prototype at /prototypes/automations for exploring the Automations product UX with compass-ui + React Flow.

What’s included

  • Product shell with GlobalHeader product Automations and left nav: Home, Templates, Favorites, Recents (localStorage)
  • Home: searchable flat list with status / scope (global·team·channel) / tag filters, enable switch, empty states, Describe with AI, Templates, + New
  • Templates: 6-card gallery that seeds draft automations into the editor
  • Workflow editor: Steps palette (26 triggers), React Flow canvas (pan/zoom/minimap), inspector, undo/redo, Test run, Save
  • AI agent: floating button opens right Agent panel (mutually exclusive with inspector); scripted chat progressively places nodes
  • Runs (/:id/runs + /:id/runs/:runId) and Change history (/:id/history with Restore stub)

Out of scope (per plan)

  • Permissions / delegation
  • Product switcher wiring to this prototype
  • Health / Secrets / Import

Demo path

  1. Open /prototypes/automations
  2. Describe with AI → pick a suggested prompt → watch nodes build
  3. SaveActions → Run history → open a run detail

Test plan

  • npm run build:ui / app typecheck
  • Browse Home filters, favorites, recents
  • Use a template and edit on canvas
  • AI agent progressive build + inspector swap on node click
  • Navigate runs and change history subviews
Open in Web Open in Cursor 

Standalone Automations prototype at /prototypes/automations with product
nav (Home, Templates, Favorites, Recents), tag/status/scope-filtered home
list, 6-template gallery, node canvas editor with inspector and AI agent
panel, test run, and routed run/change history. Extends GlobalHeader with
an Automations product brand.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mattermost-proto-playground Ready Ready Preview, Comment Jul 22, 2026 2:31am
3 Skipped Deployments
Project Deployment Actions Updated (UTC)
matrix-interop Ignored Ignored Jul 22, 2026 2:31am
mattermost-proto-agent-automations Ignored Ignored Jul 22, 2026 2:31am
proto-external-call-participants Ignored Ignored Jul 22, 2026 2:31am

Add a circular floating AI assistant available across Automations. It
opens a context-aware chat panel using compass-ui Message and MessageInput,
with surface-specific suggestions instead of jumping straight into a new
workflow. Remove the Home header CTA and the editor-local AI FAB.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Host the assistant in a single shell Outlet so it stays mounted over the
builder when navigating. Persist open state in context, keep the panel open
during create/edit handoffs, and animate open/close.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
cursoragent and others added 2 commits July 21, 2026 15:37
Drop the Describe-a-workflow right panel from the editor. Progressive
node placement now runs from the persistent floating AI assistant via
shared graph sync, while the editor right pane stays the property inspector.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Restyle Automations chrome with ChannelShell-like outer/inner rounded
panels and sidebar tokens. Rebuild ProductNav with ChannelsSidebarHeader,
ChannelsSidebarCategory, and ChannelSidebarItem.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Replace the always-visible status/scope/tag pill rows with a single
Filters button popover and removable active filter chips to free
vertical space above the table.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Apply flex gap on SimpleBar’s content node so Name, Enabled, Scope,
and related fields are no longer flush against each other.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
cursoragent and others added 2 commits July 21, 2026 15:49
Replace labeled Undo/Redo tertiary buttons with compact IconButtons
and material-style glyphs, since compass-icons has no undo/redo pair.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Give the editor toolbar Test run action a leading play-outline icon
to match other icon-led toolbar controls.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Back and the automation title already provide navigation and context,
so drop the Automations / name crumb from the toolbar.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Place a star IconButton beside the automation title so users can
favorite or unfavorite without leaving the editor.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
cursoragent and others added 2 commits July 21, 2026 15:54
SimpleBar overrides content styles, so wrap inspector fields in a
panel stack with a reliable 24px gap instead of styling simplebar-content.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Use a vertical dots IconButton for the overflow menu so the toolbar
stays compact next to undo, redo, and Test run.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
cursoragent and others added 3 commits July 21, 2026 16:10
Remove overflow clipping on workflow nodes and style handles so source
and target connectors are visible outside the node edges.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Give Run history, Change history, and Delete leading icons so every
menu item matches the Favorite row treatment.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Drop “or tags” from the search field label so the control reads as
searching automations.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
cursoragent and others added 30 commits July 22, 2026 02:33
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Tighten section padding and use the shared radius token for hoverable rows.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Replace default React Flow SVG labels with HTML branch badges (green True,
danger False) and tokenized edge strokes on the canvas.

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Add helpText for triggers and missing actions, resolve descriptions from the palette catalog for fixture graphs, and render a clamped secondary line under each node label.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the stub Run as control with a wired Bot select and persist botId on automations and seed data.

Co-authored-by: Cursor <cursoragent@cursor.com>
Group automations by folder (Notifications, Onboarding, Team rituals, Moderation, General), render one table per folder, and allow moving automations via settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ader.

Co-authored-by: Cursor <cursoragent@cursor.com>
…map.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Teams are organized as Home folders; keep product nav for Home/Templates/Favorites without the team strip.

Co-authored-by: Cursor <cursoragent@cursor.com>
…itle.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire a Folders list page at /folders and keep product chrome on that route.

Co-authored-by: Cursor <cursoragent@cursor.com>
Share a RunsDashboard across home and run history, swap folder chevrons for open/closed icons (chevron on hover), and tighten home copy and tag styling.

Co-authored-by: Cursor <cursoragent@cursor.com>
Raise muted copy, headers, and labels to ≥0.72, and restyle disabled palette items with color instead of whole-control opacity so text stays legible.

Co-authored-by: Cursor <cursoragent@cursor.com>
…s chrome.

Co-authored-by: Cursor <cursoragent@cursor.com>
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