mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
[client] Add in:favorites and in:bookmarks to FTS filter menu
This commit is contained in:
parent
ee4b58dee8
commit
dcee692caf
@ -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"
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user