Mailspring/src/config-schema.coffee
Yoeri Stessens c54131ad96 Alter the text to a more general approach and run tests
The text is now more in line with other mail clients to minimalize possible confusion between users of multiple mail clients and/or platforms.
2015-12-02 08:23:03 +01:00

92 lines
2.7 KiB
CoffeeScript

module.exports =
core:
type: 'object'
properties:
workspace:
type: 'object'
properties:
mode:
type: 'string'
default: 'list'
enum: ['split', 'list']
systemTray:
type: 'boolean'
default: true
title: "Show icon in Mac OS X menu bar"
platforms: ['darwin']
showImportant:
type: 'boolean'
default: true
title: "Show Gmail-style important markers (Gmail Only)"
showUnreadForAllCategories:
type: 'boolean'
default: false
title: "Show unread counts for all folders / labels"
disabledPackages:
type: 'array'
default: []
items:
type: 'string'
themes:
type: 'array'
default: ['ui-light']
items:
type: 'string'
keymapTemplate:
type: 'string'
default: 'Gmail'
attachments:
type: 'object'
properties:
downloadPolicy:
type: 'string'
default: 'on-read'
enum: ['on-receive', 'on-read', 'manually']
enumLabels: ['When Received', 'When Read', 'Manually']
title: "Download attachments for new mail"
reading:
type: 'object'
properties:
markAsReadDelay:
type: 'integer'
default: 500
enum: [0, 500, 2000]
enumLabels: ['Instantly', '½ Second', '2 Seconds']
title: "Delay for marking messages as read"
autoloadImages:
type: 'boolean'
default: true
title: "Automatically load images in viewed messages"
backspaceDelete:
type: 'boolean'
default: false
title: "Use backspace / delete to move messages to trash"
sending:
type: 'object'
properties:
sounds:
type: 'boolean'
default: true
title: "Play sound when a message is sent"
defaultReplyType:
type: 'string'
default: 'reply-all'
enum: ['reply', 'reply-all']
enumLabels: ['Reply', 'Reply All']
title: "Default reply behavior"
notifications:
type: 'object'
properties:
enabled:
type: 'boolean'
default: true
title: "Show notifications for new unread messages"
sounds:
type: 'boolean'
default: true
title: "Play sound when receiving new mail"
unreadBadge:
type: 'boolean'
default: true
title: "Show badge on the app icon"
platforms: ['darwin']