Difference between revisions of "User:Attachment Reminder"

From CDOT Wiki
Jump to: navigation, search
(Project Details)
(0.3 Release)
Line 99: Line 99:
=== 0.3 Release ===
=== 0.3 Release ===
To Be decided with David Humphrey.
Fulfill comments made on 0.2 release.
Allow user to add Keywords that Thunderbird will look for in the body of the email.

Revision as of 01:35, 2 December 2008

Project Name

Attachment Reminder

Project Description

Do you usually forget to attach the assignments in emails? If the answer is yes, you don't have to worry about that problem any more. Because I am working on the bug 244455. This bug reminds the user to attach the file when the user clicks the "send" button.

Project Leader(s)

Project Contributor(s)

Scott Lunel

Zaid Ghansar

Sidhdharth (Sid)

David Humphrey

Project Tasks

Find the Place Where Code should Go

When you click "Send" button, it goes to [[1]]. And, depending on the task, it calls sendMessage() and sendMessageLater().

In this case, sendMessage Function is going to be called which can be found at [[2]]

Write Javascript Required to prompt to User

var check = {value: false};

               var flags = gPromptService.BUTTON_POS_0 * gPromptService.BUTTON_TITLE_IS_STRING  +
                           gPromptService.BUTTON_POS_1 * gPromptService.BUTTON_TITLE_IS_STRING; 
               var button = gPromptService.confirmEx(null,
                                                     "Attachment Reminder",
                                                     "Did you forget to add an attachment?",
 	                                              "Oh, I did",
                                                     "No, Send Now",

Add Functionality to add key Words By user

To be DONE for 0.3

List OF Keywords

Default Keywords for checking the email body.












Project Details

REPORT ON BUG [244455]

After a long talk with Dan Mozedale and David, we figured out a good project for me -- Attachment Reminder.

Talk with Bryan(ClasrkBW)

I emailed Mr. Bryan if he had some ideas about the project. Fortunately, he replied me with some designs and ideas that ha had. These design gave me better understanding of the project.

0.20 Release

After working 2 days on the Bug, I finally understood Mozilla database and regular expression in JavaScript. Finally, I released my patch with basic requirements for the bug on 8th Nov, 2008.

Big Big Comments

wow, I didn't expect these much long comments. Main issue was that I used Database for storing keywords. It was too much to use databases for this small amount of work. Comments suggested that I should use Mozilla reference system for storing CSV string which contains keywords. The other issue was to use spaces in place of tabs.


I replace my tabs with spaces. I had to learn how to use Mozilla reference System

O.22 Release

I tried for 10 Hrs. straight to learn Mozilla preference System. I had some issues that I couldn't solve. When I asked my issue to the channel, Sid0 came up with the solution. It was a wrong Chrome://URL. Everything else was done before. I just replace this code by database system code in 0.20 release and the code was ready to submit as 0.22 release. At last, I submitted the patch again on 15th Nov, 2008. I am going to make it more user friendly in the next patch.


0.2 Release

In fact I had two 0.2 releases. First release was on 8th Nov, 2008 as 0.2 release. But I had some efficiency issue which forced me to release 0.22 on 15th Nov, 2008 which was considering the comments made on 0.2.

0.3 Release

Fulfill comments made on 0.2 release.

Allow user to add Keywords that Thunderbird will look for in the body of the email.