From 3a840a1399246046e006c254baba9d9e0f4a92fd Mon Sep 17 00:00:00 2001 From: DevMando Date: Tue, 21 Jul 2026 00:35:44 -0700 Subject: [PATCH] Add file explorer panel with prompt tagging and transcript readability polish - Docked, resizable file explorer per chat tab (lazy-loaded tree, double-click opens files) - Tag files/folders into the prompt as @references: per-row @ button, drag & drop from the tree or Windows Explorer, and a drop-to-tag overlay over the transcript - Transcript: long pasted prompts clamp to ~8 lines with Show more/less; copy buttons and expand/collapse now also work in exported transcript HTML files --- .../Controls/ChatTabView.xaml | 141 ++++++- .../Controls/ChatTabView.xaml.cs | 350 ++++++++++++++++++ src/MandoCode.Desktop/Controls/ResizeGrip.cs | 21 +- .../Services/TranscriptHtmlBuilder.cs | 113 +++++- 4 files changed, 596 insertions(+), 29 deletions(-) diff --git a/src/MandoCode.Desktop/Controls/ChatTabView.xaml b/src/MandoCode.Desktop/Controls/ChatTabView.xaml index d3f6cfc..1a4ec11 100644 --- a/src/MandoCode.Desktop/Controls/ChatTabView.xaml +++ b/src/MandoCode.Desktop/Controls/ChatTabView.xaml @@ -3,9 +3,12 @@ x:Class="MandoCode.Desktop.ChatTabView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:local="using:MandoCode.Desktop"> + xmlns:local="using:MandoCode.Desktop" + xmlns:muxc="using:Microsoft.UI.Xaml.Controls" + xmlns:controls="using:MandoCode.Desktop.Controls"> - + @@ -109,10 +112,116 @@ ToolTipService.ToolTip="Change this tab's project folder"> + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -231,6 +340,31 @@ + + + + + + + + + + +