- step_ref_picker_reset: fix assertion to check _text == "" (set_suggestions
with empty query calls hide(), not show "(no matches)")
- step_slash_overlay_all_commands: fix assertion to check overlay is hidden
(_visible=False, _text="") after reset — set_commands with empty query
calls hide(), it does not display all commands
- Add @when("I trigger on_input_changed with empty text") step so that the
empty-string scenario is matched — parse's {text} placeholder requires
one or more chars and would not match "" causing an "errored" scenario
- Feature: update scenario 4 (empty at-sign) to use step_ref_picker_reset
since "send @" yields empty query which hides the picker
- Feature: update scenario 5 to use the new empty-text step
ISSUES CLOSED: #4738
Add the missing on_input_changed event handler to the TUI app so that
both the slash command overlay and the reference picker overlay update
in real time as the user types, rather than only on submit.
- When the user types / the slash overlay filters commands by the query
after the slash character
- When the user types @ the reference picker updates with matching
suggestions based on the token after the last @ sign
- Otherwise both overlays are reset to their default (unfiltered) state
Also adds BDD scenarios and step definitions covering all branches of
the new handler.
ISSUES CLOSED: #4738