Skip to content

feat: add native macOS zoom controls - #10

Open
melchoir55 wants to merge 1 commit into
rengwu:mainfrom
melchoir55:codex/macos-app-zoom
Open

feat: add native macOS zoom controls#10
melchoir55 wants to merge 1 commit into
rengwu:mainfrom
melchoir55:codex/macos-app-zoom

Conversation

@melchoir55

Copy link
Copy Markdown

Summary

  • Add Zoom In, Zoom Out, and Actual Size to the macOS View menu with standard keyboard shortcuts.
  • Scale and reflow the whole interface through WKWebView.pageZoom, with persistent 50%-300% bounds.
  • Keep the custom title bar, traffic-light clearance, and clickable hit regions aligned at every zoom level.
  • Leave browser and non-macOS shell behavior unchanged, and document the native integration.

Validation

  • 225 frontend tests passed.
  • Svelte check completed with no diagnostics.
  • Production frontend build passed.
  • go test ./...
  • CGO_ENABLED=1 go test -tags webview ./cmd/webview
  • go vet ./...
  • CGO_ENABLED=1 go vet -tags webview ./cmd/webview
  • Live macOS bundle verified at 50%, 100%, and 300%, including menu boundary states, title-bar control click-through, Actual Size, and relaunch persistence.
  • git diff --check

@rengwu rengwu self-assigned this Aug 21, 2026
@rengwu rengwu added the enhancement New feature or request label Aug 21, 2026
@rengwu

rengwu commented Aug 21, 2026

Copy link
Copy Markdown
Owner

thanks for the PR @melchoir55, this is a welcomed enhancement. will go through this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants