Move Apply & Restart into Settings footer with confirm

Replace the top-right pending CTA with a primary footer action that
replaces Reload OpenCode when changes are pending, and warn that running
chats will stop unless the user opts out of the confirmation.

Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-03 07:25:10 +00:00
co-authored by Serhii Dziupin
parent 190fbeedb4
commit 096f2fa52c
14 changed files with 249 additions and 135 deletions
@@ -48,6 +48,10 @@ export const settingsDict = {
'settings.view.pendingRestart.applyFailed': 'Failed to apply configuration changes.',
'settings.view.pendingRestart.manualRestartRequired': 'Saved on disk. Restart your connected OpenCode server to apply the changes.',
'settings.view.pendingRestart.saved': 'Saved. Restart OpenCode to apply.',
'settings.view.pendingRestart.confirm.title': 'Apply & restart OpenCode?',
'settings.view.pendingRestart.confirm.description': 'Restarting OpenCode will stop any running chats. Your saved configuration changes will take effect after the restart.',
'settings.view.pendingRestart.confirm.dontShowAgain': 'Don\'t show this again',
'settings.view.pendingRestart.confirm.cancel': 'Cancel',
'settings.view.actions.backToSettings': 'Back to Settings',
'settings.view.actions.closeSettings': 'Close settings',
'settings.view.actions.openSectionList': 'Open section list',