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
+11 -1
View File
@@ -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': '二进制文件,无法显示差异',
'gitView.history.commitsPlaceholder': '提交数',
@@ -763,7 +766,7 @@ export const dict: Record<I18nKey, string> = {
'gitView.toast.mergedIntoBranch': '已将 {branch} 合并到 {currentBranch}',
'gitView.toast.pulledFilesPlural': '已从 {name} 拉取 {count} 个文件',
'gitView.toast.pulledFilesSingle': '已从 {name} 拉取 {count} 个文件',
'gitView.toast.pushedToUpstream': '已推送到上游',
'gitView.toast.pushedToUpstream': '已推送到 {name}',
'gitView.toast.commitOrStashBeforeSync': '同步前请先提交或储藏你的更改',
'gitView.toast.alreadyUpToDate': '已是最新状态',
'gitView.toast.syncedPulledPluralAndPushed': '已从 {name} 拉取 {count} 个文件并推送到上游',
@@ -1225,6 +1228,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': '关闭会话',
@@ -2051,6 +2056,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': '未知错误',