Skip to content

feat(desktop): add keyboard shortcuts for text size#3576

Merged
esengine merged 1 commit into
esengine:main-v2from
jiaxindeyang-a11y:codex/text-size-shortcuts
Jun 8, 2026
Merged

feat(desktop): add keyboard shortcuts for text size#3576
esengine merged 1 commit into
esengine:main-v2from
jiaxindeyang-a11y:codex/text-size-shortcuts

Conversation

@jiaxindeyang-a11y

Copy link
Copy Markdown
Contributor

What

Add desktop keyboard shortcuts for changing text size:

  • Ctrl/Cmd + Plus: increase text size
  • Ctrl/Cmd + Minus: decrease text size
  • Ctrl/Cmd + 0: reset text size

Why

Fixes #3562. The desktop app already has text-size presets in Settings -> Appearance, but users did not have a quick keyboard shortcut to adjust them.

Testing

  • npm.cmd run test:all
  • npx.cmd tsc --noEmit -p tsconfig.test.json

Note: full frontend typecheck requires generated Wails bindings (desktop/frontend/wailsjs). On this machine, go and wails are not installed, so I could not run the CI-equivalent wails generate module step locally.

@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) and removed v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 8, 2026
@jiaxindeyang-a11y jiaxindeyang-a11y marked this pull request as ready for review June 8, 2026 11:11

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified typecheck + the text-size unit test (8/8). Ctrl/Cmd +/-/0 with clamped steps — nicely scoped and tested.

@esengine esengine merged commit f6e6673 into esengine:main-v2 Jun 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: 功能:希望支持Ctrl + 、Ctrl - 缩放窗口,缩放字号,增加字号设置,感觉太小了

3 participants