mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
[client] Add in:favorites and in:bookmarks to FTS filter menu
This commit is contained in:
parent
ee4b58dee8
commit
dcee692caf
2 changed files with 17 additions and 0 deletions
|
@ -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 a new issue