Merge branch 'settings-modal' into shigusegubu
* settings-modal: fixes. sorry for bad commit message i'm tired lint Move modal frame parts away from modal-content into modal, improve error handling moved multiChoiceProperties where it fits better
This commit is contained in:
commit
db2d3d9c8c
16 changed files with 301 additions and 234 deletions
|
|
@ -3,6 +3,16 @@ import { setPreset, applyTheme } from '../services/style_setter/style_setter.js'
|
|||
|
||||
const browserLocale = (window.navigator.language || 'en').split('-')[0]
|
||||
|
||||
/* TODO this is a bit messy.
|
||||
* We need to declare settings with their types and also deal with
|
||||
* instance-default settings in some way, hopefully try to avoid copy-pasta
|
||||
* in general.
|
||||
*/
|
||||
export const multiChoiceProperties = [
|
||||
'postContentType',
|
||||
'subjectLineBehavior'
|
||||
]
|
||||
|
||||
export const defaultState = {
|
||||
colors: {},
|
||||
theme: undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue