powa-team / powa-web

PoWA user interface
http://powa.readthedocs.io/
73 stars 31 forks source link

login serverlist with <datalist>...</datalist> #159

Closed simonuwe closed 1 year ago

simonuwe commented 1 year ago

The server dropdown on login page is sorted by the whole text. In a huge postgres environment it is usefull to search for server and clusters (and project). To have this info available for each entry you have to concat it like "project1, cluster1, server1", "project1, cluster2, server2", "project2, cluster3, server3" ...

The serverlist is sorted by the text of the entries, so it is not easy to find entries by a text which is in the middle of the entries.

All common browsers suport the tag "datalist". Together with "input" this provides an autocomplete, so you can start typing a word and the option list will contain only the entries mathci with the typed word.

Using this approach the login on huge environments is much more easy.

rjuju commented 1 year ago

Thanks a lot!