feat: autohide improvements
- Adds new setting "Enable inactivity hide during battle" (default: true) which determines whether autohide should apply during battle (thanks @aurieh) - Adds new setting "Chat channels considered for activity" which allows customizing which channels incoming messages must match to "bump" the inactivity timer - Adds new per-tab setting "Unhide the chat window on activity" to configure whether it will be considered for "bumping" the inactivity timer when receiving messages that match the new channel filter. Note that the foreground tab is currently always considered. - Extends autohide code to apply to poped-out tabs as well. Each popout window has its own inactivity timer, but focusing the main window will restore all popped out windows. Co-authored-by: Auri <me@aurieh.me>
This commit is contained in:
@@ -220,6 +220,9 @@
|
||||
<data name="Options_Tabs_UnreadMode">
|
||||
<value>Unread mode</value>
|
||||
</data>
|
||||
<data name="Options_Tabs_InactivityBehaviour">
|
||||
<value>Unhide the chat window on activity</value>
|
||||
</data>
|
||||
<data name="Options_Tabs_NoInputChannel">
|
||||
<value><None></value>
|
||||
</data>
|
||||
@@ -410,7 +413,7 @@
|
||||
<value>Hide when inactive</value>
|
||||
</data>
|
||||
<data name="Options_HideWhenInactive_Description">
|
||||
<value>Hide the chat after a configurable period of inactivity. The current tab and any tabs with unread indicators enabled are considered for activity.</value>
|
||||
<value>Hide the chat after a configurable period of inactivity. The current tab and any other tabs with the setting enabled are considered for activity.</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideTimeout_Name">
|
||||
<value>Inactivity timeout</value>
|
||||
@@ -418,6 +421,27 @@
|
||||
<data name="Options_InactivityHideTimeout_Description">
|
||||
<value>How long to wait (in seconds) before considering the chat log inactive.</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideActiveDuringBattle_Name" xml:space="preserve">
|
||||
<value>Enable inactivity hide during battle</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideActiveDuringBattle_Description" xml:space="preserve">
|
||||
<value>When disabled, the chat log will stay active during battle.</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideChannels_Name">
|
||||
<value>Chat channels considered for activity</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideChannels_Description">
|
||||
<value>Which chat channels should be considered for activity. Other channels will not restore the chat regardless of which tab they occur in.</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideChannels_All_Label">
|
||||
<value>Select All</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideChannels_None_Label">
|
||||
<value>Unselect All</value>
|
||||
</data>
|
||||
<data name="Options_InactivityHideChannels_Button_Tooltip">
|
||||
<value>Hold Ctrl+Shift to click.</value>
|
||||
</data>
|
||||
<data name="Options_KeybindMode_Name">
|
||||
<value>Keybind mode</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user