Skip to content

fix(terminal): fit Quick Terminal settings to content - #356

Merged
wzz6423 merged 1 commit into
mainfrom
fix/quick-terminal-settings-spacing
Dec 5, 2026
Merged

wzz6423 merged 1 commit into
mainfrom
fix/quick-terminal-settings-spacing

Conversation

@wzz6423

@wzz6423 wzz6423 commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Summary

Quick Terminal settings kept a fixed 230-point height after laying out a shorter form, leaving a large empty area below the opacity slider. Size the AppKit root view from its existing Auto Layout fitting size so the popover follows its localized controls and retains the existing insets.

@coderabbitai summary

GitHub Project

  • Project: zshell Development
  • Start date: 2026-12-05
  • Target date: 2026-12-05

PR Type

  • Type: fix

Validation

  • Status: passed

  • Command: make run

  • Result: The arm64 Debug app built and launched successfully. A disposable extension of the existing Quick Terminal integration fixture opened the production settings popover twice in each of the 17 supported languages on both Ghostty and Alacritty. Every popover matched its fitting height, retained exactly the 12-point bottom inset, kept both sliders, and updated the opacity readout. Simplified Chinese shrank from 230 to 149 points; the pre-fix harness reproduced the excess height. Fixtures ran with isolated settings and offscreen windows, and were removed after validation.

  • Status: passed

  • Command: codesign --verify --deep --strict --verbose=2 'mac/build/debug/Build/Products/Debug/zshell Debug.app'

  • Result: The Debug bundle was valid on disk and satisfied its designated requirement.

  • Status: passed

  • Command: make format and git diff --check

  • Result: Formatting completed and the final diff contains only the intended popover sizing change.

Risk and Rollback

  • Risk: Limited to the initial size of the Quick Terminal settings popover. Existing constraints determine the localized form size; terminal behavior and settings values are unchanged. Onscreen screenshot acceptance was interrupted by focus changes; production layout and slider behavior were verified in the isolated AppKit fixture.
  • Rollback: Revert this pull request.

Related Issue

None

AI Attribution

Remove the fixed popover height so the localized controls determine its size and leave only the intended content insets.

Co-authored-by: Codex <noreply@openai.com>
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@wzz6423
wzz6423 marked this pull request as ready for review December 5, 2026 04:52
@wzz6423
wzz6423 merged commit e3f9ec1 into main Dec 5, 2026
26 checks passed
@wzz6423
wzz6423 deleted the fix/quick-terminal-settings-spacing branch December 5, 2026 04:55
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.

1 participant