Adapt Duo Chat Slash commands for multi-threaded
This is a draft MR to update the slash command management in duo-chat multi-threaded
- it will display /new in the slash command picker
- it will create a new thread on /new /reset /help
this will resolve: #470818 (closed) & #523267 (closed) & #517290 (closed)
How to reproduce:
- Set up DuoChat locally
- rails c -> Feature.disable(:duo_chat_multi_thread)
- make sure
/clear
&/reset
are shown in the slash command picker and working as expected - rails c -> Feature.enable(:duo_chat_multi_thread)
- make sure
/new
is shown in the slash command picker and working as expected, make sure when entered/clear
or/reset
a new thread is triggered.
Demo |
---|
2025-03-10_14-41-55 |
Edited by Jannik Lehmann