From 51aff5413a060ce000917c01e83ca3cee1399148 Mon Sep 17 00:00:00 2001 From: DevMando Date: Fri, 17 Jul 2026 00:42:01 -0700 Subject: [PATCH] Add emoji input (picker + :shortcode: autocomplete) and message reactions Input side: an emoji flyout button next to Send inserts at the caret, and Slack-style :shortcode: typing pops the existing suggestion list (exact :name: auto-replaces inline). Transcript side: hovering an agent response reveals a ghosted add-reaction button that opens a floating picker card; chosen emojis render as pills under the message and ride along with the user's next message as a clearly-framed feedback preamble, so the model sees how the user reacted without any harness or protocol changes. Transcript scrollbars are now theme-colored as well. --- .../Controls/ChatTabView.xaml | 31 +++- .../Controls/ChatTabView.xaml.cs | 118 +++++++++++- src/MandoCode.Desktop/MainWindow.xaml.cs | 4 + .../Services/TranscriptHtmlBuilder.cs | 172 ++++++++++++++++++ .../ViewModels/ChatController.cs | 32 ++++ 5 files changed, 354 insertions(+), 3 deletions(-) diff --git a/src/MandoCode.Desktop/Controls/ChatTabView.xaml b/src/MandoCode.Desktop/Controls/ChatTabView.xaml index d628172..d3f6cfc 100644 --- a/src/MandoCode.Desktop/Controls/ChatTabView.xaml +++ b/src/MandoCode.Desktop/Controls/ChatTabView.xaml @@ -261,9 +261,10 @@ + - @@ -287,7 +288,33 @@ AcceptsReturn="True" TextWrapping="Wrap" MaxHeight="140" PreviewKeyDown="InputBox_PreviewKeyDown" TextChanged="InputBox_TextChanged"/> - + +