From 39fb185ecf422c04b1978aa867c67674943dd095 Mon Sep 17 00:00:00 2001 From: SirStendec Date: Fri, 9 Aug 2019 14:24:26 -0400 Subject: [PATCH] 4.8.2 Fixed: The Add Action menu for Chat Actions being too tall to fit within the FFZ Control Center at some resolutions. Fixed: Styling for various hover-able UI elements. Fixed: User Context Chat Actions set to show/hide based upon a message's deleted state not properly doing so. Fixed: The FFZ emote menu appearing too tall at times. Fixed: Remove debug logging. Changed: The `Delete All` button in the Chat Actions editors will now not immediately clear all actions, but rather show another button asking the user to confirm. Changed: Add a page rule for dashboard pop-out chat so that profiles can be made for it. Changed: Update `CHAT_TYPES` from Twitch. --- package.json | 2 +- src/modules/chat/actions/index.jsx | 9 ++--- .../main_menu/components/addon-list.vue | 9 +++-- src/modules/main_menu/components/addon.vue | 10 +++--- .../main_menu/components/badge-visibility.vue | 4 +-- .../main_menu/components/chat-actions.vue | 36 ++++++++++++++++--- .../main_menu/components/color-picker.vue | 2 +- .../main_menu/components/filter-editor.vue | 2 +- .../main_menu/components/main-menu.vue | 2 +- .../main_menu/components/profile-manager.vue | 6 ++-- src/modules/metadata.jsx | 8 ++--- src/settings/providers.js | 6 ++++ src/sites/twitch-twilight/index.js | 3 ++ .../modules/chat/emote_menu.jsx | 15 ++++---- .../twitch-twilight/modules/chat/index.js | 1 + .../modules/chat/settings_menu.jsx | 19 ++-------- .../modules/featured-follow.vue | 2 +- .../twitch-twilight/modules/host-options.vue | 2 +- src/sites/twitch-twilight/modules/layout.js | 2 +- src/sites/twitch-twilight/styles/chat.scss | 1 + src/sites/twitch-twilight/styles/theme.scss | 29 +++++++-------- src/std-components/autocomplete.vue | 2 +- src/std-components/icon-picker.vue | 2 +- src/utilities/tooltip.js | 1 - src/utilities/twitch-data.js | 3 +- styles/widgets.scss | 33 +++++++++++++---- styles/widgets/profile-selector.scss | 2 +- 27 files changed, 130 insertions(+), 83 deletions(-) diff --git a/package.json b/package.json index a726c04d..f2ca2fc1 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frankerfacez", "author": "Dan Salvato LLC", - "version": "4.8.1", + "version": "4.8.2", "description": "FrankerFaceZ is a Twitch enhancement suite.", "license": "Apache-2.0", "scripts": { diff --git a/src/modules/chat/actions/index.jsx b/src/modules/chat/actions/index.jsx index 17cef020..23b74c93 100644 --- a/src/modules/chat/actions/index.jsx +++ b/src/modules/chat/actions/index.jsx @@ -284,7 +284,7 @@ export default class Actions extends Module { reason_elements.push(
  • {text} @@ -301,7 +301,7 @@ export default class Actions extends Module { reason_elements.push(
  • {rule} @@ -546,7 +546,8 @@ export default class Actions extends Module { if ( ! def || disp.disabled || (disp.mod_icons != null && disp.mod_icons !== !!mod_icons) || (disp.mod != null && disp.mod !== (current_level > msg_level)) || - (disp.staff != null && disp.staff !== (u ? !!u.staff : false)) ) + (disp.staff != null && disp.staff !== (u ? !!u.staff : false)) || + (disp.deleted != null && disp.deleted !== !!msg.deleted) ) continue; const has_color = def.colored && ap.color, @@ -561,7 +562,7 @@ export default class Actions extends Module { data-tooltip-type="action" data-action={data.action} data-options={data.options ? JSON.stringify(data.options) : null} - onClick={handle_click} + onClick={handle_click} // eslint-disable-line react/jsx-no-bind onContextMenu={this.handleContext} > diff --git a/src/modules/main_menu/components/addon-list.vue b/src/modules/main_menu/components/addon-list.vue index c722ba3a..ae33e4c3 100644 --- a/src/modules/main_menu/components/addon-list.vue +++ b/src/modules/main_menu/components/addon-list.vue @@ -6,7 +6,7 @@ diff --git a/src/modules/main_menu/components/addon.vue b/src/modules/main_menu/components/addon.vue index a4a0d0e6..68401b53 100644 --- a/src/modules/main_menu/components/addon.vue +++ b/src/modules/main_menu/components/addon.vue @@ -50,7 +50,7 @@