mirror of
https://github.com/yattee/yattee.git
synced 2026-07-20 14:22:02 +00:00
Relocate the funnel filter button and the content-type picker (All/Videos/Playlists/Channels) from the inline results strip into the window toolbar on macOS. The inline strip remains iOS-only. Like on iOS, the controls appear only after a search is submitted (gated on hasSearched). To keep the toolbar stable: - Items stay in the toolbar permanently but are invisible and inert before a search, so the search field keeps a constant size; their liquid-glass backgrounds are suppressed with sharedBackgroundVisibility(.hidden) (macOS 26, with a conditional fallback on macOS 15). - A flexible ToolbarSpacer pins the view-options button and search field to the trailing edge so they no longer shift when items appear. The filters type onChange handler moved from the strip to the shared iOS/macOS branch so both the strip and the toolbar picker reuse it.