File:  [mozdev] / annozilla / www / ToDo.html
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Sun Mar 4 09:35:42 2007 UTC (13 years, 4 months ago) by matthew
Branches: MAIN
CVS tags: HEAD

<h1>Annozilla 'to do' list</h1>
<h2>Short term</h2>
<li><strike>Move 'Server prefs' and 'Edit Site List' back into the main panel on Firefox</strike> (fixed in CVS)
<li>Don't write to window.status?
<li><strike>Rename "Post"/"Update" to "Save"</strike> (fixed in CVS)
<li>Make all sidebar options available via menu (not just context menu)
<li><strike>Fix memory leaks (3 objects leaked per window)</strike> fixed in CVS
<li>Are we slowing down new window/tab creation by loading so much code into the context menu? (use mozIJSSubScriptLoader?)
<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.
<li><strike>Autoloading for tabbed browsing?</strike> Implemented by CGH.
<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.
<li><strike>Remove extra nodes from DOM when a highlight is deleted. (At the moment we just remove the highlighting.)</strike>
<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
<li><strike>Integrate Firefox 2 built-in spelling checker.</strike> fixed in CVS
<li>Preference wizard for easy first-time setup. (In progress).
<li>Annotation passed to postAnnotationOnSuccess from remote server
  doesn't have proper annotation type; need to reload to get it
  and sometimes author is something like "rdf#mjAmH"

 postAnnotationOnSuccess-&gt;_insertAnnotationBefore, "type") is "Annotation"
 (default, not the proper value)

 see nsRemoteAnnotationsServer.js: RemoteTransmission.prototype.finishPost
   might have to do with incomplete info supplementation

<li> Might have to do with nasty new prefs code?
      (ContextMenu has trouble getting creator and type too)

  <li>iconClick-&gt;openEditorWindow-&gt;doesn't get fragment to add temporary icon
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: "&lt;unknown&gt;  data: no]

<li>IconManager trouble getting body from server?
      due to asynchronous body load: see loadBodyOnSuccess 
<li>Don't want to load annotation bodies during annotation loading (in general case - OK for local server)
<li>Remove server as default post server if that server is deleted from the list

<h2>Medium term</h2>
<li>In the Server Options panel, display "Local Server" not "urn:localserver" (if possible)
<li><strike>Use XBL language binding everywhere</strike> Now expecting to remove the language options from the UI
<li>Rework classes using model/view/controller terminology
<li>On sidebar load with no servers, make it easier to load the Server options panel
<li>Move multiple server support into an 'Advanced' panel???

<h2>Long term</h2>
<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
<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.)
<li>Test cases
<li>Unit tests

FreeBSD-CVSweb <>