eikek / eikek/docspell

Docspell UI sorts strictly on filtered drop-down boxes, but filters on any character. A smarter sort would be nice.

Open
#1,399 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
2.3k
Forks
184
Avg merge
8h 2m
Merged PRs (30d)
4

Description

Hi!

With a long list of tags for example, a search in a drop-down box helps to find a tag. Unfortunately, the filtered list is strictly sorted, but typically a user enters the first letters of a tag.

Example:

A search for the tag "Letter" with the character "l" shows in the list all words containing a "l" and the tag with the name "Letter" far away on bottom.

A**l**win
Be**l**la
Ca**l**la
**L**etter
**L**ydia

It would be useful to make the filtered list smarter: First sort all tags to the beginning that start with the search letters, then all tags that contain the search input. In my humble opinion, this helps for a better user experience:

**L**etter
**L**ydia
A**l**win
Be**l**la
Ca**l**la

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.