Difference between revisions of "User:Mikey/project3"
(→Project Details) |
(→Project News) |
||
Line 21: | Line 21: | ||
[https://bug528508.bugzilla.mozilla.org/attachment.cgi?id=417622 0.3 Release]: | [https://bug528508.bugzilla.mozilla.org/attachment.cgi?id=417622 0.3 Release]: | ||
This patch provides the functionality in concatenating the opened folder tabs' titles with their number of unread messages. As long as the user is on the screen, all tabs displaying the current folder will be updated with the current number of unread messages in the folder. A new function, refreshTabTitles(), in the tabmail.xml - which has similar code as to the setTabTitle() - is used with an event listener whenever the user is on the screen. | This patch provides the functionality in concatenating the opened folder tabs' titles with their number of unread messages. As long as the user is on the screen, all tabs displaying the current folder will be updated with the current number of unread messages in the folder. A new function, refreshTabTitles(), in the tabmail.xml - which has similar code as to the setTabTitle() - is used with an event listener whenever the user is on the screen. | ||
+ | |||
+ | '''Unresolved Problem''' | ||
+ | |||
+ | Many attempts were made in order to make the (N) bold. For example, adding and trying to access a new label to the [http://mxr.mozilla.org/comm-central/source/suite/mailnews/tabmail.xml#920 tabmail's tab] to later apply CSS rules to it. Unfortunately, it could not be solved. |
Revision as of 01:25, 15 December 2009
Contents
Project Name
Bug 528508 - In folder tabs, indicate unread count in tab title
Project Description
This project involves adding a new feature to the folder tabs' titles. This feature will indicate the title, but, as well, the unread messages in the folders. For example, if the inbox folder is currently being viewed and contains nine unread messages, it would show "Inbox (9)". In addition, the number wrapped in brackets would be bolded.
Project Leader(s)
Project Contributor(s)
Project Details
When a tab is opened, it must show the title's text followed by the number of unread messages (N). The function,folderDisplay.js's FolderDisplayWidget_show, uses the tabmail.xml's setTabTitle to assign the title's text to the tab's label attribute. By modifying parts of this code, I can concatenate the (N) with the text.
An issue that will have to be addressed is separating the two parts of the tab's title into different fonts.
Another issue that needs to be addressed is updating all tabs using the current folder.
Project News
0.3 Release: This patch provides the functionality in concatenating the opened folder tabs' titles with their number of unread messages. As long as the user is on the screen, all tabs displaying the current folder will be updated with the current number of unread messages in the folder. A new function, refreshTabTitles(), in the tabmail.xml - which has similar code as to the setTabTitle() - is used with an event listener whenever the user is on the screen.
Unresolved Problem
Many attempts were made in order to make the (N) bold. For example, adding and trying to access a new label to the tabmail's tab to later apply CSS rules to it. Unfortunately, it could not be solved.