bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
7.02k stars 921 forks source link

Feature request: Allow weblink to a search to specify sort method (latest/people) #4073

Open mcclure opened 1 month ago

mcclure commented 1 month ago

Describe the bug / To Reproduce

Say I have made a number of posts with a word or phrase, and I want to link someone to my posts matching the phrase:

https://bsky.app/search?q=from%3A%40dryad.technology+%22listening+to%22

But maybe I made a lot of posts recently. Links to web links always sort by "Top". So if I want to link someone to the "Latest" tab for that search, so they'll see the newest post(s) first, I'm out of luck. Similarly, there's no way at all to link to a People search:

https://bsky.app/search?q=dril

That searches for posts matching "dril". If I want people matching "dril" can click that link and then click "people" but I can't link directly to "people".

Expected behavior

I'd like it if there were some kind of special URL that would specify . It could either be like https://bsky.app/search?q=dril&type=people, or if you put it in the # it could be handled by JavaScript (like, https://bsky.app/search?q=dril#!type=people). Whichever you go with, I think you should use window.history.pushState or window.history.replaceState and make it so when you click the Latest or People links, the address bar changes its current URL to match the . This would make the feature more "discoverable".

Details

PSingletary commented 3 weeks ago

This request would pair well with search enhancements