Add Windows Electron desktop support (#1093)

* fix: make upstream sync actions target the selected remote

Ensure fetch and pull actually honor upstream selection so fork maintenance works from the Git sidebar, and surface upstream branch status alongside the primary origin-tracking indicators.

* feat: add Windows Electron desktop foundation

* fix(electron): stabilize Windows desktop packaging

* fix(electron): stabilize Windows desktop chrome

Use native Windows titlebar behavior with an Alt-accessible hidden menu, and harden Windows dev command launching so the desktop app follows platform conventions.

* fix(electron): stabilize Windows dev startup

* fix(electron): clarify desktop artifact names

* fix(electron): harden Windows desktop release and launch

* fix(electron): address Windows release review

* fix(electron): point updater and release links to org repo

* Fix Windows settings persistence fallback

* Fix Windows Electron dev startup

* Add Windows Electron window controls

* Fix Windows Electron install and opencode launch

* fix: resolve git status for repositories without upstream

Fixes repository detection stuck on Checking repository
Handles git status when no upstream is configured
Adds regression coverage for git status loading

* Add Windows app menu button

* fix: preserve file editor line endings

* ci: add desktop release smoke workflow

---------

Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
Dave Otero
2026-05-26 18:13:59 +03:00
committed by GitHub
co-authored by Bohdan Triapitsyn
parent cc7969ac00
commit becd240168
59 changed files with 2260 additions and 246 deletions
@@ -506,6 +506,9 @@ export const dict: Record<I18nKey, string> = {
'gitView.header.noProfiles': '沒有可套用的設定。',
'gitView.header.removeRemoteAria': '移除遠端 {name}',
'gitView.header.removeRemoteTitle': '移除 {name}',
'gitView.header.upstreamSynced': '已同步',
'gitView.header.upstreamTooltip': '與 {target} 比較。',
'gitView.header.upstreamTooltipTracking': '與 {target} 比較。主要同步徽章仍反映 {tracking}。',
'gitView.history.binary': '二進位',
'gitView.history.binaryNoDiff': '二進位檔案 — 無可用 diff',
'gitView.history.commitsPlaceholder': '提交數',
@@ -1223,6 +1226,8 @@ export const dict: Record<I18nKey, string> = {
'helpDialog.proTips.themeCycling': '主題循環會記住你在各會話中的偏好',
'header.actions.rightSidebarWithShortcut': '右側邊欄({shortcut})',
'header.actions.toggleRightSidebarAria': '切換右側邊欄',
'header.actions.openAppMenu': 'OpenChamber 選單',
'header.actions.openAppMenuAria': '開啟 OpenChamber 選單',
'header.actions.openSessionsWithShortcut': '開啟會話({shortcut})',
'header.actions.openSessionsAria': '開啟會話',
'header.actions.closeSessionsAria': '關閉會話',
@@ -2049,6 +2054,11 @@ export const dict: Record<I18nKey, string> = {
'header.actions.newMiniChatAria': '開啟新的 Mini Chat 視窗',
'header.actions.openSessionMiniChat': '在 Mini Chat 中開啟會話',
'header.actions.openSessionMiniChatAria': '在 Mini Chat 中開啟目前會話',
'header.windowControls.groupAria': '視窗控制項',
'header.windowControls.minimize': '最小化視窗',
'header.windowControls.maximize': '最大化視窗',
'header.windowControls.restore': '還原視窗',
'header.windowControls.close': '關閉視窗',
'errorBoundary.title': '發生錯誤',
'errorBoundary.description': '應用程式遇到意外錯誤,已記錄用於偵錯。',
'errorBoundary.state.unknownError': '未知錯誤',