Big Sur optimizations #719
Merged
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.
Adopts new APIs for the visual design where they make sense for macOS 11. It looks pretty spiffy.
This is the additional optimization mentioned in #715. It is separate from other open PRs and can be reviewed separately, although it will experience a trivial merge conflict if #714 is merged first.
The big change here is reworking the main toolbar to have a fixed layout. The map/commit/stashes control switches to show the up/down/close controls in a Quick View (rather than switching sides of the window), and the snapshots button and search bar disable instead of being hidden. For code complexity’s sake, this applies on 10.15 and below as well. The two-line window title remains as-is on 10.15 and below. This is definitely open to discussion, but it’s been working well for me in a week of daily use.
Additionally:
Aside: Titlebar Texture
When the content of a window scrolls and has no accessories, the titlebar background will disappear like navigation bars do on iOS. You can see this when the Finder is in View > As Icons; it’s a really nice effect. The map view is eligible for this by default, but other modes are not. Due to #94 creating the possibility for a weird appearance, this PR explicitly deactivates that so the titlebar background is the same in all modes. It’s not clear it would look good if #94 was fixed, anyway.
Screenshots
macOS 11
macOS 10.15
macOS 10.14
macOS 10.13
macOS 10.12
macOS 10.11
macOS 10.10
I agree to the contributor agreement.