mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 00:50:53 +00:00
4.0.0-rc3. Display a warning for complex or invalid filtering terms, using the safe-regex NPM module. Add a separate Regex (Word)
filtering mode. Fix channel hosting control. Fix hide extensions. Add a fix for bad local echo emote indices for chat. Position the color picker above rather than below for filter terms. Apply a dark theme to the color picker. Rewrite the filter terms editor to use the term editor component for adding a new term.
This commit is contained in:
parent
2a790ad7cd
commit
038270d232
23 changed files with 669 additions and 423 deletions
|
@ -243,7 +243,7 @@ export default class SettingsContext extends EventEmitter {
|
|||
value = def_default;
|
||||
|
||||
if ( type.default )
|
||||
value = type.default(value);
|
||||
value = type.default(value, definition, this.manager.log);
|
||||
}
|
||||
|
||||
if ( definition.requires )
|
||||
|
@ -269,9 +269,9 @@ export default class SettingsContext extends EventEmitter {
|
|||
|
||||
_getRaw(key, type) {
|
||||
if ( ! type )
|
||||
throw new Error(`non-existent `)
|
||||
throw new Error(`non-existent type for ${key}`)
|
||||
|
||||
return type.get(key, this.profiles(), this.manager.log);
|
||||
return type.get(key, this.profiles(), this.manager.definitions.get(key), this.manager.log);
|
||||
}
|
||||
/* for(const profile of this.__profiles)
|
||||
if ( profile.has(key) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue