CulturePlex / Sylva

A Relaxed Schema Graph Database Management System
sylvadb.com
Other
53 stars 9 forks source link

Combo box instead of simple seach field #24

Closed brady77 closed 9 years ago

brady77 commented 9 years ago

Hi,

while editing data (Graph name -> Data -> Data type name - > Edit), the only option how to fill in the related node is by searching. It is sometimes easier to choose from a list than to recall the lellers from a word (or from a phrase). Is it possible to change the search-only field to a combo-box - a combination of a list with search field?

2015-02-26_145326

Thanks.

versae commented 9 years ago

If you are using your own instance of SylvaDB, yes, it is possible. Just set ENABLE_AUTOCOMPLETE_NODES to False in your (settings file)[https://github.com/CulturePlex/Sylva/blob/develop/sylva/sylva/settings.py#L315]

For the online version sylvadb.com, we cannot know in advance what the user preference would be. But we would think on adding that as a user preference rather than a system preference.

brady77 commented 9 years ago

I just tested the SylvaDB setting and I got the drop-down list. Great.

Nevertheless, what about the combobox? Having both the drop-down list and the seach field at the same time is even better. :) Would you consider to add it to your list of improvements? For sure not a must-have feature...

Thanks.

versae commented 9 years ago

Sure, although this has low priority ;)

versae commented 9 years ago

There is now (7602db1) a ENABLE_AUTOCOMPLETE_NODES_COMBO settings that can be set to True when ENABLE_AUTOCOMPLETE_NODES is False, and that will add the combo box behaviour.