config: add v10 to v11 migration with diagnostic log

This commit is contained in:
2026-05-03 12:10:11 +02:00
parent 9ad9d2acd2
commit 497c259031
+16
View File
@@ -152,6 +152,22 @@ public sealed class Plugin : IDalamudPlugin
});
}
// Hellion Chat v10 → v11 — adds Tab.PopOutInputEnabled and
// Configuration.SeenPopOutInputHint for the v0.6.0 pop-out input
// feature. Lightweight migration: defaults the new fields, no
// user-facing notification because the change is opt-in only.
if (Config.Version < 11)
{
foreach (var tab in Config.Tabs)
tab.PopOutInputEnabled = false;
Config.SeenPopOutInputHint = false;
Config.Version = 11;
SaveConfig();
Log.Information(
"Migrated config v10 → v11: PopOutInputEnabled added per tab (default off), " +
"SeenPopOutInputHint added (default false)");
}
// Hellion default tab layout for first-run and v10-wipe.
// General catches player chat plus active gameplay events; the
// System tab takes the technical noise so it does not bury real