mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
Chat filter toggle for entertainment radio channel (#2761)
## About The Pull Request Adds the entertainment monitor as a filter option for chat log https://github.com/tgstation/tgstation/pull/88712/ https://github.com/user-attachments/assets/7006ac99-edf0-41aa-9f87-7a58af05e3aa --------- Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#define MESSAGE_TYPE_SYSTEM "system"
|
||||
#define MESSAGE_TYPE_LOCALCHAT "localchat"
|
||||
#define MESSAGE_TYPE_RADIO "radio"
|
||||
#define MESSAGE_TYPE_ENTERTAINMENT = "entertainment"
|
||||
#define MESSAGE_TYPE_INFO "info"
|
||||
#define MESSAGE_TYPE_WARNING "warning"
|
||||
#define MESSAGE_TYPE_DEADCHAT "deadchat"
|
||||
|
||||
4
html/changelogs/AutoChangeLog-pr-88712.yml
Normal file
4
html/changelogs/AutoChangeLog-pr-88712.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
author: "LT3"
|
||||
delete-after: True
|
||||
changes:
|
||||
- qol: "Entertainment and newscaster broadcasts can be toggled in chat tabs"
|
||||
@@ -24,6 +24,7 @@ export const MESSAGE_TYPE_INTERNAL = 'internal';
|
||||
export const MESSAGE_TYPE_SYSTEM = 'system';
|
||||
export const MESSAGE_TYPE_LOCALCHAT = 'localchat';
|
||||
export const MESSAGE_TYPE_RADIO = 'radio';
|
||||
export const MESSAGE_TYPE_ENTERTAINMENT = 'entertainment';
|
||||
export const MESSAGE_TYPE_INFO = 'info';
|
||||
export const MESSAGE_TYPE_WARNING = 'warning';
|
||||
export const MESSAGE_TYPE_DEADCHAT = 'deadchat';
|
||||
@@ -65,7 +66,13 @@ export const MESSAGE_TYPES = [
|
||||
name: 'Radio',
|
||||
description: 'All departments of radio messages',
|
||||
selector:
|
||||
'.alert, .minorannounce, .syndradio, .centcomradio, .aiprivradio, .enteradio, .comradio, .secradio, .gangradio, .engradio, .medradio, .sciradio, .suppradio, .servradio, .radio, .deptradio, .binarysay, .newscaster, .resonate, .abductor, .alien, .changeling',
|
||||
'.alert, .minorannounce, .syndradio, .centcomradio, .aiprivradio, .comradio, .secradio, .gangradio, .engradio, .medradio, .sciradio, .suppradio, .servradio, .radio, .deptradio, .binarysay, .resonate, .abductor, .alien, .changeling',
|
||||
},
|
||||
{
|
||||
type: MESSAGE_TYPE_ENTERTAINMENT,
|
||||
name: 'Entertainment',
|
||||
description: 'Entertainment and newscaster broadcasts',
|
||||
selector: '.enteradio, .newscaster',
|
||||
},
|
||||
{
|
||||
type: MESSAGE_TYPE_INFO,
|
||||
|
||||
Reference in New Issue
Block a user