social-app icon indicating copy to clipboard operation
social-app copied to clipboard

Ability to search posts via profile dropdown

Open oracularhades opened this issue 8 months ago • 2 comments

Description: I've been using search tags to get posts from users, usually finding posts from 6 months ago that are going around in my head. I've found some usernames are long and annoying to type, or I can just never remember them (I cannot for the life of me remember Paul's "pfrazee.com" username [paul ur awesome, I'm just bad at some names]). Usernames have no autocomplete in the search-bar when using search tags. This makes it nice and easy.

You'll notice I've made another "<Menu.Group>", this is because otherwise users can't see the button when viewing their own account, or it's above the divider when logged in (if using the menu.group share is in). It's not visible when logged out because menu.group #2 and #3 are both under an "isSession" condition. I could have added it separately, but it would have made the code slightly harder to read, when there really isn't a use case for showing the button when logged out.

Limitations:

  • "Search posts" is not translated.
  • I have not tested this on mobile.
Screenshot 2024-06-05 at 3 46 07 PM

https://github.com/bluesky-social/social-app/assets/91714073/08ae003a-5780-4a15-aac3-8b1e5b080194

🦋

Thanks, Josh

oracularhades avatar Jun 05 '24 03:06 oracularhades