webOS Nation Forums >  Homebrew >  webOS patches > [Patch] Email Delete From Notification Bar
[Patch] Email Delete From Notification Bar

  Reply
Like Tree1Likes

 
LinkBack Thread Tools Display Modes
Old 11/16/2009, 09:19 PM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default [Patch] Email Delete From Notification Bar

This is the official thread for the Email Delete From Notification Bar patch.


Summary
Adds a trash can icon to the email notification bar allowing you to delete new emails directly from the notification bar without opening the email application.




Installation
The patch is available via Preware and\or WebOS Quick install. Please see the corresponding forums for patch installation instructions.

This patch is very dependent on the synchronization features of WebOS. When you select trashcan icon a message is sent to the server to delete the email. When the server sends back a notification that the email has been deleted the notification bar is either removed or updated to reflect the next new email notification. If the synchronization is not functioning properly the functionality of this patch will be affected. As an attempt to minimize this issue if you select the trash can a second time the delete message is again sent to the server. If the server has already deleted the message a failure notice should be returned at which time the notification bar is removed.

Works best with preferences set to receive email as it arrives.

Please note that sometimes this round trip notification can take a few seconds depending on your connectivity and several other factors.

Download


Beta
None

Planned Improvement/Updates
- Swipe to delete
- Ability to mark email as read via notification bar

Known Issues
None

Change Log
03-05-10 v1.4.??
- Updated for WebOS v1.4

11-24-09 v1.3.1-19
- Updates to better handle deletes.
- Clears the notification stage on every delete so that if the server doesn't send us the delete notice we don't get stuck with a bad notification bar.
- Fixed problem when there was only a single new email.

11-15-09 v1.3.1-13
-Updated for WebOS v1.3.1
-Moved the trash can icon to the right side of the notification to prevent accidental deletes.
Attached Images
File Type: png Email-Delete_From_Notification_Bar.png (321.9 KB, 1320 views) Email Attachment

Last edited by Lclarkjr; 03/05/2010 at 10:05 PM.
Lclarkjr is offline   Reply With Quote
Old 11/16/2009, 11:33 PM   #2 (permalink)
Forum Leader
 
mamouton's Avatar
 
Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
Default

I really like your patches the icon moved to the far right is a nice idea. I uninstalled and installed this one. The bar goes away and I would think the message was deleted but when I go into my email the message is still there. The other one worked perfectly so I put that one back on.
mamouton is offline   Reply With Quote
Old 11/16/2009, 11:34 PM   #3 (permalink)
Member
 
Join Date: Jun 2009
Location: San Diego
Posts: 199
Likes Received: 0
Thanks: 46
Thanked 20 Times in 20 Posts
Default

can someone post screen shot?
__________________
jrdejavux is offline   Reply With Quote
Old 11/17/2009, 11:47 AM   #4 (permalink)
Member
 
ipalmpreo's Avatar
 
Join Date: Sep 2009
Location: fort smith, ar
Posts: 78
Likes Received: 0
Thanks: 12
Thanked 1 Time in 1 Post
Default

how can i delete previous patch installed through wq?
ipalmpreo is offline   Reply With Quote
Old 11/17/2009, 01:14 PM   #5 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

I was the one whom mentioned it works good in 1.3.1...but now notice it does not sync too well once again.

perhaps working on your better handling code would do a better job?
trim81 is offline   Reply With Quote
Old 11/17/2009, 02:40 PM   #6 (permalink)
Member
 
Join Date: Mar 2009
Location: MD
Posts: 75
Likes Received: 0
Thanks: 30
Thanked 13 Times in 10 Posts
Default

I love this patch! Thank you for putting it together!

I have one request if possible though...can you put the trash can in place of the envelope icon? I don't care which account the mail is coming from, the envelope is useless, I just wantt o be able to see more of the message info before deleting.
jedwardmiller is offline   Reply With Quote
Old 11/17/2009, 03:30 PM   #7 (permalink)
Member
 
TreoRock's Avatar
 
Join Date: Mar 2000
Location: CA
Posts: 3,099
Likes Received: 26
Thanks: 350
Thanked 125 Times in 80 Posts
Default

Looks like a neat idea, but the delete function doesn't work sometimes and frustrates me. Also, the swipe to delete just makes more sense than pressing on the trash bin icon. Good job so far!
__________________
TreoRock is offline   Reply With Quote
Old 11/17/2009, 03:35 PM   #8 (permalink)
Member
 
mmcnamara43's Avatar
 
Join Date: Jul 2009
Location: Syracuse,NY
Posts: 311
Likes Received: 0
Thanks: 58
Thanked 37 Times in 32 Posts
Default

i find that this doesn't work. i've tried to delete them but nothing happens???
__________________
My HTC Evo Is Great...
mmcnamara43 is offline   Reply With Quote
Old 11/17/2009, 09:38 PM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default

