superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.57k stars 300 forks source link

[feature] Search within bookmarks (and possibly own likes/boosts) #2935

Open kvibber opened 1 month ago

kvibber commented 1 month ago

Is your feature request related to a problem ?

I've read #2002 and I know the initial search implementation was kept limited for privacy reasons as a way to just get something useful in. Since switching my primary Fediverse account from Mastodon to GoToSocial, I've discovered it's hard to go back to something I've already seen unless I save the URL in another application.

Describe the solution you'd like.

Mastodon has a search scope called in:library that will search within posts you've bookmarked, liked, or boosted (and I think maybe replied to?)

In all these cases, you're searching within posts you've already seen and interacted with in some way, so it's not discovery, so it's not going to surface new posts for potential abuse.

Bookmarks seem like they'd be the least controversial to expand search scope to, since that's essentially the whole point of a bookmark: to find your way back to something. I'm not sure about likes, and I'm even less sure about boosts.

Describe alternatives you've considered.

There isn't really a good alternative other than to save URLs in your browser bookmarks, or Pocket/Wallabag, or a text file.

Searching just bookmarks would still be useful, since you can bookmark just the posts you want to be able to find again without interfering in like or boost functionality.

Additional context.

Expanding the current scope to at least bookmarks seems like a safe and useful next step that could be taken before tackling the thorny question of global search.

tsmethurst commented 1 month ago

That seems reasonable indeed.

VyrCossont commented 1 month ago

Searching bookmarks would be great, and I also support searching likes, boosts, and posts I've replied to.