Skip to content

Commit 7f20dae

Browse files
committed
refactor(toolbar): rebuild quick switcher panel to the measured Spotlight spec
1 parent 1871f30 commit 7f20dae

4 files changed

Lines changed: 285 additions & 169 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919

2020
- Switcher, menus, and alerts now use each database's own container name: Dataset for BigQuery, Keyspace for Cassandra and ScyllaDB. (#509)
2121
- Quick Switcher highlights the matched characters in each result, finds better alignments for camelCase and snake_case names, and ranks items you open often and recently higher.
22-
- Quick Switcher now opens as a floating panel over the window instead of a modal sheet, with shortcut hints in the footer. On macOS 26 the panel uses Liquid Glass.
22+
- Quick Switcher now opens as a Spotlight-style floating panel over the window instead of a modal sheet: large borderless search field, scope chips, and rounded row selection. On macOS 26 the panel uses Liquid Glass.
2323
- The sidebar filter, database switcher, and connection switcher now use the same fuzzy matching as the Quick Switcher, so abbreviations like `upv` find `user_profile_view`.
2424

2525
### Fixed

TablePro/Views/QuickSwitcher/QuickSwitcherPanel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ internal final class QuickSwitcherPanelController: NSObject, NSWindowDelegate {
4242
let top: CGFloat
4343
}
4444

45-
private static let topOffsetRatio: CGFloat = 0.18
45+
private static let topOffsetRatio: CGFloat = 0.20
4646

4747
private var panel: QuickSwitcherPanel?
4848
private var anchor: Anchor?

0 commit comments

Comments
 (0)