From d2cef996fdb2c852e49125e8fe15df131fbd336b Mon Sep 17 00:00:00 2001 From: Rosie Val Date: Sat, 8 Aug 2026 21:36:14 -0400 Subject: [PATCH] Add release channel picker to browse filter sheet --- .../BrowseFilterAndSortActionSheet.tsx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx b/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx index 7ceed9f..208f9c6 100644 --- a/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx +++ b/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx @@ -32,6 +32,11 @@ export interface BrowseFilterAndSortActionSheetProps { /** Checked repository URLs. */ checked: string[] setChecked: (urls: string[]) => void + /** Available release channels across all listings. */ + channels: string[] + /** Selected release channel. Empty string means default. */ + channel: string + setChannel: (channel: string) => void sort: BrowseSortKey setSort: (sort: BrowseSortKey) => void reverse: boolean @@ -42,6 +47,9 @@ export default function BrowseFilterAndSortActionSheet({ repos, checked, setChecked, + channels, + channel, + setChannel, sort, setSort, reverse, @@ -76,6 +84,19 @@ export default function BrowseFilterAndSortActionSheet({ ) })} + setChannel(v as string)} + > + + {channels.map(c => ( + + ))} +