mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +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"
|
fromUser: "From user"
|
||||||
replyTo: "Replying to"
|
replyTo: "Replying to"
|
||||||
mentioning: "Mentioning"
|
mentioning: "Mentioning"
|
||||||
|
inFavorites: "Favorited"
|
||||||
|
inBookmarks: "Bookmarked"
|
||||||
withFile: "Has attachment"
|
withFile: "Has attachment"
|
||||||
fromDomain: "Specific instance only"
|
fromDomain: "Specific instance only"
|
||||||
notesBefore: "Posts before"
|
notesBefore: "Posts before"
|
||||||
|
@ -88,6 +88,21 @@ async function openSearchFilters(ev) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
null,
|
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",
|
type: "parent",
|
||||||
text: i18n.ts._filters.withFile,
|
text: i18n.ts._filters.withFile,
|
||||||
|
Loading…
Reference in New Issue
Block a user