1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 18:26:57 +00:00
* Fixed: Leaky name matching when the user has listed more than one name to highlight or block.
* Fixed: Blacklist several Twitch errors that were being captured by automatic error reporting.
* Fixed: The optional FFZ Emote Menu icon not displaying properly when the menu is open.
* Changed: Styling of FFZ entries added to the chat settings menu to match the updated aesthetics.
* Changed: Update dependencies.
This commit is contained in:
SirStendec 2019-07-29 15:48:00 -04:00
parent a4d9483fa4
commit 37ef0c250e
7 changed files with 646 additions and 288 deletions

View file

@ -338,7 +338,7 @@ export default class Chat extends Module {
}
for(const [key, list] of colors) {
colors.set(key, new RegExp(`^${list.join('|')}$`, 'gi'));
colors.set(key, new RegExp(`^(?:${list.join('|')})$`, 'gi'));
}
return colors;
@ -389,7 +389,7 @@ export default class Chat extends Module {
if ( ! data.length )
return null;
return new RegExp(`^${data.join('|')}$`, 'gi');
return new RegExp(`^(?:${data.join('|')})$`, 'gi');
});
}
});

View file

@ -140,7 +140,10 @@ export default class RavenLogger extends Module {
'freed script',
'ffzenhancing',
'dead object',
'Name Collision for Module'
'Name Collision for Module',
'SourceBuffer',
'ChunkLoadError',
'QuotaExceededError'
],
sanitizeKeys: [
/Token$/

View file

@ -82,7 +82,23 @@ export default class SettingsMenu extends Module {
f === 9 ? t.i18n.t('key.shift_mouse', 'Shift or Mouse') :
t.i18n.t('key.hover', 'Hover');
val.props.children.push(<div class="tw-mg-t-1">
val.props.children.push(<div class="tw-full-width tw-relative">
<button
class="tw-block tw-border-radius-medium tw-full-width tw-interactable tw-interactable--inverted tw-interactive"
onClick={this.ffzPauseClick}
>
<div class="tw-align-items-center tw-flex tw-pd-05 tw-relative">
<div class="tw-flex-grow-1">
{t.i18n.t('chat.settings.pause', 'Pause Chat')}
</div>
<div class="tw-mg-l-1 tw-pd-x-05">{reason}</div>
<figure class="tw-svg ffz-i-right-dir" />
</div>
</button>
</div>);
/*val.props.children.push(<div class="tw-mg-t-1">
<button
class="tw-block tw-full-width tw-interactable tw-interactable--base tw-interactive"
onClick={this.ffzPauseClick}
@ -95,7 +111,7 @@ export default class SettingsMenu extends Module {
</div>
</div>
</button>
</div>)
</div>)*/
return val;
}

View file

@ -1,4 +1,4 @@
.tw-button-icon[data-a-target="emote-picker-button"] {
button[data-a-target="emote-picker-button"] {
.tw-button-icon__icon {
padding: .6rem .4rem .2rem .4rem;

View file

@ -7,7 +7,7 @@ export const CLIENT_ID = 'a3bc9znoz6vi8ozsoca0inlcr4fcvkl';
export const API_SERVER = '//api.frankerfacez.com';
export const NEW_API = '//api-test.frankerfacez.com';
export const SENTRY_ID = 'https://18f42c65339d4164b3fdebfc8c8bc99b@sentry.io/1186960';
export const SENTRY_ID = 'https://1c3b56f127254d3ba1bd1d6ad8805eee@sentry.io/1186960';
export const LV_SERVER = 'https://cbenni.com/api';