Closed Bug 1497434 Opened 6 years ago Closed 3 years ago

soft reminder notifications for all events

Categories

(Calendar :: General, enhancement)

enhancement
Not set
normal

Tracking

(thunderbird_esr78 wontfix, thunderbird91 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird91 --- fixed

People

(Reporter: mkmelin, Assigned: rnons)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

[Thought I'd filed this in the past, but apparently not.]

I would like to get a (native) notification for each event in my calendar. When I have a meeting, notify me 5 min in advance, and then again 1 min before. If the meeting has a link, let me just click it open right from there. Times ideally  configurable, per event category.

This is different from the reminder feature because that is far too aggressive. I just want a soft reminder that I'll see while I'm at the computer - to be handled at discretion.
Can you specify what a (native) notification would look like for you? Using an OS notification?

What link are you referring to (an URL property, an ATTACH property, an uri in the event description or summary)?
Well, native depends on the platform, what I was more thinking of was using the Notifications API (https://developer.mozilla.org/en-US/docs/Web/API/notification) and then let that handle out how to integrate with platform.

I'm not sure exactly which properties e.g. video calls should be in and which they are in for real. I suppose the URL is correct yes. But, that's for the details. The most important thing for me personally would be to get the gentle nudge in the first place.
Severity: normal → enhancement
Pretty sure we had a bug on this back some time ago with a patch but for some reason we decided against it. May be time to revisit it. I'm pretty sure ssitter was involved, maybe he remembers?
Flags: needinfo?(ssitter)
Maybe you thought of Bug 329676 that I created 12 years ago?
Flags: needinfo?(ssitter)
Yes, that's the one! Thanks for the link.
Assignee: nobody → remotenonsense

Add calendar.alarms.shownotification pref, the idea is to allow user choose to use reminder dialog or notification, or both.

Status: NEW → ASSIGNED
Attachment #9210215 - Attachment description: Bug 1497434 - Support soft reminder notification for events. r=darktrojan → Bug 1497434 - Initial step to support soft reminder in CalAlarmService. r=darktrojan
Target Milestone: --- → 89 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/bdbff1173b00
Initial step to support soft reminder in CalAlarmService. r=darktrojan

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d6b4520234c1
Support calendar level notification settings. r=darktrojan

This patch introduces a <calendar-notifications-setting> element, then use it in prefs page for global setting, and in calendar-properties-dialog for calendar level setting.

Attachment #9217943 - Flags: ui-review?(alessandro)

Comment on attachment 9217943 [details]
Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan,aleca

Thanks for the request, I'm adding some comments in phab.

Attachment #9217943 - Flags: ui-review?(alessandro)
Attachment #9217943 - Attachment description: Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan → Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan,aleca

Redefine the calendar.notifications.times pref:

  • use END: to mean relative to the end
  • use comma as separator of entries

An example is PT2M,END:-PT3M.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4cfd23620218
Support calendar notification times relative to both start and end. r=darktrojan

Attachment #9217943 - Attachment description: Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan,aleca → WIP: Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan,aleca
Attachment #9217943 - Attachment description: WIP: Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan,aleca → Bug 1497434 - Add config UI for global and calendar level notifications. r=darktrojan,aleca

Lots of UI elements for a small dialogs, but maybe with this organization we can make it more digestible.

I suggest to drop the Notifications: label as we're not in need of respecting the form label: input structure for this.
Let's visually separate this section with a bolder title and a description to better guide the user.

Add and Global pref should be at the bottom on the opposite sides.
It's okay having the Add button at the bottom since we can safely assume users won't need to set up 20+ notifications for a calendar.

The created notification could be indented, with the delete button having a flat style to not overwhelm the UI.
With the extra space we should force the longer dropdown to expand to the full available width so we can potentially avoid truncated text.

With this organization we could potentially even add a checkbox to toggle ON and OFF a specific notification, but I'm not sure it's necessary as it's probably quicker to delete and recreate it if necessary as we don't have that many options.

Attachment #9230003 - Flags: feedback?(richard.marti)
Attachment #9230003 - Flags: feedback?(remotenonsense)
Attachment #9230003 - Flags: feedback?(mkmelin+mozilla)
Attachment #9230003 - Flags: feedback?(geoff)

Comment on attachment 9230003 [details]
calendar-dialog-notifications.png

What about the preference page, do you want the Add Notifcation button to be on the same line as "Manage notification for upcoming..."?

Attachment #9230003 - Flags: feedback?(remotenonsense)

What about the preference page, do you want the Add Notifcation button to be on the same line as "Manage notification for upcoming..."?

No, the preferences page looks good as it is, other than the - icon which should also be replaced with the trash can.

Comment on attachment 9230003 [details]
calendar-dialog-notifications.png

This looks good for me.

Attachment #9230003 - Flags: feedback?(richard.marti) → feedback+

Comment on attachment 9230003 [details]
calendar-dialog-notifications.png

I like what's in phab

Attachment #9230003 - Flags: feedback?(mkmelin+mozilla)
Attachment #9230003 - Flags: feedback?(geoff) → feedback+
Target Milestone: 89 Branch → 91 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4802db6b7d41
Add config UI for global and calendar level notifications. r=darktrojan,aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

The patch [contains a typo}(https://hg.mozilla.org/comm-central/rev/4802db6b7d41#l10.11):
calendar-notifications-label = Show notifcations for upcoming events

Could you push a follow-up, please?

Flags: needinfo?(remotenonsense)
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4635a5424b50
follow-up to fix typo. rs=me
Flags: needinfo?(remotenonsense)

I stumbled upon a couple of issue on macOS in daily.

  1. The icon of the "remove notification" button in the global preferences is not centered aligned.
  2. When clicking on "Global notifications preference" inside a Calendar properties dialog, the preferences tab is opened but it loads the previously opened section (general, compose, etc) and it doesn't properly focus on the correct calendar notification section.
    Also, the properties dialog remains opened above everything else.
Flags: needinfo?(remotenonsense)

I see both on Windows too.

Status: RESOLVED → REOPENED
Flags: needinfo?(remotenonsense)
Resolution: FIXED → ---

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f9a21ec59e73
Fix remove button style in calendar notification setting. r=aleca,darktrojan

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED

Comment on attachment 9232066 [details]
Bug 1497434 - Fix remove button style in calendar notification setting. r=aleca,darktrojan

[Approval Request Comment]
A style fix to the remove button and change calendar-properties-dialog to be non-modal. Low risk.

Attachment #9232066 - Flags: approval-comm-beta?

Comment on attachment 9232066 [details]
Bug 1497434 - Fix remove button style in calendar notification setting. r=aleca,darktrojan

[Triage Comment]
Approved for beta

Attachment #9232066 - Flags: approval-comm-beta? → approval-comm-beta+
See Also: → 1724666
See Also: → 1724667
Blocks: 1726049
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: