openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
218 stars 239 forks source link

[habot] suggestion: implement "command line recall" on the web chat interface #244

Open jimtng opened 4 years ago

jimtng commented 4 years ago

In the habot web interface, one can type a text command to be sent to habot. It would be extremely nice if we can use up/down arrow similar to the history recall feature in most modern command line shells. At the very least, like Skype's up arrow to recall the last command, but if it can recall the last 10 or so commands it would be nicer.

A more ambitious goal would be to implement item name / location name completion but that might be too much. It depends on how much people are using it.

ghys commented 4 years ago

That was actually partly implemented in a PR over at the old repo: https://github.com/openhab/org.openhab.ui.habot/pull/34 but it was never completed ;) (it lacked a limitation on the history size)

ghys commented 4 years ago

Side note: the main OH 3 UI will also feature a textbox for HABot queries on the home page, if the addon is detected (see https://github.com/openhab/openhab-webui/issues/155), and a query history feature will likely be there.