Skip to content

Redesign automation task execution - #41

Merged
WangWilly merged 16 commits into
mainfrom
codex/automation-parallel-task-ui
Jul 20, 2026
Merged

Redesign automation task execution#41
WangWilly merged 16 commits into
mainfrom
codex/automation-parallel-task-ui

Conversation

@WangWilly

Copy link
Copy Markdown
Owner

Summary

  • redesign the Automation page around parallel task execution and workflow stages
  • add status-aware task icons that jump to inline logs, including failed and human-assisted tasks
  • keep task sections collapsible, add staged sync actions, and improve the assistance modal flow
  • add model support for parallel-runnable task IDs and localized UI copy

Why

The previous dashboard made it hard to quickly launch independent tasks together and inspect active or failed work. The new flow emphasizes parallel execution while keeping dependencies and human-assisted steps clear.

Fix details

Icon-to-log navigation previously scrolled to the inline-log row, which could hide the selected task behind the persistent top bar. The task row is now the scroll anchor with the existing top-bar offset, while focus remains on the inline log.

Validation

  • node --no-warnings --experimental-strip-types --test src/lib/automation/AutomationDashboard.check.ts
  • node --no-warnings --experimental-strip-types --test src/lib/automation/server/page-model.check.ts
  • npm run typecheck
  • npm run build
  • Electron CDP interaction verification for task icon navigation and inline logs

Prototype and QA artifacts are intentionally excluded from this PR.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR redesigns the Automation dashboard to better support parallel task execution, staged workflow sections, and inline log navigation, while extending the desktop automation API/model to support batch starts and improved logging behavior.

Changes:

  • Redesign AutomationDashboard UI into staged, collapsible sections with an inline log panel and active-task jump icons (plus refreshed credentials/history modals).
  • Add batch execution support (runMany) and server-side helpers for concurrency limiting and batched log flushing.
  • Extend the automation page model with parallelRunnableTaskIds and add new localized UI copy for the redesigned flows.

Reviewed changes

Copilot reviewed 26 out of 28 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
src/lib/i18n/i18n.ts Adds new Automation/credential/history strings for the redesigned UI.
src/lib/desktop/api.ts Extends the desktop API type + channel list with automation:runMany.
src/lib/desktop/api.check.ts Updates channel assertions to include automation:runMany.
src/lib/automation/types.ts Extends AutomationPageModel with parallelRunnableTaskIds.
src/lib/automation/server/runner.ts Adds concurrency + output buffering utilities and batch task start support.
src/lib/automation/server/runner.check.ts Adds tests for CDP patch prep, output batching, concurrency limits, queued cancel.
src/lib/automation/server/page-model.ts Refactors model building and introduces parallelRunnableTaskIds.
src/lib/automation/server/page-model.check.ts Adds assertions for parallelRunnableTaskIds and waiting-for-human action changes.
src/lib/automation/server/desktop-api.ts Adds automationRunMany and task-start assertions for multiple tasks.
src/lib/automation/server/desktop-api.check.ts Adds coverage for multi-task start assertions.
src/lib/automation/AutomationDashboard.svelte Major UI redesign: stage disclosures, inline logs, batch sync sheet, new modals/filters.
src/lib/automation/AutomationDashboard.check.ts Adds source-level regression checks for the redesigned dashboard UI/behavior.
scripts/spending-chart-alternatives.check.mjs Updates expected rendered months/buckets assertions.
package.json Adds @lucide/svelte for the new icon-based UI elements.
package-lock.json Locks @lucide/svelte dependency.
electron/preload.ts Exposes runMany via preload bridge.
electron/preload.check.ts Checks the new IPC channel is present.
electron/main.ts Prepares the Libretto CDP patch at startup.
electron/ipc.ts Registers the automation:runMany IPC handler.
docs/superpowers/specs/2026-07-19-automation-log-redesign-options-design.md Adds design spec for log redesign options.
docs/superpowers/specs/2026-07-19-automation-disclosure-motion-design.md Adds design spec for disclosure animations.
docs/superpowers/specs/2026-07-19-automation-active-task-jump-design.md Adds design spec for active-task jump behavior.
docs/superpowers/specs/2026-07-18-automation-logging-variants-design.md Adds design spec for logging variants prototype.
docs/superpowers/plans/2026-07-19-automation-log-redesign-options.md Adds implementation plan for log redesign options.
docs/superpowers/plans/2026-07-19-automation-disclosure-motion.md Adds implementation plan for disclosure motion.
docs/superpowers/plans/2026-07-19-automation-active-task-jump.md Adds implementation plan for active-task jump prototype.
docs/superpowers/plans/2026-07-18-automation-logging-variants.md Adds implementation plan for logging variants prototype.
.gitignore Ignores local prototype/QA artifacts directories and design QA file.

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

Comment thread src/lib/automation/server/page-model.ts
Comment thread src/lib/automation/server/page-model.ts
Comment thread src/lib/automation/AutomationDashboard.svelte
Comment thread src/lib/automation/AutomationDashboard.svelte
Comment thread src/lib/automation/AutomationDashboard.svelte Outdated
Comment thread src/lib/automation/AutomationDashboard.svelte
Comment thread src/lib/automation/server/runner.ts
Comment thread src/lib/automation/server/runner.ts
Comment thread electron/main.ts

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread src/lib/automation/AutomationDashboard.svelte
Comment thread docs/superpowers/specs/2026-07-19-automation-active-task-jump-design.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 27 out of 29 changed files in this pull request and generated 4 comments.

Comment thread src/lib/i18n/i18n.ts
Comment thread src/lib/i18n/i18n.ts

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread src/lib/automation/AutomationDashboard.svelte Outdated
Comment thread src/lib/i18n/i18n.ts Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 28 out of 30 changed files in this pull request and generated 4 comments.

Comment thread scripts/spending-chart-alternatives.check.mjs
Comment thread scripts/spending-chart-alternatives.check.mjs
Comment thread scripts/spending-chart-alternatives.check.mjs
Comment thread scripts/spending-chart-alternatives.check.mjs

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread src/lib/automation/server/page-model.ts
Comment thread src/lib/automation/AutomationDashboard.svelte

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 28 out of 30 changed files in this pull request and generated no new comments.

@WangWilly
WangWilly marked this pull request as ready for review July 20, 2026 02:38
@WangWilly
WangWilly merged commit 8292d42 into main Jul 20, 2026
2 checks passed
@WangWilly
WangWilly deleted the codex/automation-parallel-task-ui branch July 20, 2026 02:38
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