From e3a7e3b64dccde1cea945b543e7e76a08544f90a Mon Sep 17 00:00:00 2001 From: SirStendec Date: Tue, 10 Apr 2018 21:13:34 -0400 Subject: [PATCH] Add experiments system. Add experiments UI. Update disabled buttons to use tw-button--disabled. Update chat line rendering. Add preset emote sizes to the emote menu to reduce reflows when loading. Fix directory issues caused by fixes to route sorting. Update the theme. Add a current route name value to fine router. Add recursive object protection to deep_copy. --- changelog.html | 11 + package-lock.json | 10 + package.json | 2 + src/experiments.js | 272 +++++++ src/main.js | 6 +- .../main_menu/components/badge-visibility.vue | 1 + .../main_menu/components/experiments.vue | 251 ++++++ .../main_menu/components/profile-editor.vue | 1 + src/sites/twitch-twilight/index.js | 16 + .../modules/chat/emote_menu.jsx | 6 +- .../twitch-twilight/modules/chat/line.js | 18 +- .../styles/chat-borders-3d-inset.scss | 4 +- .../css_tweaks/styles/chat-borders-3d.scss | 4 +- .../css_tweaks/styles/chat-borders-wide.scss | 4 +- .../css_tweaks/styles/chat-borders.scss | 4 +- .../styles/chat-mention-bg-alt.scss | 4 +- .../css_tweaks/styles/chat-mention-bg.scss | 4 +- .../css_tweaks/styles/chat-padding.scss | 10 +- .../modules/css_tweaks/styles/chat-rows.scss | 6 +- .../modules/directory/browse_popular.gql | 2 +- .../modules/directory/followed_channels.gql | 2 +- .../modules/directory/followed_hosts.gql | 4 +- .../modules/directory/followed_index.gql | 6 +- .../modules/directory/followed_live.gql | 2 +- .../modules/directory/following.jsx | 56 +- .../modules/directory/game.gql | 6 - .../modules/featured-follow.vue | 11 +- .../modules/featured_follow_query.gql | 2 +- .../modules/following_link.off | 2 +- src/sites/twitch-twilight/styles/chat.scss | 5 + src/sites/twitch-twilight/styles/theme.scss | 741 +++++++++--------- src/utilities/compat/apollo.js | 24 +- src/utilities/compat/fine-router.js | 4 +- src/utilities/object.js | 14 +- styles/widgets/profile-selector.scss | 11 + 35 files changed, 1075 insertions(+), 451 deletions(-) create mode 100644 src/experiments.js create mode 100644 src/modules/main_menu/components/experiments.vue diff --git a/changelog.html b/changelog.html index 2e724d4c..964f8006 100644 --- a/changelog.html +++ b/changelog.html @@ -1,3 +1,14 @@ +
4.0.0-beta2.4@b3fb24504616675ad2b9
+ +
4.0.0-beta2.3@a07fb33207e6659acc9f