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:n yhteisökääntäjät (upstream)</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Runtime strings) -->
<data name="AutoTellTabs_SectionHeader" xml:space="preserve">
<value>Aktiiviset tellit</value>
</data>
@@ -504,7 +504,7 @@
<value>Kiinnitetty: selviää relogista.</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>Huomio: Jos XIV Messenger tai vastaava lisäosa estää tellit, poista siellä käytöstä "Suppress DMs" -asetus, jotta Hellion Chat voi vastaanottaa tellejä ja avata auto-välilehdet.</value>
</data>
<!-- Hellion Chat — Auto-Tell-Tabs (Privacy settings tab) -->
<data name="Privacy_AutoTellTabs_Section_Title" xml:space="preserve">
<value>Tell-historia auto-välilehdissä</value>
</data>
@@ -559,7 +559,7 @@
<value>Tulee voimaan vain, kun auto-tell-välilehdet ovat käytössä Chat-välilehdellä.</value>
</data>
<!-- Hellion Chat — Settings UX Polish v10 Wipe migration -->
<data name="SettingsRefactor_Migration_Title" xml:space="preserve">
<value>Asetukset uudelleenjärjestetty</value>
</data>
@@ -567,7 +567,7 @@
<value>Hellion Chat 0.5.0 on uudelleenjärjestänyt asetukset temaattisiin välilehtiin. Chat-tietokantasi ja viestihistoriasi pysyvät muuttumattomina. Asetukset on nollattu oletuksiin. Jos haluat valita tietosuojaprofiilin uudelleen, Avaa uudelleen -painike on Tietosuoja-välilehdellä. Varmuuskopio aiemmasta asetustiedostosta löytyy nimellä HellionChat.json.pre-v10-backup aktiivisen asetustiedoston vierestä.</value>
</data>
<!-- Hellion Chat — Settings UX Polish 8-tab structure -->
<data name="Settings_Tab_General" xml:space="preserve">
<value>Yleiset</value>
</data>
@@ -590,9 +590,9 @@
<value>Tietoja</value>
</data>
<!-- Hellion Chat — General tab section headings -->
<!-- Hellion Chat — Appearance tab section headings -->
<data name="Settings_Appearance_Theme_Heading" xml:space="preserve">
<value>Teema</value>
</data>
@@ -606,14 +606,14 @@
<value>Aikaleimat</value>
</data>
<!-- Hellion Chat — Window tab section headings -->
<data name="Settings_Window_Frame_Heading" xml:space="preserve">
<value>Ikkunakehys</value>
</data>
<!-- Hellion Chat — Chat tab section headings -->
<!-- Hellion Chat — Chat tab SymbolPicker -->
<data name="Settings_Chat_SymbolPicker_Enable_Name" xml:space="preserve">
<value>Näytä symbolinvalitsinpainike chat-syötteen vieressä</value>
</data>
@@ -621,7 +621,7 @@
<value>Lisää pienen painikkeen kanavan ilmaisimen vasemmalle puolelle, joka avaa ponnahdusikkunan FFXIV-kuvakkeilla ja kuratoitulla symbolilistalla. Poista käytöstä, jos haluat siistimmän syöterivin.</value>
</data>
<!-- Hellion Chat — Database tab section headings -->
<data name="Settings_Database_Storage_Heading" xml:space="preserve">
<value>Tallennus</value>
</data>
@@ -632,9 +632,9 @@
<value>Ylläpito</value>
</data>
<!-- Hellion Chat — Information tab section headings -->
<!-- Hellion Chat — Default tab presets (channel-specific) -->
<data name="Tabs_Presets_System" xml:space="preserve">
<value>Järjestelmä</value>
</data>
@@ -654,7 +654,7 @@
<value>Jos käytät useita linkshell-ryhmiä, ylläpitäjä suosittelee yhtä välilehteä kullekin, jotta yleiskatsaus pysyy selkeänä. Kopioi välilehti ja rajaa kanavan valinta kussakin kopiossa.</value>
</data>
<!-- Hellion Chat — v1.2.0 per-tab icon override -->
<data name="Tabs_Icon_Label" xml:space="preserve">
<value>Välilehden kuvake</value>
</data>
@@ -955,7 +955,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>Syöte</value>
</data>
@@ -1154,4 +1154,6 @@
<data name="InputBar_HideChat_Tooltip" xml:space="preserve">
<value>Piilota chat (Enter palauttaa sen)</value>
</data>
</root>
<data name="InputBar_PopIn_Tooltip" xml:space="preserve"><value>Palauta tämä välilehti pääikkunaan</value>
</data>
</root>