bfritscher / typesense-dashboard

A Typesense Dashboard to manage and browse collections.
https://bfritscher.github.io/typesense-dashboard/
GNU General Public License v3.0
325 stars 63 forks source link

Sort feature #4

Closed shidcordero closed 2 years ago

shidcordero commented 2 years ago

Will there be a sort feature for this?

bfritscher commented 2 years ago

Hi, the dashboard is mainly an ui for admin part. Browsing is done via the typesense-instantsearch-adapter if it is compatible with sorting feature of instantsearch.js. Sorting is mostly done in the frontend client you will program to connect to typesense and not necessarily in the admin tool. What might be in the futur is a custom query interface.

What is your use case for needing sorting in the admin dashboard UI?

JZubero commented 2 years ago

@bfritscher Since sorting by string fields landed in the latest version of typesense (0.23.1) this could be worth a review? In the schema overview, the new sort flag (on per-field basis) is not getting displayed and it's also not available as sort option.

bfritscher commented 2 years ago

@JZubero Thanks for the suggestion I added the missing option.

JZubero commented 2 years ago

@bfritscher Wow, that was fast. Appreciated :+1: Confirming that it's working well in v1.2.1.