mbland / custom-links

An application for allowing authenticated users to create and dereference custom URLs hosted on a custom domain.
ISC License
7 stars 1 forks source link

Search #161

Closed unhuman closed 6 years ago

unhuman commented 6 years ago

It'd be great if we could search.

mbland commented 6 years ago

There's two types of search we need:

Also, introducing tags per #162 may introduce a third search, but that's lower priority.

Focusing on the search on short links, the RedisClient.getLinks() method added in #163 does most of the backend heavy lifting already. We can expand upon that method to take a regex as a parameter to replace the hardcoded /* string. Then we need to figure out how to expose an API endpoint and a UI element.

I hope to make progress on #167 in the near future to make working with this code easier.

cc: @akashvbabu @mpdatx

mbland commented 6 years ago

Chatted with @akashvbabu, here's our current plan:

We'll decide later whether we need any autocomplete capabilities.