Quote:
Originally Posted by jrdejavux View Post
can someone post screen shot?
Just added one to first post.
Lclarkjr is offline   Reply With Quote
Old 11/17/2009, 09:39 PM   #10 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default

Quote:
Originally Posted by ipalmpreo View Post
how can i delete previous patch installed through wq?
Please see WebOS QI thread for instructions see link on first post.
Lclarkjr is offline   Reply With Quote
Old 11/17/2009, 09:41 PM   #11 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default

Quote:
Originally Posted by trim81 View Post
I was the one whom mentioned it works good in 1.3.1...but now notice it does not sync too well once again.

perhaps working on your better handling code would do a better job?
I will implement the code to remove the notification on a second delete. Unfortunately as previously mentioned this functionality is very dependent on the back end synchronization service.
Lclarkjr is offline   Reply With Quote
Old 11/17/2009, 09:42 PM   #12 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

Lclark, can you try to work with your better handling code for the patch??

oops typed this while you were typing above

Last edited by trim81; 11/17/2009 at 09:48 PM.
trim81 is offline   Reply With Quote
Old 11/17/2009, 09:43 PM   #13 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default

Quote:
Originally Posted by jedwardmiller View Post
I love this patch! Thank you for putting it together!

I have one request if possible though...can you put the trash can in place of the envelope icon? I don't care which account the mail is coming from, the envelope is useless, I just wantt o be able to see more of the message info before deleting.
Actually if you click on the envelope icon the email app opens to the folder for the corresponding email account. I do plan on looking at implementing a swipe to delete instead though.
Lclarkjr is offline   Reply With Quote
Old 11/17/2009, 09:47 PM   #14 (permalink)
Member
 
Join Date: Jul 2009
Posts: 17
Likes Received: 0
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Thanks! This is one of the most useful patches I've seen in the homebrew community. Cheers!
nocopies is offline   Reply With Quote
Old 11/17/2009, 09:47 PM   #15 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default

Quote:
Originally Posted by trim81 View Post
Lclark, can you try to work with your better handling code for the patch??
Yes, i have a couple ideas that i am going to try this weekend.
Lclarkjr is offline   Reply With Quote
Old 11/17/2009, 10:26 PM   #16 (permalink)
Member
 
Join Date: Jun 2009
Posts: 532
Likes Received: 0
Thanks: 3
Thanked 258 Times in 109 Posts
Default

Quote:
Originally Posted by mamouton View Post
I really like your patches the icon moved to the far right is a nice idea. I uninstalled and installed this one. The bar goes away and I would think the message was deleted but when I go into my email the message is still there. The other one worked perfectly so I put that one back on.
What email provider are you using GMAIL? Also as a side note i have seen several comments in other threads about the synchronization issues with the 1.3.1 update. Comments like deleting an email on the PC not being synchronized with the Pre. Granted your issue is the opposite. I have tested several more times but am unable to reproduce this particular issue. Also the only difference in the patch between the old and new is the placement of the icon, none of the code logic was changed.
Lclarkjr is offline   Reply With Quote
Old 11/18/2009, 12:55 AM   #17 (permalink)
Forum Leader
 
mamouton's Avatar
 
Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
Default

I use gmail, exchange, yahoo, and hotmail. I can hit the trash can and the email deletes with your first patch(trash can in middle) using the second one won't delete the email at all.
mamouton is offline   Reply With Quote
Old 11/18/2009, 09:46 AM   #18 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

I can confirm

the v2 patch (far right) seems to not be deleting..

it closes the notification bar, but neve sends the delete command to the server
trim81 is offline   Reply With Quote
Old 11/18/2009, 09:49 AM   #19 (permalink)
Member
 
Join Date: Jun 2009
Posts: 46
Likes Received: 0
Thanks: 1
Thanked 4 Times in 2 Posts
Default

I'm having the same issue with the update. When I press the trash icon it, the notifications disappears faster than the last version of the patch--almost instantly. An indication that the server isn't being communicated with? Swiping to delete from the e-mail app still works without a problem.
sookibong is offline   Reply With Quote
Old 11/18/2009, 10:38 AM   #20 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

I like to say, or whatever reason, pressing the trash can now is INSTANT removal from notification...which is GREAT

only problem is to send the achrive command back to the server

If you can use this handling, along with a correct push-delete command, this will be perfected.

looking forward for next rev. thanks in advance
trim81 is offline   Reply With Quote
Thanked By: swgdan
Reply

 

Tags
email, notification, patch

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-patches/215142-patch-email-delete-notification-bar.html
Posted By For Type Date
dBsooner's webOS-Patches Web Portal Post #0 Refback 05/21/2010 09:29 AM


 


Content Relevant URLs by vBSEO 3.6.0