1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-13 01:20:54 +00:00
* Added: Formatters for chat action variables. (Closes #1199)
* Changed: By default, open the user card to a badge when clicking a badge in chat. (Closes #1195)
* Fixed: The settings bridge functioning incorrectly for users without a set storage provider, causing pages that rely on the settings bridge including the Stream Dashboard to never correctly load FFZ.
This commit is contained in:
SirStendec 2022-04-19 15:34:20 -04:00
parent 084a3ee5e0
commit 2af7d5618b
8 changed files with 186 additions and 21 deletions

View file

@ -379,6 +379,7 @@
:value="edit_data.options"
:defaults="action_def.defaults"
:vars="vars"
:fmts="fmts"
@input="onChangeAction($event)"
/>
</section>
@ -493,6 +494,20 @@ export default {
return this.modifiers
},
fmts() {
const out = [];
out.push('word(start)');
out.push('word(start,end)');
out.push('upper');
out.push('lower');
out.push('snakecase');
out.push('slugify');
out.push('slugify(separator)');
return out.join(', ');
},
vars() {
const out = [],
ctx = this.context || [];