discourse/app/assets/stylesheets/common
Mark VanLandingham 1a7922bea2
FEATURE: Create notification schedule to automatically set do not disturb time (#11665)
This adds a new table UserNotificationSchedules which stores monday-friday start and ends times that each user would like to receive notifications (with a Boolean enabled to remove the use of the schedule). There is then a background job that runs every day and creates do_not_disturb_timings for each user with an enabled notification schedule. The job schedules timings 2 days in advance. The job is designed so that it can be run at any point in time, and it will not create duplicate records.

When a users saves their notification schedule, the schedule processing service will run and schedule do_not_disturb_timings. If the user should be in DND due to their schedule, the user will immediately be put in DND (message bus publishes this state).

The UI for a user's notification schedule is in user -> preferences -> notifications. By default every day is 8am - 5pm when first enabled.
2021-01-20 10:31:52 -06:00
..
admin FIX: Always show overriden colors filter (#11755) 2021-01-20 10:40:05 +02:00
base FEATURE: Create notification schedule to automatically set do not disturb time (#11665) 2021-01-20 10:31:52 -06:00
components DEV: makes user-stream an unordered list (#11770) 2021-01-20 15:57:38 +01:00
foundation DEV: Cleanup variables/mixins SCSS imports (#11618) 2021-01-05 14:05:34 -05:00
select-kit UX: Use uniform style for tag counts (#11743) 2021-01-18 15:11:23 -05:00
d-editor.scss UX: Give furigana and other top-overflowing elements a little space (#11154) 2020-11-09 16:03:36 +11:00
input_tip.scss DEV: Cleanup variables/mixins SCSS imports (#11618) 2021-01-05 14:05:34 -05:00
printer-friendly.scss UX: remove timeline from print view, fix header in crawler view (#11489) 2020-12-15 16:12:46 -05:00
topic-entrance.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
topic-timeline.scss REFACTOR: Remove position fixed from the header and use sticky instead (#10781) 2020-10-19 17:26:38 -04:00