csharpdeeb25a2 | 1 | namespace CascadeIDE.Features.Chat; |
| 2 | |
| 3 | /// <summary>UI-строки product spine (presentation), без Skia.</summary> |
| 4 | public static class ChatProductSpinePresentation |
| 5 | { |
| 6 | public const string DefaultLineTitle = "Продуктовая линия"; |
| 7 | |
| 8 | public static string ResolveLineTitle(ChatProductSpine spine) => |
| 9 | string.IsNullOrWhiteSpace(spine.LineTitle) ? DefaultLineTitle : spine.LineTitle.Trim(); |
| 10 | |
| 11 | public static string FormatAgentContextFooter(bool includeInAgentContext) => |
| 12 | includeInAgentContext ? "в контексте агента" : "не в контексте агента"; |
| 13 | |
| 14 | public static string FormatDetailStripFocus(string? currentFocus) => |
| 15 | string.IsNullOrWhiteSpace(currentFocus) ? "См. overview (atb)" : currentFocus.Trim(); |
| 16 | } |
| 17 | |
View only · write via MCP/CIDE