6.0.0-beta1
7/5/25

[#12872] link in desktop notification for tasks
Summary link in desktop notification for tasks
Queue Horde Framework Packages
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 12/03/2013 (4232 days ago)
Due
Updated 12/03/2013 (4232 days ago)
Assigned
Resolved 12/03/2013 (4232 days ago)
Milestone
Patch No

History
12/03/2013 04:02:53 PM Michael Rubinsky Comment #5
State ⇒ Resolved
Reply to this comment
Should be a new window, because if i edit for example a event in 
this moment i lose this content.
Done.
notification. The only way to avoid that would be to dismiss/snooze
the event first - and the user might not know which he wants yet
until he views the event. Ideally it would be great if we could have
multiple links/buttons in the notification, but that's not available
in the Notification API.
Really good question, i guess if i click onto the link in the 
notification it should dismiss it as well.
This is what I ended up doing. Turns out, we can't really attach an 
action to the onclose event since it's impossible to differentiate 
between explicitly closing the alert and the alert timing out and 
fading on it's own. So, clicking the text dismisses the alarm, puts up 
another notification to indicate this, and opens the appropriate url 
in a new window (if applicable).

12/03/2013 03:47:31 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #4 Reply to this comment

[Show Quoted Text - 11 lines]
sounds good!
I tried implementing it so that clicking the link actually opened 
the event, but couldn't get a workflow that I liked. What was 
happening was that clicking the link would open the event (should 
this be in the current window, a new window?) and then trigger yet 
another
Should be a new window, because if i edit for example a event in this 
moment i lose this content.
notification. The only way to avoid that would be to dismiss/snooze 
the event first - and the user might not know which he wants yet 
until he views the event. Ideally it would be great if we could have 
multiple links/buttons in the notification, but that's not available 
in the Notification API.
Really good question, i guess if i click onto the link in the 
notification it should dismiss it as well.
Anyway, I'll do similar logic for Nag, unless you have any input 
into the workflow...
No, not so easy as i think before :-)

12/03/2013 03:17:59 PM Michael Rubinsky Comment #3
State ⇒ Rejected
Reply to this comment
Actually, this already works for Nag with Horde 5.2
12/03/2013 03:00:29 PM Michael Rubinsky Comment #2
State ⇒ Accepted
Assigned to Michael Rubinsky
Reply to this comment
Forget sometimes to complete my tasks and the notification come up 
again, direct link to complete or open this task will be great.
I've actually been working on this (for Kronolith) the past few days. 
You have two observable events that pertain to this with desktop 
notifications, onclick and onclose. Currently, the 'onclose' event 
(which is fired when closing the notification without clicking the 
link/text/open button) snoozes the event. Clicking the the 
link/text/open fires the onclick event and currently dismisses the 
event's alarm. In both cases a new notification *should* be shown 
(works in everything except safari right now) stating what occurred.

I tried implementing it so that clicking the link actually opened the 
event, but couldn't get a workflow that I liked. What was happening 
was that clicking the link would open the event (should this be in the 
current window, a new window?) and then trigger yet another 
notification. The only way to avoid that would be to dismiss/snooze 
the event first - and the user might not know which he wants yet until 
he views the event. Ideally it would be great if we could have 
multiple links/buttons in the notification, but that's not available 
in the Notification API.

Anyway, I'll do similar logic for Nag, unless you have any input into 
the workflow...
12/03/2013 02:37:27 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ link in desktop notification for tasks
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ New
Reply to this comment
Forget sometimes to complete my tasks and the notification come up 
again, direct link to complete or open this task will be great.

Saved Queries