PLT-3193 Add channel notification preferences for push notifications (#5512)

* PLT-3193 Add channel notification preferences for push and email notifications

* Fixing UI

* Removing email as preferences from the UI for now

* move to action

* fix client test
Этот коммит содержится в:
enahum
2017-02-27 17:55:12 -03:00
коммит произвёл GitHub
родитель 48f97a5a2a
Коммит f07571d79d
5 изменённых файлов: 254 добавлений и 49 удалений

Просмотреть файл

@@ -55,7 +55,10 @@ export const Preferences = {
CATEGORY_FLAGGED_POST: 'flagged_post',
CATEGORY_NOTIFICATIONS: 'notifications',
CATEGORY_FAVORITE_CHANNEL: 'favorite_channel',
EMAIL_INTERVAL: 'email_interval'
EMAIL_INTERVAL: 'email_interval',
INTERVAL_IMMEDIATE: 30, // "immediate" is a 30 second interval
INTERVAL_FIFTEEN_MINUTES: 15 * 60,
INTERVAL_HOUR: 60 * 60
};
export const ActionTypes = keyMirror({