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

Unify search #2208

Open
Tracked by #2205
jb55 opened this issue May 6, 2024 · 3 comments
Open
Tracked by #2205

Unify search #2208

jb55 opened this issue May 6, 2024 · 3 comments
Labels
design Design exploration & definition is required search

Comments

@jb55
Copy link
Collaborator

jb55 commented May 6, 2024

This is more of a design question: but does it make sense to keep global and remote search separate?

Right now we have a search box on the universe view, but it does not search the universe. It could! would could use nip50 here.

For the home timeline, search could mean only search for content from friends (suggested by @danieldaquino )

Alternatively, we could unify search into a single search box. This simplified things by having a single location for search. I like the idea of the pull-down search as seen in imessage, mail, telegram, etc.

The benefit of a unified search is that it removes lots of confusion. There is always one place to look for:

  • People/pubkeys
  • Local content
  • Remote content

For remote content, we wouldn't want to always trigger a remote search for privacy reasons, but perhaps it could be a simple "click to initiate search on relays".

I'm leaning towards removing the search box from universe and having it more like telegram:

search query
@jb55 jb55 mentioned this issue May 6, 2024
8 tasks
@jb55
Copy link
Collaborator Author

jb55 commented May 6, 2024

Open to more design ideas.

@karnagebitcoin @robagreda

@jb55 jb55 added the search label May 6, 2024
@alltheseas alltheseas added the design Design exploration & definition is required label May 6, 2024
@karnagebitcoin
Copy link

This is pretty much how I have it mocked up in Nostr Design (but as wireframe)

https://nostrdesign.org/docs/reference-designs/search/

@karnagebitcoin
Copy link

Could also combine all of them into one feed (limiting how many results you show), with "show more" buttons.

The benefit might be less clicking needed. You'd see some of the most relevant results right away from various categories of results, with ability to click through for more.

But I also like tabs... hard to decide.

CleanShot 2024-05-07 at 15 35 30@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design exploration & definition is required search
Projects
Status: Backlog
Development

No branches or pull requests

3 participants