UbuntuOneFirefoxBookmarkSyncing

Differences between revisions 11 and 12
Revision 11 as of 2009-06-16 16:35:46
Size: 3391
Editor: pool-96-248-6-186
Comment:
Revision 12 as of 2009-06-16 20:28:08
Size: 3072
Editor: pool-96-248-6-186
Comment:
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like: Firefox extensions are bundles of XML, Javascript, and auxiliary resources.
Line 53: Line 53:
Code changes should include an overview of what needs to change, and in some cases even the specific details. N/A
Line 61: Line 61:
It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage. 1. Enable the extension
Line 63: Line 63:
This need not be added or completed until the specification is nearing beta. 2. Allow extension to sync bookmarks

3. Verify through CouchDB's REST API that bookmarks are there.

4. Add bookmark in browser.

5. Enable the extension on another computer.

6. Verify that new bookmark is present on another computer after sync.

Summary

We will create a Firefox extension that will enable syncing of bookmarks to UbuntuOne by storing them in the local CouchDB instance (replication of that content is out of scope of this plugin, and is presumably already established functionality). Since the local CouchDB instance operates on a known port, and Firefox 3+ provides bookmark (Places) modification events we can observe, there's no need for any preferences UI.

Release Note

You can now sync your Firefox bookmarks with UbuntuOne.

Rationale

Bookmarks are precious data, and are more useful when shared and easily replicated between machines.

User stories

Initial Sync

Alice has two machines in her house, a desktop and a netbook. Both run Ubuntu Karmic, and she has an UbuntuOne account. She enables bookmark syncing on her desktop computer, and the plugin first syncs the existing bookmarks with UbuntuOne.

The Second Machine

Alice enables bookmark syncing on her netbook, and the plugin syncs existing bookmarks, merging them from UbuntuOne if necessary. Now her bookmarks on the netbook are identical to the bookmarks on the desktop.

The Coffee Shop

Alice takes her netbook to the coffee shop to meet a potential client. He shows her some sites he's mocked up, and she bookmarks them for later research. When she returns home, the new bookmarks are already available on her desktop version of Firefox.

Assumptions

Conflict resolution is handled by CouchDB. This extension just pulls and pushes the collection of bookmarks.

Design

You can have subsections that better describe specific parts of the issue.

Implementation

Firefox extensions are bundles of XML, Javascript, and auxiliary resources.

UI Changes

This first version will have little to no UI. Since we're operating on a known port and we'll be responding to javascript events, we don't need to establish host/port or frequency.

Code Changes

N/A

Migration

N/A

Test/Demo Plan

1. Enable the extension

2. Allow extension to sync bookmarks

3. Verify through CouchDB's REST API that bookmarks are there.

4. Add bookmark in browser.

5. Enable the extension on another computer.

6. Verify that new bookmark is present on another computer after sync.

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion

Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.


CategorySpec

UbuntuOneFirefoxBookmarkSyncing (last edited 2009-06-16 20:28:08 by pool-96-248-6-186)