Skip to content

feat(zoom): add zoom control commands to command menu#3135

Merged
charlesvien merged 2 commits into
mainfrom
posthog-code/add-zoom-controls-to-search-command-bar
Jul 6, 2026
Merged

feat(zoom): add zoom control commands to command menu#3135
charlesvien merged 2 commits into
mainfrom
posthog-code/add-zoom-controls-to-search-command-bar

Conversation

@MattPua

@MattPua MattPua commented Jul 3, 2026

Copy link
Copy Markdown
Member

Problem

Zoom in/out/reset only existed in the native View menu, not in the command palette.

Changes

CleanShot 2026-07-03 at 16 00 18@2x
  • New "View" section in the command palette with Zoom In (⌘+), Zoom Out (⌘-), Reset Zoom (⌘0)
  • Reuses the existing applyZoom from menu.ts, exposed via IMainWindow + os tRPC router

How did you test this?

Typecheck and lint on all touched packages.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

@trunk-io

trunk-io Bot commented Jul 3, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit b28a862.

@MattPua MattPua marked this pull request as ready for review July 3, 2026 20:02
@MattPua MattPua requested a review from a team July 3, 2026 20:02
@greptile-apps

greptile-apps Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "feat(zoom): add zoom control commands to..." | Re-trigger Greptile

Comment thread packages/ui/src/features/command/CommandMenu.tsx Outdated
Comment thread packages/ui/src/features/command/keyboard-shortcuts.ts
MattPua added 2 commits July 6, 2026 14:49
Rename shadowed view variable to viewCommands and list zoom
shortcuts in the keyboard shortcuts sheet.

Generated-By: PostHog Code
Task-Id: 4f8606e0-f8d6-43e2-86ff-eef4c210e006
@charlesvien charlesvien force-pushed the posthog-code/add-zoom-controls-to-search-command-bar branch from d7fce24 to b28a862 Compare July 6, 2026 21:53
@charlesvien charlesvien enabled auto-merge (squash) July 6, 2026 21:54
@charlesvien charlesvien merged commit 9f76c9b into main Jul 6, 2026
24 checks passed
@charlesvien charlesvien deleted the posthog-code/add-zoom-controls-to-search-command-bar branch July 6, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants