#matrix is the online open-source workplace inspired in sococo.com for distributed teams to have the experience of work together each day, side-by-side. No matter where team members might be. Working in an online workplace is even more productive when people are feeling in the same space.
MIT License
900
stars
238
forks
source link
feat: save notification option on localstorage #383
Run matrix on augusto/save-notification-option-localstorage branch.
[ ] Notifications should be disabled by default.
[ ] notification-disabled key shouldn't exists on localstorage.
Enable notifications.
Enable notifications by clicking on NotificationCheckbox component.
[ ] notification-disabled key should be created on localstorage with false value.
[ ] TOGGLE_NOTIFICATION should be dispatched and systemSettings.notificationDisabled property should be updated to false on redux store.
[ ] NotificationCheckbox component should let user disable notifications.
Disable notifications
[ ] Users should be able to disable notifications again from another tab or inside a room
Expected behavior
Now matrix will save user notifications option. It will not being necessary enable and disable it every time that page is refreshed or application accessed.
Description
In order to fix https://github.com/ResultadosDigitais/matrix/issues/332 we are persisting user enable/disable notification option on localstorage.
How to test?
augusto/save-notification-option-localstorage
branch.notification-disabled
key shouldn't exists on localstorage.notification-disabled
key should be created on localstorage withfalse
value.TOGGLE_NOTIFICATION
should be dispatched andsystemSettings.notificationDisabled
property should be updated tofalse
on redux store.NotificationCheckbox
component should let user disable notifications.Expected behavior
Now
matrix
will save user notifications option. It will not being necessary enable and disable it every time that page is refreshed or application accessed.