csharp4405de34 | 1 | namespace CascadeIDE.Services.Intercom; |
| 2 | |
| 3 | /// <summary>Drag-and-drop affordances for Intercom attach (ADR 0128 H0/H0b); wire unchanged.</summary> |
| 4 | public static class IntercomAttachDragFormats |
| 5 | { |
| 6 | public const string DataFormat = "application/x-cascade-intercom-attach"; |
| 7 | |
| 8 | /// <summary>Fallback via <see cref="Avalonia.Input.DataFormats.Text"/> for cross-control DnD.</summary> |
| 9 | public const string TextPrefix = "cascade-intercom-attach:"; |
| 10 | |
| 11 | public const string KindSelection = "selection"; |
| 12 | public const string KindScope = "scope"; |
| 13 | public const string KindProblem = "problem"; |
| 14 | |
| 15 | public static string EncodeTextPayload(string inner) => TextPrefix + inner; |
| 16 | } |
| 17 | |
View only · write via MCP/CIDE