From 91e5e3107571eaf73fb40d63aa0e1e785866353d Mon Sep 17 00:00:00 2001 From: loczek <30776250+loczek@users.noreply.github.com> Date: Sun, 15 Mar 2026 22:02:54 +0100 Subject: [PATCH 1/3] fix(twitch/chat): hide community events --- .../modules/hidden-elements/HiddenElementsModule.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue b/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue index a9a9eb59..45d88efc 100644 --- a/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue +++ b/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue @@ -190,7 +190,7 @@ export const config = [ } .seventv-hide-leaderboard { - section[data-test-selector="chat-room-component-layout"] > div:first-child > div:first-child { + section[data-test-selector="chat-room-component-layout"] > div.chat-room__content > div:first-child { display: none !important; } } @@ -221,7 +221,7 @@ export const config = [ } .seventv-hide-community-highlights { - div[class^="community-highlight-stack"] { + section[data-test-selector="chat-room-component-layout"] > div.chat-room__content > div:nth-child(3) { display: none !important; } } From a5ad17e462a8f69643418e2369f2412d2a616c9a Mon Sep 17 00:00:00 2001 From: loczek <30776250+loczek@users.noreply.github.com> Date: Sun, 15 Mar 2026 23:16:06 +0100 Subject: [PATCH 2/3] chore: add changelog --- CHANGELOG-nightly.md | 5 +++++ CHANGELOG.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index 65e04d92..1716f553 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -1,3 +1,8 @@ +### 3.1.17.1000 + +- Fixed an issue where the channel community highlights would appear when the hide option was enabled +- Fixed an issue where the chat leaderboard would appear when community highlights were open + ### 3.1.16.2000 - Updated Firefox extension URL in onboarding diff --git a/CHANGELOG.md b/CHANGELOG.md index 1749794a..605ae33d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### 3.1.17 + +- Fixed an issue where the channel community highlights would appear when the hide option was enabled +- Fixed an issue where the chat leaderboard would appear when community highlights were open + ### 3.1.16 - Fixed emote menu not showing emotes with same name but different casing From 5291b9bb285debbef8567675862522af34a81a21 Mon Sep 17 00:00:00 2001 From: loczek <30776250+loczek@users.noreply.github.com> Date: Sun, 15 Mar 2026 23:25:33 +0100 Subject: [PATCH 3/3] refactor: exclude selectors from linting --- .../twitch.tv/modules/hidden-elements/HiddenElementsModule.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue b/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue index 45d88efc..63f24f79 100644 --- a/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue +++ b/src/site/twitch.tv/modules/hidden-elements/HiddenElementsModule.vue @@ -190,6 +190,7 @@ export const config = [ } .seventv-hide-leaderboard { + /* stylelint-disable-next-line selector-class-pattern */ section[data-test-selector="chat-room-component-layout"] > div.chat-room__content > div:first-child { display: none !important; } @@ -221,6 +222,7 @@ export const config = [ } .seventv-hide-community-highlights { + /* stylelint-disable-next-line selector-class-pattern */ section[data-test-selector="chat-room-component-layout"] > div.chat-room__content > div:nth-child(3) { display: none !important; }