Repository navigation
fix(terminal): fit Quick Terminal settings to content - #356
Merged
Merged
Conversation
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>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
PR Type
Validation
Status: passed
Command:
make runResult: 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 formatandgit diff --checkResult: Formatting completed and the final diff contains only the intended popover sizing change.
Risk and Rollback
Related Issue
None
AI Attribution