This repository was archived by the owner on Oct 17, 2026. It is now read-only.
Repository navigation
feat(panel): macOS 26 layout with a capsule field and sectioned results - #8
Merged
Merged
Conversation
The panel was one box with a flat list, which read as a generic launcher rather than part of macOS 26. The field is now a glass capsule and results sit on their own glass card below it, grouped the way Spotlight groups them, with quieter rows. Settings topics match by word start and keywords from the fourth letter, because once results were grouped the System Settings section was visibly full of noise for three-letter queries.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
The panel was one rounded box with a flat list and a kind label on every row. It worked, but it read as a generic launcher rather than part of macOS 26, whose search field is a glass capsule with results on their own surface, grouped by kind.
Approach
PanelContentlays out the field's capsule and, 8 pt below, the results card, each anNSGlassEffectView(popover material with a mask before macOS 26) clipped to its shape so the window shadow follows both outlines.Results.composenow returns[ResultSection]: a Website, Conversion, or Calculator section first, then Top Hit, then Applications / System Settings / Files / Common Command, each placed by its best member (apps and files are merged by score first), then Search the Web. The selection steps throughsections.rowsin display order.--snapshotrenders offscreen into an image with solid surfaces, so reviewing a design never shows a window or takes focus.Look at sceptically
NSGlassEffectViewsetup as before, now twice; the shadow-clipping trick is unchanged.Checklist
scripts/task checkpasses locally