hermes-agent/apps/desktop/electron
Brooklyn Nicholson 57dfebe3db fix(desktop): re-apply UI zoom on show/restore, scoped to chat windows
Windows drops webContents zoom on minimize/restore, so the UI snapped back
to 100% while Settings still read 125%. Zoom was only reasserted on the main
window's did-finish-load, never on show/restore and never for session windows.

Reassert the persisted level on show/restore + first load, wired once in
wireCommonWindowHandlers so the main window and secondary session windows
share it. The pet overlay opts out (zoom:false): it sizes its own OS window
to fit the sprite in unzoomed CSS px and has its own Alt+wheel scale, so
inheriting the global zoom would render the mascot larger than its window and
crop it (and it shares the renderer origin's zoom localStorage key).

Salvages #61245; keeps its pure-helper tests and adds a scope assertion.

Co-authored-by: HexLab98 <liruixinch@outlook.com>
2026-07-10 02:13:10 -05:00
..
backend-command.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
backend-command.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
backend-env.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
backend-env.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
backend-probes.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
backend-probes.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
backend-ready.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
backend-ready.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
bootstrap-platform.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
bootstrap-platform.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
bootstrap-runner.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
bootstrap-runner.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
connection-config.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
connection-config.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
dashboard-token.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
dashboard-token.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
desktop-uninstall.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
desktop-uninstall.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
embed-referer.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
entitlements.mac.inherit.plist fix(desktop): inherit microphone entitlement for macOS helpers 2026-06-03 07:32:00 +07:00
entitlements.mac.plist Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
fs-read-dir.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
fs-read-dir.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
gateway-ws-probe.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
gateway-ws-probe.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
git-repo-scan.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
git-review-ops.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
git-review-ops.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
git-root.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
git-root.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
git-worktree-ops.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
git-worktree-ops.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
hardening.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
hardening.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
link-title-window.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
link-title-window.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
main.ts fix(desktop): re-apply UI zoom on show/restore, scoped to chat windows 2026-07-10 02:13:10 -05:00
oauth-net-request.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
oauth-net-request.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
oauth-session-request.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
preload.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
profile-delete-respawn.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
session-windows.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
session-windows.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
titlebar-overlay-width.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
titlebar-overlay-width.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-count.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
update-count.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-marker.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-marker.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-rebuild.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
update-rebuild.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
update-relaunch.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-relaunch.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-remote.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
update-remote.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
vscode-marketplace.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
vscode-marketplace.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
window-state.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
window-state.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
windows-child-process.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
windows-hermes-resolution.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
windows-user-env.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
windows-user-env.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
workspace-cwd.test.ts feat(desktop): ts-ify everything 2026-07-08 16:24:16 -07:00
workspace-cwd.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
wsl-clipboard-image.test.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
wsl-clipboard-image.ts cleanup(desktop): npm run fix for fmtting 2026-07-08 16:24:16 -07:00
zoom.test.ts fix(desktop): re-apply UI zoom on show/restore, scoped to chat windows 2026-07-10 02:13:10 -05:00
zoom.ts fix(desktop): re-apply UI zoom on show/restore, scoped to chat windows 2026-07-10 02:13:10 -05:00