web: Add improved undo/redo to QueryInput
Created by: ghost
Issue: Undo is broken after selecting a suggestions
Changes:
- Improve undo/redo after suggestion selection by having a js managed queryState history.
- New class
UndoRedoHistory
provides generic undo/redo capabilities. - In search input (
QueryInput
): ctrl+z for undo, and ctrl+shift+z for redo