fix(popouts): restore a way to close a pop-out

Last commit hid the header row when the title bar was on, to stop the tab name
appearing twice. The close button was in that row, and the title bar carries
none of its own -- ShowCloseButton is off because closing has to go through the
pool to release the slot. So a pop-out with its title bar on could not be closed
at all.

Pop-in moves into the input row, alongside the settings and hide buttons that
are already there. It is red, contrast-checked against the button plate it sits
on, and carries a tooltip, since a bare X next to an emoji picker does not say
where the tab is going.

Wired by setter after construction rather than through the constructor: the
window is what the button has to call, and it does not exist yet while its own
input row is being built. Routing it through the graph would close a
factory-callsite cycle MS.DI cannot detect.

The header row is now just the tab name, drawn only when there is no title bar
to carry it.

InputBar_PopIn_Tooltip ships in all 25 languages, including the Designer entry.
New strings get translated with the change from here on, not batched.
This commit is contained in:
2026-08-18 19:21:24 +02:00
parent 051fd64857
commit d1e12ce866
28 changed files with 541 additions and 475 deletions
+19 -17
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version='1.0' encoding='utf-8'?>
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
@@ -457,7 +457,7 @@
<value>Traductores de la comunidad de Chat 2 (upstream)</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Runtime strings) -->
<data name="AutoTellTabs_SectionHeader" xml:space="preserve">
<value>Tells activos</value>
</data>
@@ -504,7 +504,7 @@
<value>Fijada: sobrevive al relog.</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Chat settings tab) -->
<data name="ChatLog_AutoTellTabs_Section_Title" xml:space="preserve">
<value>Auto-Tell-Tabs</value>
</data>
@@ -545,7 +545,7 @@
<value>Nota: Si XIV Messenger u otro plugin similar suprime los tells, desactiva la opción "Suppress DMs" allí para que Hellion Chat pueda recibir tells y abrir las pestañas automáticas.</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Privacy settings tab) -->
<data name="Privacy_AutoTellTabs_Section_Title" xml:space="preserve">
<value>Historial de tells en pestañas automáticas</value>
</data>
@@ -559,7 +559,7 @@
<value>Solo tiene efecto cuando las pestañas de tell automáticas están activadas en la pestaña Chat.</value>
</data>
<!-- Hellion Chat — Settings UX Polish v10 Wipe migration -->
<data name="SettingsRefactor_Migration_Title" xml:space="preserve">
<value>Ajustes reestructurados</value>
</data>
@@ -567,7 +567,7 @@
<value>Hellion Chat 0.5.0 ha reestructurado los ajustes en pestañas temáticas. Tu base de datos de chat y tu historial de mensajes no han cambiado. Los ajustes se han restablecido a los valores predeterminados. Si quieres volver a seleccionar tu perfil de privacidad, el botón Reabrir está en la pestaña Privacidad. Una copia de seguridad de la configuración anterior se encuentra en HellionChat.json.pre-v10-backup junto al archivo de configuración activo.</value>
</data>
<!-- Hellion Chat — Settings UX Polish 8-tab structure -->
<data name="Settings_Tab_General" xml:space="preserve">
<value>General</value>
</data>
@@ -590,9 +590,9 @@
<value>Acerca de</value>
</data>
<!-- Hellion Chat — General tab section headings -->
<!-- Hellion Chat — Appearance tab section headings -->
<data name="Settings_Appearance_Theme_Heading" xml:space="preserve">
<value>Theme</value>
</data>
@@ -606,14 +606,14 @@
<value>Marcas de tiempo</value>
</data>
<!-- Hellion Chat — Window tab section headings -->
<data name="Settings_Window_Frame_Heading" xml:space="preserve">
<value>Marco de ventana</value>
</data>
<!-- Hellion Chat — Chat tab section headings -->
<!-- Hellion Chat — Chat tab SymbolPicker -->
<data name="Settings_Chat_SymbolPicker_Enable_Name" xml:space="preserve">
<value>Mostrar botón de selector de símbolos junto a la entrada del chat</value>
</data>
@@ -621,7 +621,7 @@
<value>Añade un pequeño botón a la izquierda del indicador de canal que abre un desplegable con iconos de FFXIV y una lista de símbolos curada. Desactívalo si prefieres una barra de entrada más sencilla.</value>
</data>
<!-- Hellion Chat — Database tab section headings -->
<data name="Settings_Database_Storage_Heading" xml:space="preserve">
<value>Almacenamiento</value>
</data>
@@ -632,9 +632,9 @@
<value>Mantenimiento</value>
</data>
<!-- Hellion Chat — Information tab section headings -->
<!-- Hellion Chat — Default tab presets (channel-specific) -->
<data name="Tabs_Presets_System" xml:space="preserve">
<value>Sistema</value>
</data>
@@ -654,7 +654,7 @@
<value>Si usas varios linkshells, el mantenedor recomienda una pestaña por linkshell para una vista más clara. Duplica la pestaña y restringe la selección de canales en cada copia.</value>
</data>
<!-- Hellion Chat — v1.2.0 per-tab icon override -->
<data name="Tabs_Icon_Label" xml:space="preserve">
<value>Icono de pestaña</value>
</data>
@@ -956,7 +956,7 @@
<comment>AI-assisted machine translation. Pending native-speaker review.</comment>
</data>
<!-- Hellion Chat — Settings Overhaul section titles (v1.5.6) -->
<data name="Settings_Section_Input" xml:space="preserve">
<value>Entrada</value>
</data>
@@ -1155,4 +1155,6 @@
<data name="InputBar_HideChat_Tooltip" xml:space="preserve">
<value>Ocultar el chat (Intro para recuperarlo)</value>
</data>
</root>
<data name="InputBar_PopIn_Tooltip" xml:space="preserve"><value>Devolver esta pestaña a la ventana principal</value>
</data>
</root>