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:
Andrew S Erwin
2026-11-23 14:19:37 -06:00
parent 6e8525014d
commit 53127cc8fa
10 changed files with 153 additions and 30 deletions
+6
View File
@@ -0,0 +1,6 @@
// The automations workspace announces mutations so the sidebar's Automations
// dropdown stays live without a refetch on every navigation (the pages
// pattern: PAGES_CHANGED / notifyPagesChanged).
export const AUTOMATIONS_CHANGED = 'superbrain:automations-changed'
export const notifyAutomationsChanged = () => window.dispatchEvent(new Event(AUTOMATIONS_CHANGED))