1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-29 07:45:33 +00:00

The In-Line Actions Update

* Add extensible actions system.
* Add extensive UI for configuring the actions system.
* Add setting to disable channel hosting.
* Fix the stupid Rooms thing popping up every time you open a channel.
* Fix how we grab chat types from React.
* Refactor how we handle incoming chat messages.
* Add a hook for outgoing chat messages.
* Fix emoji appearing squished with baseline emote alignment.
* Display arrows on balloons.
* Fix an issue generating emoji URLs.
* Do not use the default values for settings with merge strategies if profiles have those settings, just empty.
* Display a message in the chat settings menu if we tried opening FFZ's settings and failed.
* Wait a bit for webpack's loader if it's not immediately there for some reason.
* Probably other stuff.
* Not mod cards. Yet.
This commit is contained in:
SirStendec 2018-04-28 17:56:03 -04:00
parent e9214bb46a
commit fdde05030f
67 changed files with 7689 additions and 226 deletions

View file

@ -1,25 +1,25 @@
<template lang="html">
<div class="ffz--experiments tw-pd-t-05">
<div class="tw-pd-b-1 tw-mg-b-1 tw-border-b">
{{ t('settings.experiments.about', 'This feature allows you to override experiment values. Please note that, for most experiments, you may have to refresh the page for your changes to take effect.') }}
{{ t('setting.experiments.about', 'This feature allows you to override experiment values. Please note that, for most experiments, you may have to refresh the page for your changes to take effect.') }}
</div>
<div class="tw-mg-b-2 tw-flex tw-align-items-center">
<div class="tw-flex-grow-1">
{{ t('settings.experiments.unique-id', 'Unique ID: %{id}', {id: unique_id}) }}
{{ t('setting.experiments.unique-id', 'Unique ID: %{id}', {id: unique_id}) }}
</div>
<select
ref="sort_select"
class="tw-mg-x-05 tw-select tw-display-line tw-width-auto"
@change="onSort"
>
<option :selected="sort_by === 0">{{ t('settings.experiments.sort-name', 'Sort By: Name') }}</option>
<option :selected="sort_by === 1">{{ t('settings.experiments.sort-rarity', 'Sort By: Rarity') }}</option>
<option :selected="sort_by === 0">{{ t('setting.experiments.sort-name', 'Sort By: Name') }}</option>
<option :selected="sort_by === 1">{{ t('setting.experiments.sort-rarity', 'Sort By: Rarity') }}</option>
</select>
</div>
<h3 class="tw-mg-b-1">
{{ t('settings.experiments.ffz', 'FrankerFaceZ Experiments') }}
{{ t('setting.experiments.ffz', 'FrankerFaceZ Experiments') }}
</h3>
<div class="ffz--experiment-list">
@ -48,7 +48,7 @@
:key="idx"
:selected="i.value === exp.value"
>
{{ t('settings.experiments.entry', '%{value} (weight: %{weight})', i) }}
{{ t('setting.experiments.entry', '%{value} (weight: %{weight})', i) }}
</option>
</select>
@ -67,12 +67,12 @@
</div>
</section>
<div v-if="! Object.keys(ffz_data).length">
{{ t('settings.experiments.none', 'There are no current experiments.') }}
{{ t('setting.experiments.none', 'There are no current experiments.') }}
</div>
</div>
<h3 class="tw-mg-t-5 tw-mg-b-1">
{{ t('settings.experiments.twitch', 'Twitch Experiments') }}
{{ t('setting.experiments.twitch', 'Twitch Experiments') }}
</h3>
<div class="ffz--experiment-list">
@ -115,7 +115,7 @@
v-if="exp.in_use === false"
:selected="exp.default"
>
{{ t('settings.experiments.unset', 'unset') }}
{{ t('setting.experiments.unset', 'unset') }}
</option>
<option
v-for="(i, idx) in exp.groups"
@ -141,7 +141,7 @@
</div>
</section>
<div v-if="! Object.keys(twitch_data).length">
{{ t('settings.experiments.none', 'There are no current experiments.') }}
{{ t('setting.experiments.none', 'There are no current experiments.') }}
</div>
</div>
</div>