dejavu icon indicating copy to clipboard operation
dejavu copied to clipboard

Note/hint for entering index name to connect

Open cweiske opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

When starting dejavu for the first time and it's not clear what we need to do. When we enter the URL http://myserver:9200 nothing happens. It took several confused minutes to realise that, until an appname is entered, the connect button is disabled. It's obvious once you've done it but one idea might be to leave the button enabled (and put it on the left) and post a warning when it is clicked (or Enter is pressed) about missing connection information.

Alternatively, after the URL is entered/changed you could actually load the list of indices as a dropdown box.

This was already described in https://github.com/appbaseio/dejavu/issues/270, which has been closed without the issue being resolved.

Describe the solution you'd like dejavu should list all indices available when only the URL is entered.

Describe alternatives you've considered The "connect" button should not be greyed out and a warning/error message should be shown when clicking "connect" without an index.

cweiske avatar Jun 19 '24 13:06 cweiske

This would be good to have.

siddharthlatest avatar Sep 29 '24 09:09 siddharthlatest

I think second approach is good for now. We could consider to populate the list of indices also but at least when the button is enabled, user now knows he needs to put in the index name as well.

@siddharthlatest Let me know if you think this is good to go: https://github.com/appbaseio/dejavu/pull/497

quangdutran avatar Apr 10 '25 06:04 quangdutran