1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 10:06:54 +00:00

4.0.0-rc12.13

* Fixed: Issue where settings context was not being set up correctly in pop-out chat.
* Fixed: Chat Width setting on various channel sub-pages on the old layout.
* Changed: Limit emote menu subscription benefit requests to 75 items per request due to issues with Twitch's GraphQL API periodically returning errors when requesting 100 items.

* Changed: Set the API stress testing experiment to 100% roll-out.
This commit is contained in:
SirStendec 2018-08-20 14:33:30 -04:00
parent 20ade3e5a4
commit 0090e43316
6 changed files with 222 additions and 344 deletions

View file

@ -3,8 +3,8 @@
"name": "New API Stress Testing",
"description": "Send duplicate requests to the new API server for load testing.",
"groups": [
{"value": true, "weight": 35},
{"value": false, "weight": 65}
{"value": true, "weight": 100},
{"value": false, "weight": 0}
]
}
}

View file

@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc12.12',
major: 4, minor: 0, revision: 0, extra: '-rc12.13',
commit: __git_commit__,
build: __webpack_hash__,
toString: () =>

View file

@ -1690,7 +1690,7 @@ export default class EmoteMenu extends Module {
data = await this.apollo.client.query({
query: SUB_STATUS,
variables: {
first: 100,
first: 75,
after: cursor,
criteria: {
filter: 'ALL'

View file

@ -945,6 +945,22 @@ export default class ChatHook extends Module {
return;
this.updateRoomBitsConfig(chat, props.bitsConfig);
// TODO: Check if this is the room for the current channel.
this.settings.updateContext({
moderator: props.isCurrentUserModerator,
chatHidden: props.isHidden
});
this.chat.context.updateContext({
moderator: props.isCurrentUserModerator,
channel: props.channelLogin && props.channelLogin.toLowerCase(),
channelID: props.channelID,
ui: {
theme: props.theme
}
});
}

View file

@ -11,6 +11,10 @@ body .video-watch-page__right-column,
body .channel-page__right-column,
body .right-column:not(.right-column--collapsed),
body .channel-videos__right-column,
body .channel-clips__sidebar,
body .channel-events__sidebar,
body .channel-follow-listing__right-column,
body .channel-follow-listing__right-column,
body .channel-root__right-column {
width: var(--ffz-chat-width);
}