Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Show dropdown of popular tags after typing # #230

Open
jaysonvirissimo opened this issue Jan 9, 2023 · 4 comments
Open

Show dropdown of popular tags after typing # #230

jaysonvirissimo opened this issue Jan 9, 2023 · 4 comments

Comments

@jaysonvirissimo
Copy link
Contributor

jaysonvirissimo commented Jan 9, 2023

Typing # in the prediction description or in a response message treats the following word as a tag, but the user is on their own when deciding which to use. Instead, we could show a dropdown upon typing #, from which they can choose an existing tag or continue to type the tag name they want if they don't see what they are looking for.

This dropdown could be drawn from:

  1. The globally most used tags (that match the already typed characters, such as state and stats if they have typed #sta)
  2. The tags they have most used themselves
  3. Some combination of (1) and (2)
@Raemon
Copy link

Raemon commented Jan 14, 2023

I think "tags they have most used themselves" is probably most useful. I'm confident that using my own tags is useful, it's more speculative that other peoples' will be.

But, if it turns out to be easy, maybe prioritize my tags, and then show the top globally used tags that match whatever characters I've entered after the # symbol. (I had a guess that the UI would work fastest/most-seamlessly if it just used the tags associated with my user, which are probably a quite small number, rather to use tags associated with my user than a global search. But that's just a guess. I think having it work quickly and responsively is more important that global tag search)

@Raemon
Copy link

Raemon commented Jan 14, 2023

I guess as-written it doesn't currently specify: it'd also be nice if after typing #, the next letters I type get entered into a search process.

@jaysonvirissimo
Copy link
Contributor Author

Twitter does something sorta like this:
Screenshot 2023-01-14 at 10 09 25 PM
It looks like they match based on site wide popularity, but cap the number in the dropdown to 8 maximum.

@Raemon
Copy link

Raemon commented Jan 15, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants