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>Chat 2 community-vertalers (upstream)</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Runtime strings) -->
<data name="AutoTellTabs_SectionHeader" xml:space="preserve">
<value>Actieve tells</value>
</data>
@@ -504,7 +504,7 @@
<value>Vastgepind: overleeft 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>Let op: Als XIV Messenger of een vergelijkbare plugin tells onderdrukt, schakel dan de optie "Suppress DMs" daar uit zodat Hellion Chat tells kan ontvangen en de auto-tabbladen kan openen.</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Privacy settings tab) -->
<data name="Privacy_AutoTellTabs_Section_Title" xml:space="preserve">
<value>Tell-geschiedenis in auto-tabbladen</value>
</data>
@@ -559,7 +559,7 @@
<value>Werkt alleen als auto-tell-tabbladen zijn ingeschakeld in het Chat-tabblad.</value>
</data>
<!-- Hellion Chat — Settings UX Polish v10 Wipe migration -->
<data name="SettingsRefactor_Migration_Title" xml:space="preserve">
<value>Instellingen geherstructureerd</value>
</data>
@@ -567,7 +567,7 @@
<value>Hellion Chat 0.5.0 heeft de instellingen geherstructureerd in thematische tabbladen. Je chatdatabase en berichtengeschiedenis blijven ongewijzigd. Instellingen zijn teruggezet naar de standaardwaarden. Als je je privacyprofiel opnieuw wilt kiezen, staat de knop Wizard opnieuw tonen in het tabblad Privacy. Een back-up van de vorige configuratie staat bij HellionChat.json.pre-v10-backup naast het actieve configuratiebestand.</value>
</data>
<!-- Hellion Chat — Settings UX Polish 8-tab structure -->
<data name="Settings_Tab_General" xml:space="preserve">
<value>Algemeen</value>
</data>
@@ -590,9 +590,9 @@
<value>Over</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>Tijdstempels</value>
</data>
<!-- Hellion Chat — Window tab section headings -->
<data name="Settings_Window_Frame_Heading" xml:space="preserve">
<value>Vensterkader</value>
</data>
<!-- Hellion Chat — Chat tab section headings -->
<!-- Hellion Chat — Chat tab SymbolPicker -->
<data name="Settings_Chat_SymbolPicker_Enable_Name" xml:space="preserve">
<value>Symboolkiezer naast de chatinvoer tonen</value>
</data>
@@ -621,7 +621,7 @@
<value>Voegt een kleine knop links van de kanaalkiezer toe die een popup opent met FFXIV-pictogrammen en een samengestelde symbolenlijst. Schakel uit als je een slankere invoerbalk verkiest.</value>
</data>
<!-- Hellion Chat — Database tab section headings -->
<data name="Settings_Database_Storage_Heading" xml:space="preserve">
<value>Opslag</value>
</data>
@@ -632,9 +632,9 @@
<value>Onderhoud</value>
</data>
<!-- Hellion Chat — Information tab section headings -->
<!-- Hellion Chat — Default tab presets (channel-specific) -->
<data name="Tabs_Presets_System" xml:space="preserve">
<value>Systeem</value>
</data>
@@ -654,7 +654,7 @@
<value>Als je meerdere linkshells gebruikt, raadt de maintainer aan om één tabblad per shell te gebruiken voor een overzichtelijker geheel. Dupliceer het tabblad en beperk de kanaalselectie in elke kopie.</value>
</data>
<!-- Hellion Chat — v1.2.0 per-tab icon override -->
<data name="Tabs_Icon_Label" xml:space="preserve">
<value>Tabblad-pictogram</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>Invoer</value>
</data>
@@ -1155,4 +1155,6 @@
<data name="InputBar_HideChat_Tooltip" xml:space="preserve">
<value>Chat verbergen (Enter haalt hem terug)</value>
</data>
</root>
<data name="InputBar_PopIn_Tooltip" xml:space="preserve"><value>Dit tabblad terugzetten in het hoofdvenster</value>
</data>
</root>