From 9ad9d2acd29fecbbdac491bd20ad3229e188adf3 Mon Sep 17 00:00:00 2001 From: JonKazama-Hellion Date: Sun, 3 May 2026 12:09:51 +0200 Subject: [PATCH] config: add PopOutInputEnabled and SeenPopOutInputHint, bump LatestVersion to 11 --- ChatTwo/Configuration.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ChatTwo/Configuration.cs b/ChatTwo/Configuration.cs index 2e06485..367b4fa 100755 --- a/ChatTwo/Configuration.cs +++ b/ChatTwo/Configuration.cs @@ -34,7 +34,7 @@ public class ConfigKeyBind [Serializable] public class Configuration : IPluginConfiguration { - private const int LatestVersion = 10; + private const int LatestVersion = 11; public int Version { get; set; } = LatestVersion; @@ -103,6 +103,11 @@ public class Configuration : IPluginConfiguration // want the auto tabs themselves without the extra UI affordance. public bool AutoTellTabsShowGreetedToggle; + // Hellion Chat — One-Time-Hint-Banner that introduces the v0.6.0 pop-out + // input feature. Set to true once the user dismisses the banner from a + // pop-out window; never reset after that. + public bool SeenPopOutInputHint; + public int GetRetentionDays(ChatType type) { if (RetentionPerChannelDays.TryGetValue(type, out var userOverride)) @@ -296,6 +301,8 @@ public class Configuration : IPluginConfiguration AutoTellTabsCompactDisplay = other.AutoTellTabsCompactDisplay; AutoTellTabsHistoryPreload = other.AutoTellTabsHistoryPreload; AutoTellTabsShowGreetedToggle = other.AutoTellTabsShowGreetedToggle; + + SeenPopOutInputHint = other.SeenPopOutInputHint; } } @@ -343,6 +350,10 @@ public class Tab public bool DisplayTimestamp = true; public InputChannel? Channel; public bool PopOut; + // Hellion Chat — v0.6.0 opt-in input bar inside the pop-out window for + // this tab. Independent text buffer and channel state per pop-out; + // history is shared with the main window via InputHistoryService. + public bool PopOutInputEnabled; public bool IndependentOpacity; public float Opacity = 100f; public bool InputDisabled; @@ -423,6 +434,7 @@ public class Tab DisplayTimestamp = DisplayTimestamp, Channel = Channel, PopOut = PopOut, + PopOutInputEnabled = PopOutInputEnabled, IndependentOpacity = IndependentOpacity, Opacity = Opacity, Identifier = Identifier,