850 B
850 B
| @aoagents/ao-web |
|---|
| patch |
fix(web): show Restore button for every exited session, including pr_merged
The Restore button was hidden for sessions exited with pr_merged reason (legacy
status cleanup) on the dashboard kanban and absent altogether from the
session-detail "Terminal ended" panel. The core isRestorable() helper already
allowed restoring these sessions; the dashboard helpers were out of sync. Fixes
#1907.
isDashboardSessionRestorablenow gates onNON_RESTORABLE_STATUSESonly,
matching core'sisRestorable. Merged-but-running sessions remain
non-restorable (lifecycle isn't terminal).DoneCardno longer hides Restore for merged sessions.SessionEndedSummaryexposes a prominentRestore sessionbutton next to
Open PR/Back to dashboard, so users don't have to find the small
header icon.