Closed Bug 148419 Opened 22 years ago Closed 13 years ago

Location for calendar should be autocompleted from address book

Categories

(Calendar :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 181249

People

(Reporter: mgabriel, Unassigned)

Details

(Keywords: mail-integration)

it would be great if calendar was able to taka data from the mozilla address
book with auto completion for the "location" info of an event
If someone wants to take this on, please go ahead.
Assignee: mikep → nobody
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Calendar should be able to take event data from the moz address book → [RFE] Calendar should integrate with Mozilla's address book
The addressbook has no single field to use for 'location', what information 
should be used for autocomplete location? Maybe a special list of locations 
for Calendar would be more usefull, storing all used locations. A similar list 
could be used for a future autocomplete of categories. Code for  storing and 
managing a list for categories is probably needed anyway.

I took a quick look at the autocomplete widgets, but this is not as trivial as 
it looks.
It is very easy to add an autocomplete with the name/email's of the 
addressbook, but nsIAbAutoCompleteSession addressbook autocompleet interface 
has no properties to use other fields, so a new autocomplete class should be 
written.

Info about autocomplete widget:
http://www.xulplanet.com/tutorials/xultu/elemref/ref_textbox_autocomplete.html
See also bug 13595 : '[Feature] Add birthday fields to address book'
Another possibility might be simply make the addressbook autocomplete class be
configurable rather than writing a new class.
Summary: [RFE] Calendar should integrate with Mozilla's address book → Location for calendar should be autocompleted from address book
This is a good idea.  There needs to be a way of creating new locations and
allowing the user to pick from a list of stored locations.  Using the addresses
from the address book is a good way to accomplish this.
(In reply to comment #5)
> This is a good idea.  There needs to be a way of creating new locations and
> allowing the user to pick from a list of stored locations.  Using the addresses
> from the address book is a good way to accomplish this.
However I would recommend to use a global, internationally accepted location list to select from i.e. UPU S42 (see: http://microformats.org/wiki/location-formats#vCard_.26_hCard). This can be trunctated+extended by the adresses commonly used by the user (renaming of adresses).
QA Contact: colint → sunbird
I work on an autocomplession process for Calendar:
https://bugzilla.mozilla.org/show_bug.cgi?id=181249

I think from this autoComleteSearch component we can
easily make a particular process for location completion
from Thunderbird.
Component: Sunbird Only → General
QA Contact: sunbird → general
With Gloda this might be a bit easier to do.
It may be an idea to present a list of address book entries that have any address information provided (e.g. private or work) and then select from these.  This would give the integration with the address book (well for my needs anyway).

The idea of also providing an additional list for the users to pick from is good as well but some thought might be needed as to how this list is available for those that use remote calendars that do not support locations.  Maybe to read the LOCATION field in the VEVENT block to give a previously used list?

Unfortunately my coding skills are negligible so can't take this one on. :(
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.