Automations: move from Settings to a sidebar workspace with a task dropdown
The Automations caret in the main sidebar lists the user's tasks (status dot, persisted expand state, live refresh via AUTOMATIONS_CHANGED) and deep-links /automations?task=<id>, which scrolls to the card and highlights it. The management surface (compiler, task list, run history) moves to the standalone /automations route; the settings tab is removed and legacy ?tab=automations deep links redirect. Assistant proposal creation notifies the sidebar too. README/RUNNING/help wording follows; browser regression covers the dropdown, deep link, redirect and mobile overflow.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { AutomationsClient } from './client'
|
||||
|
||||
// Sidebar deep-link: /automations?task=<id> scrolls to that automation.
|
||||
export default async function AutomationsPage({ searchParams }: { searchParams: Promise<{ task?: string }> }) {
|
||||
const { task } = await searchParams
|
||||
return <AutomationsClient initialTask={task ?? null} />
|
||||
}
|
||||
Reference in New Issue
Block a user