1: <h1>Annozilla 'to do' list</h1>
2: <h2>Short term</h2>
4: <li><strike>Move 'Server prefs' and 'Edit Site List' back into the main panel on Firefox</strike> (fixed in CVS)
5: <li>Don't write to window.status?
6: <li><strike>Rename "Post"/"Update" to "Save"</strike> (fixed in CVS)
7: <li>Make all sidebar options available via menu (not just context menu)
8: <li><strike>Fix memory leaks (3 objects leaked per window)</strike> fixed in CVS
9: <li>Are we slowing down new window/tab creation by loading so much code into the context menu? (use mozIJSSubScriptLoader?)
10: <li><strike>Get <code>"Stylesheet annotations.css not found: using chrome://annozilla/content/annotations.css"</code> in error console.</strike> Update: this is intended behaviour, however I have removed the logging to the console.
11: <li><strike>Autoloading for tabbed browsing?</strike> Implemented by CGH.
12: <li>From an empty sidebar (showing "No annotations loaded"), create an annotation without first loading the annotations for the page. The new annotation is added for the list but "No annotations loaded" is still present.
13: <li><strike>Remove extra nodes from DOM when a highlight is deleted. (At the moment we just remove the highlighting.)</strike>
14: <li>Open annotation window by double-clicking on icon opens window at unreasonably small size. <strike>Or sometimes get "Sorry, couldn't download the annotation body."</strike> - fixed by allowing multiple annotation windows
15: <li><strike>Integrate Firefox 2 built-in spelling checker.</strike> fixed in CVS
16: <li>Preference wizard for easy first-time setup. (In progress).
17: <li>Annotation passed to postAnnotationOnSuccess from remote server
18: doesn't have proper annotation type; need to reload to get it
19: and sometimes author is something like "rdf#mjAmH"
22: annotation.data.getProperty(IconManager.RDF_NS, "type") is "Annotation"
23: (default, not the proper value)
25: see nsRemoteAnnotationsServer.js: RemoteTransmission.prototype.finishPost
26: might have to do with incomplete info supplementation
28: <li> Might have to do with nasty new prefs code?
29: (ContextMenu has trouble getting creator and type too)
31: <li>iconClick->openEditorWindow->doesn't get fragment to add temporary icon
32: Error: [Exception... "'openEditorWindow requires either a fragment or an existing annotation' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown> data: no]
34: <li>IconManager trouble getting body from server?
35: due to asynchronous body load: see loadBodyOnSuccess
36: <li>Don't want to load annotation bodies during annotation loading (in general case - OK for local server)
37: <li>Remove server as default post server if that server is deleted from the list
40: <h2>Medium term</h2>
42: <li>In the Server Options panel, display "Local Server" not "urn:localserver" (if possible)
43: <li><strike>Use XBL language binding everywhere</strike> Now expecting to remove the language options from the UI
44: <li>Rework classes using model/view/controller terminology
45: <li>On sidebar load with no servers, make it easier to load the Server options panel
46: <li>Move multiple server support into an 'Advanced' panel???
49: <h2>Long term</h2>
51: <li><strike>XBL for annotation icons and/or highlights</strike> Doesn't seem to be possible because we can't bind to arbitrary text nodes
52: <li>The 'fastback' feature would presumably leave annotation icons/highlights in the document but not held by Annozilla. Could the annotation data be held in the document, with DOM UserData? (speculation, I don't know whether this is possible.)
53: <li>Test cases
54: <li>Unit tests