diff --git a/locales/en-US.yml b/locales/en-US.yml index fc1a8646c..de2861fc7 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1505,6 +1505,8 @@ _filters: fromUser: "From user" replyTo: "Replying to" mentioning: "Mentioning" + inFavorites: "Favorited" + inBookmarks: "Bookmarked" withFile: "Has attachment" fromDomain: "Specific instance only" notesBefore: "Posts before" diff --git a/packages/client/src/components/MkSearch.vue b/packages/client/src/components/MkSearch.vue index 85448ff46..96ade498a 100644 --- a/packages/client/src/components/MkSearch.vue +++ b/packages/client/src/components/MkSearch.vue @@ -88,6 +88,21 @@ async function openSearchFilters(ev) { }, }, null, + { + icon: "ph-star ph-bold ph-lg", + text: i18n.ts._filters.inFavorites, + action: () => { + appendSearchFilter("in:favorites"); + }, + }, + { + icon: "ph-bookmark-simple ph-bold ph-lg", + text: i18n.ts._filters.inBookmarks, + action: () => { + appendSearchFilter("in:bookmarks"); + }, + }, + null, { type: "parent", text: i18n.ts._filters.withFile,