You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement: Add per-tab unsaved indicator to automation settings #2573
Agent settings show an amber dot on tabs with unsaved changes, but automation settings show no equivalent indicator when the user has edited content.
Current behaviour
Agent settings (has indicator):
TabNavigation renders a per-tab dirty dot: size-1.5 rounded-full bg-amber-500 before the label (tab-navigation.tsx, lines ~355–359)
AgentNavigation maps config keys to tabs and passes dirtyKeys from changedKeys() (agent-navigation.tsx, AGENT_TAB_DIRTY_KEYS)
Dot appears when controller.dirtyKeys ∩ tab.dirtyKeys is non-empty
Automation settings (no indicator):
Uses @tale/ui/tabs with URL ?tab= state — no dirty-key wiring (automation-page.tsx, lines ~652–664)
Inline agent edits in dialogs track local isDirty but do not surface on the tab strip
No amber dot on any automation tab when edits are pending
Related: #2572 (unsaved-changes handling when switching tabs).
Proposed change
Add the same per-tab amber unsaved indicator to automation settings tabs, wired to the automation editor's dirty state. Reuse the agent pattern (changedKeys → tab mapping → dot in tab strip) or extend @tale/ui/tabs / platform tab navigation to support dirty keys consistently.
Acceptance criteria
Automation settings tabs show an amber dot when that tab has unsaved changes.
Dot clears after save or discard on the affected tab.
Activity