Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ”from:username” search operator #849

Closed
alimony opened this issue Jun 3, 2023 · 22 comments
Closed

Add support for ”from:username” search operator #849

alimony opened this issue Jun 3, 2023 · 22 comments
Labels
feature-request A request for a new feature x:on-the-roadmap We're planning to do this but it may be a bit

Comments

@alimony
Copy link
Contributor

alimony commented Jun 3, 2023

It would be nice if I could search only for posts from a specific user, most often myself. A simple interface for this would be the search operator ”from:” which is familiar from several other platforms.

@alimony alimony added the feature-request A request for a new feature label Jun 3, 2023
@pfrazee pfrazee added the x:discussing We've seen the request and we're talking about it! label Jun 6, 2023
@HeyItsLollie
Copy link

I often do this on other platforms when I'm trying to find one of my own posts to re-share or reply to, it's extremely useful.

If "from:" is implemented as a search operator, I'd also like to request "self:" as additional shorthand for "from:your.username"

@ansh ansh added x:on-the-roadmap We're planning to do this but it may be a bit and removed x:discussing We've seen the request and we're talking about it! labels Sep 11, 2023
@potatoqualitee
Copy link

Looking forward to this one! Thank you

@OmarShehata
Copy link

Tried this today and was surprised that it isn't supported yet! Would like to add that it is critical for me when finding both my own posts to link back to as well as others' posts from a few days ago I want to respond to

@tkasci
Copy link

tkasci commented Oct 31, 2023

I agree, it would be very useful.

@mschwendener
Copy link

@brendanjones
Copy link

If "from:" is implemented as a search operator, I'd also like to request "self:" as additional shorthand for "from:your.username"

from:me is even simpler, and arguably more intuitive. Would definitely want this, I use it all the time on Mastodon.

@mary-ext
Copy link
Contributor

mary-ext commented Jan 12, 2024

isn't this implemented now? aside from from:me that is, you should be able to do from:bsky.app etc

from:me has to be implemented on the client side specifically I believe? unless the AppView can forward additional details to Palomar search service I suppose, but I'll give it a shot here anyway since it's relatively easy to implement

@mary-ext
Copy link
Contributor

Done, from:me search syntax should be resolved with that pull request.

@mschwendener
Copy link

mschwendener commented Jan 12, 2024

you should be able to do from:bsky.app etc

Interesting.

I can search within the account bsky.app, for example
from:bsky.app rolling
and get a list of posts
(This does not change the URL)

But when I want to search in my own posts or some random other example, I get no hits, although I know the posts are there.

from:manuschwendener.bluesky.social paris
should find
https://bsky.app/profile/manuschwendener.bsky.social/post/3ki6b7lpriw2a

from:geeka.bsky.social protip
should find
https://bsky.app/profile/geeka.bsky.social/post/3ke3tn4l6tt2p

@mschwendener
Copy link

Oh, wait: it works if I use the search field in the right column, but not in the left column?

screenshot_4716

@mary-ext
Copy link
Contributor

you sure? because it's returning both of them

@mary-ext
Copy link
Contributor

Both search bars does the same thing

@mschwendener
Copy link

Yeah, it's strange. I now get the hits for both examples, from both search places.

But it really didn't work just a few seconds ago. I can still reproduce it when I search via the search field in the middle column, which gets visible after a search.

screenshot_4717 screenshot_4718

@mschwendener
Copy link

mschwendener commented Jan 12, 2024

Ah, never mind: they show up after I press enter.

@mary-ext
Copy link
Contributor

mary-ext commented Jan 12, 2024

oh, I get what's happening now, so when you start typing, it gets you a list of autocompleted profiles. you're not actually searching until you hit Enter, that's when you see a tab bar of profiles and posts

yeah the UI can be a bit confusing

the issue you mentioned seems different though, that's an issue about differences between the profile autocompletion and profile search

@mschwendener
Copy link

different

You are right. I'll remove the link to 1853.

@mschwendener
Copy link

Could
No results found for from:geeka.bsky.social protip

be changed to
No users found for from:geeka.bsky.social protip, press enter to search for posts

?

@mary-ext
Copy link
Contributor

^ I think the above pull request should make it clearer that you need to press Enter to get to the search view

@putsan
Copy link

putsan commented Feb 1, 2024

In general core team priorities

What we have now is very minimal, and will probably stay that way until we deliver on our core priorities like composable moderation, federation, and improved auth (eg, OAuth, 2FA).

source

@putsan
Copy link

putsan commented Feb 1, 2024

Could No results found for from:geeka.bsky.social protip

Now it working GREAT!!! Thanks!)

image

image

@mschwendener
Copy link

I think this can be closed?

@gaearon
Copy link
Collaborator

gaearon commented Apr 4, 2024

yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature x:on-the-roadmap We're planning to do this but it may be a bit
Projects
None yet
Development

No branches or pull requests