Modalità Non Disturbare

La modalità “Non disturbare” è arrivata :tada:

Discourse ora permette agli utenti di attivare la modalità “Non disturbare” (DND). Mentre sei in DND, le notifiche desktop, quelle push e le email non vengono inviate finché non esci dalla modalità DND. Anche le bolle di notifica vengono nascoste dall’avatar dell’utente nell’intestazione del sito.

Puoi attivare la modalità “Non disturbare” per un periodo specifico di 30 minuti, 1 ora, 2 ore o fino alla fine della giornata. Puoi anche accedere alle tue preferenze di notifica e impostare un programma giornaliero, venendo automaticamente inserito in modalità DND durante i periodi esterni al tuo programma di notifica.

C’è un pulsante sotto la scheda Profilo nel menu utente che apre una finestra modale.

Una volta salvato, l’icona della luna sostituirà le bolle/contatori di notifica sul tuo avatar
3

Puoi annullare la modalità DND in anticipo cliccando nuovamente sul pulsante.

Nelle tue preferenze di notifica, vedrai l’impostazione per abilitare un programma di notifica

59 Mi Piace

I’m glad that this is built into Discourse now (not to mention that it is a much better implementation). I no longer have to rely on the one built into the operating system. Just turned it off! :slight_smile:

8 Mi Piace

Cool feature, nicely implemented too - thanks!

One bit of feedback, could the moon icon on the avatar be a different colour? At a glance the blue moon icon looks a bit like a notification count.

May I suggest making it pale yellow, because the moon is made of cheese :slight_smile:

1 Mi Piace

Inspect the element, find the CSS selector and add the appropriate code in Admin > Customize > Theme > Edit CSS/HTML :slight_smile:

4 Mi Piace

Ah - fair enough, I didn’t think I could style the SVG from the CSS, but I can always hide the original SVG and add in my cheese-coloured one in it’s div.

1 Mi Piace

Ha! This is interesting!

I used this for the first time today and expected the notification counter to show my pending messages when it expired. While the notifications were showing as new in the drop-down menu, the counter did not. Is that expected behavior?

3 Mi Piace

I see what you mean; that count for non-PM notifications is cleared when you click on your avatar. When you leave DND manually, you have to click your avatar so it must be clearing the count at that point. I’ll see if I can prevent that from happening :+1:

Edit: To leave DND mode you do see those notifications though, because the first pane that opens is the notifications pane… leaving the count there after you have opened the notifications pane might be more inconsistent than the current behavior.

3 Mi Piace

Can anyone confirm what is supposed to happen if I choose None when configuring the notification schedule? I would guess that DND mode would be active on those days but I’d like to be sure :slight_smile:

4 Mi Piace

Yes, DND will be active for the entirety of the day if “none” is selected.

8 Mi Piace

Thank you for confirming that! :smiley:

4 Mi Piace

We had the same issue. This is the CSS we added to style the moon gray (assuming default color scheme):

/* Less distracting do-not-disturb */

.do-not-disturb-background .d-icon.d-icon-moon {
    color: var(--primary-high-or-secondary-low) !important;
}
.do-not-disturb-background {
    background-color: var(--primary-med-or-secondary-high) !important;
}
4 Mi Piace

Solo una piccola nota per dire che questa funzionalità è stata rinominata in ‘Metti in pausa le notifiche’. :+1:

5 Mi Piace