MailNews:Address Book RoadMap
From MozillaWiki
| Resources |
|---|
| MailNews Homepage |
| Address Book Homepage |
| Roadmap |
| Help Wanted |
| LDAP Address Books |
| Code Structure |
| Bug Locations |
| Related Standards |
Contents |
The purpose of this page is to provide a guide to where various aspects of Thunderbird/SeaMonkey may proceed to improve the address book and the various advantages of each step.
This is not an agreed roadmap, nor is it a statement of what Thunderbird/SeaMonkey will definitely do.
Back-end Interface Re-organisation [edit]
Design: MailNews:Address Book Interface Redesign
Main bug is bug 413260
Current Steps (based partially on jcranmer's patch queue):
- Make the nsIAbCard interface more flexible for new properties and different types (patch awaiting review from dmose).
- Start refactoring nsIAbDirectory into nsIAbCollection.
- Implement the propertiesChrome function for opening AB property dialogs
- Move cardForEmail from Mork specific code to generic code.
- Separate mailing lists from directories and cards into their own object.
- Decide on interfaces for address book interactions and compatibility with async/sync address books.
- Implement new interfaces from previous item.
Advantages:
- New interfaces will make it much easier to interact with the address book.
- Interfaces are designed to make interfaces generic across different address book types. They should hide the fact that you're talking to a LDAP book, or an OS X directory.
- Prepares for moving to SQLite.
Current Status:
- Patches blocked by awaiting review on step 1.
- Standard8 needs to find time to discuss async/sync interfaces with dmose in more detail.
Writable LDAP [edit]
Very much wanted by lots of people.
bug 86405 is the main tracking bug.
Current Steps:
- Once AB Interface redesign has completed the async/sync interfaces, implement appropriate hooks for LDAP (if not already there).
- Implement any required UI tweaks/improvements.
Advantages:
- Provides a good solution for users (mainly corporate/small networks?) to share address books.
Current State:
- Writable LDAP source code is in cvs, enabled by compilation switch.
- UI is no where near usable by end-users or advanced users (i.e. don't even think about it to be enabled by default).
Remove RDF from the Address Book [edit]
Being able to do this partially depends on the interface back-end redesign, but will also help that.
Current Steps:
- bug 422845 Replace RDF-driven address book tree with js one (waiting on jminta, busy until June).
- Re-use the new tree for other address book menus (including address book and LDAP preferences).
- Replace any other RDF instances (none?) or uses.
- Remove RDF from the address book, at the same time, replace the current preferences system with a new one (based more on flexibility of address book types). New system to be based in nsAbManager.
Advantages:
- Removes "obsolete" RDF interfaces from address book
- Tidies up a lot of code and removes some old items
- Different address book types could be fully implemented in extensions in javascript bug 424218 (TB 3 blocker).
Switch Mork to SQLite [edit]
See bug 382876
Current Steps:
- Create an SQL backend for addressbook
- Modify code to use generic directory accesses where not already doing so (part of the interface and bug 413260 as well
- Write a conversion to translate mork to SQL using a new morkreader bug 424446
- Remove the old mork code
Advantages:
- SQLite is much more widely supported by other tools than mork
- SQLite allows us to use mozStorage, which could increase our future flexibility
- Any proposed schema will be simpler than the current mork addressbook schema
Current status:
- The new morkreader is being slowly recreated due to its loss in a tragic accident.
- Initial work blocking on nsIAbCard-portion of interface reorg; full work blocking on mailing list sanity.
- The schema is not yet finalized, and probably will not be finalized until after the interface reorg.
Implement providers for different address book card translations [edit]
Steps:
- Once step 1 of redesign (nsIAbCard) is complete, implement code to change providers.
Advantages:
- This would allow different card translations e.g. nsIAbCard to vCard/hCard etc.
- Extensions could add to the formats available.
Current Status:
- Blocked by nsIAbCard refactoring.
- Standard8 knows what he wants to do to put this together.
UI updates [edit]
- Standard8 driving:
- bug 397811 UI to Enable/Disable Mac OS X AB interface
- Changing the default address books (Newsgroup thread)
- Probably be wrapped up into the rdf removal
- clarkbw driving:
- Names on address book cards (Newsgroup thread)
- Addresses on address book cards (Newsgroup thread)
- No owner/timescale:
- Photo on contacts (Newsgroup Thread)
- bug 13595 Add Birthday Field, TB 3.0 blocker
- bug 63941 New Card layout shouldn't assume high screen resolution (blocked by other UI rework?)
