specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
62 stars 36 forks source link

Typing the starting characters of an item in a selected list should jump you to it #1253

Open grantfitzsimmons opened 2 years ago

grantfitzsimmons commented 2 years ago

Is your feature request related to a problem? Please describe. When navigating a long list of table names or items it can be frustrating to find the one you're looking for. In Specify 6 typing the first few characters of an item in a list jumps you to it.

This is especially helpful when browsing an extremely long list of items (schema config, queries, record sets).

Describe the solution you'd like I would like to either search/filter by my input or begin typing characters of a given field and automatically select it.

This behavior could be similar to how a file browser handles finding a file when you select anything and begin typing characters.

In Specify 6 you can open the Schema Config and type the name of the table you wish to find and it will jump you there.

Describe alternatives you've considered Textbox that allows me to filter the contents of a dialog (display items that contain some part of my input)

grantfitzsimmons commented 2 years ago

Specify4GB_2zccgfPvlG

Difficult to demonstrate, but this is what happens when I type while in the Tables list.

maxpatiiuk commented 1 year ago

Replacing <ul> with <select> where possible would fix this - note this won't support displaying table icons.

If need to also display table icons, may have to integrate with something like https://headlessui.com/react/listbox

Otherwise, have to wait for <selectmenu> to be supported on the web - https://open-ui.org/prototypes/selectmenu/