From 3f4b93fa9567ea02107941bf0420c23a4d0d367e Mon Sep 17 00:00:00 2001 From: pimothyxd <29018740+pimothyxd@users.noreply.github.com> Date: Sat, 20 Dec 2025 22:32:13 +0100 Subject: [PATCH 1/5] refactor(twitch/chat): added shared chat pill options --- src/app/chat/Badge.vue | 10 +-- src/app/chat/UserMessage.vue | 81 ++++++++++++++++++- src/app/chat/UserTag.vue | 7 -- .../twitch.tv/modules/chat/ChatModule.vue | 42 +++++++++- 4 files changed, 122 insertions(+), 18 deletions(-) diff --git a/src/app/chat/Badge.vue b/src/app/chat/Badge.vue index 62b9169e..5a0eec63 100644 --- a/src/app/chat/Badge.vue +++ b/src/app/chat/Badge.vue @@ -16,26 +16,22 @@ From 5bc9ca21d57ca091e49cab2548c4b591049eec00 Mon Sep 17 00:00:00 2001 From: pimothyxd <29018740+pimothyxd@users.noreply.github.com> Date: Sat, 20 Dec 2025 23:07:56 +0100 Subject: [PATCH 2/5] fix(twitch/chat): hide shared chat option --- src/site/twitch.tv/modules/chat/ChatList.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/site/twitch.tv/modules/chat/ChatList.vue b/src/site/twitch.tv/modules/chat/ChatList.vue index 3b704946..97a1c122 100644 --- a/src/site/twitch.tv/modules/chat/ChatList.vue +++ b/src/site/twitch.tv/modules/chat/ChatList.vue @@ -171,12 +171,13 @@ function onChatMessage(msg: ChatMessage, msgData: Twitch.AnyMessage, shouldRende sourceRoomID = msg.channelID; } - if (hideSharedChat.value && msg.channelID != sourceRoomID) { + const sourceData = sourceRoomID ? sharedChatData.value?.get(sourceRoomID) : undefined; + if (hideSharedChat.value && sourceData && msg.channelID != sourceRoomID) { return; } if (sourceRoomID && !hideSharedChat.value) { - msgData.sourceData = sharedChatData.value?.get(sourceRoomID); + msgData.sourceData = sourceData; msg.setSourceData(msgData.sourceData); } From 02aca17b6576ecc03318b39e145ddc396b7089a0 Mon Sep 17 00:00:00 2001 From: pimothyxd <29018740+pimothyxd@users.noreply.github.com> Date: Wed, 24 Dec 2025 02:30:07 +0100 Subject: [PATCH 3/5] refactor(twitch/chat): use smaller shared chat icon size when no border --- src/app/chat/UserMessage.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/chat/UserMessage.vue b/src/app/chat/UserMessage.vue index 40d9e334..fcfbc6d6 100644 --- a/src/app/chat/UserMessage.vue +++ b/src/app/chat/UserMessage.vue @@ -410,6 +410,11 @@ watchEffect(() => { border: 2px solid var(--seventv-pill-border-color); } + &[data-use-border="false"] { + width: 1.8rem; + height: 1.8rem; + } + &[data-pill-style="1"] { border-radius: 0.3em; From 87dd1c4281947dafbfd8d916f22bd9e4017ee3ea Mon Sep 17 00:00:00 2001 From: pimothyxd <29018740+pimothyxd@users.noreply.github.com> Date: Wed, 24 Dec 2025 02:33:18 +0100 Subject: [PATCH 4/5] refactor: change default option of mod-only chat pill --- src/site/twitch.tv/modules/chat/ChatModule.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/twitch.tv/modules/chat/ChatModule.vue b/src/site/twitch.tv/modules/chat/ChatModule.vue index bd7d5fd9..09466202 100644 --- a/src/site/twitch.tv/modules/chat/ChatModule.vue +++ b/src/site/twitch.tv/modules/chat/ChatModule.vue @@ -482,7 +482,7 @@ export const config = [ hint: "Whether or not to show the pill only when in chats where you are Moderator or Streamer", path: ["Chat", "Shared Chat", 102], disabledIf: () => useConfig("chat.shared_chat.pill_style").value === 0, - defaultValue: true, + defaultValue: false, }), declareConfig("chat.shared_chat.source_border", "TOGGLE", { label: "Show Source Chat Border", From b686cf7a4eb7d96059bfd9501291cda43f7dfa3b Mon Sep 17 00:00:00 2001 From: pimothyxd <29018740+pimothyxd@users.noreply.github.com> Date: Wed, 24 Dec 2025 02:33:39 +0100 Subject: [PATCH 5/5] chore: update changelog --- CHANGELOG-nightly.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index 5e304946..33de017d 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -1,3 +1,10 @@ +### 3.1.15.2000 + +- Fixed an issue causing the option to hide shared chat to hide all messages +- Added an option to change the shared chat pill style +- Added an option to use a highlighted border around source chat messages +- Added an option to change the color of the highlighted border for source chat messages + ### 3.1.15.1000 - Added required Firefox built-in consent metadata to the manifest