version 1.2, 2006/12/08 21:01:43
|
version 1.16, 2008/07/20 08:25:01
|
Line 1
|
Line 1
|
<h1>Annozilla 'to do' list</h1> |
<h1>Annozilla 'to do' list</h1> |
<h2>Short term</h2> | <h2>Preferences</h2> |
| <ul> |
| <li>Preference wizard for easy first-time setup. (Now pretty much working I think, except, if Annozilla sidebar is open, the server settings don't seem to be used until after a restart - seems a bit of an edge case). |
| <li>Remove server as default post server if that server is deleted from the list |
| <li>"Basic" server prefs - is there any way we can set the data up only on "OK"? |
| <li>Remove username/password handling from Annozilla |
| <li>In the Server Options panel, display "Local Server" not "urn:localserver" |
| <li>Move multiple server support into an 'Advanced' panel. Underway. |
| (if possible) |
| </ul> |
| |
| <h2>Editor window</h2> |
| <ul> |
| <li><strike>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". |
| (We send RDF to the server and get back an annotation to indicate success; |
| however the annotation data is incomplete and so we try to supplement it |
| with the data we originally passed. The test on 'creator' goes wrong, |
| because we pass it as a literal and get it back as a resource. |
| We fail to overwrite the more "specific" type of "Comment" because the |
| "Annotation" type is already present.)</strike> Mostly fixed, but can |
| still be a problem with loading a newly-created annotation in a pop-up window. |
| <li>After creating a reply - or presumably after all other post/updates - |
| all open windows get their status updated to say "SUCCESS". Partial fix. |
| <li>Don't enable Save until "type" is populated |
| </ul> |
| |
| <h2>Structural</h2> |
| <ul> |
| <li>Convert "annotationLookups" into some kind of RDF thing which users could |
| install more types to. Maybe the icon lookup too? Update: started work, adding |
| annotationTypes.rdf and hooking this up to editor.xul. |
| <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>Rework classes using model/view/controller terminology. (Underway as part of the |
| tabbed browsing support.) |
| </ul> |
| |
| <h2>UI</h2> |
<ul> |
<ul> |
<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>Don't write to window.status? |
<li>Make all sidebar options available via menu (not just context menu) |
<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><strike>Use XBL language binding everywhere</strike> Now expecting to |
<li>Are we slowing down new window/tab creation by loading so much code into the context menu? (nsISubscriptLoader or whatever it's called) | remove the language options from the UI |
</ul> |
</ul> |
|
|
<h2>Medium term</h2> | <h2>Errors</h2> |
<ul> |
<ul> |
<li>Use XBL language binding everywhere | <li>Annozilla fails with "error loading annotations" during loading of |
<li>Rework classes using model/view/controller terminology | annotations if there is an annotation that has no context property. |
<li>On sidebar load with no servers, make it easier to load the Server options panel | (This property is not a requirement for annotations, I think.) |
| <li>Also, it would be better if annozilla tried to continue the loading of |
| annotations if one annotation is "malformed". |
| <li>iconClick->openEditorWindow->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: "<unknown> data: no]. |
| (Does it need it? The condition in the code doesn't seem to match the error message.) |
| Updated code, some errors now reported to console. |
| <li>When creating an annotation, an icon is supposed to be inserted into the |
| document, but this fails. |
| <li>Invoke "load annotation" twice - get annotations appearing twice in sidebar |
</ul> |
</ul> |
|
|
<h2>Long term</h2> | <h2>Others</h2> |
<ul> |
<ul> |
<li>XBL for annotation icons and/or highlights | <li>Implement Reply/Check for Replies for LocalServer. |
| <li>No reason for there to be (internally) two buttons for Save on the editor window. |
<li>Test cases |
<li>Test cases |
<li>Unit tests |
<li>Unit tests |
</ul> |
</ul> |
|
|
|
<h2>Fixed issues</h2> |
|
<li><strike>"Check for replies" as available as a context menu option, even on a reply</strike> |
|
<li><strike>"test " turned into "test " when saving local annotation.</strike> Update: seems |
|
to have started working in beta 3? |
|
<li><strike>Show annotation title (not text of annotated region) in sidebar</strike> |
|
<li><strike>User-editable annotation titles</strike> |
|
<li><strike>In beta 3, editor shows XML error, because of changes to textcontext.dtd.</strike> |
|
Resulting changes make the code incompatible with beta 1/2 and earlier. |
|
<li><strike>In beta 3, the "Annozilla" text disappears from the Sidebar menu |
|
(although the menu option is present and works). The "Bookmarks" text also vanishes! |
|
(Don't know why.)</strike> |
|
<li><strike>Improved behavior for tabbed browsing (autoload for multiple tabs at once etc.) |
|
This works well now. The sidebar throbber doesn't always get updated correctly though, |
|
and some methods don't care about the "target" parameter when they probably should.</strike> |
|
<li><strike>After opening an annotation in a window, "delete" works but doesn't close the window |
|
when finished. Update: removing this functionality (auto-close of window) anyway.</strike> |
|
<li><strike>Replies don't properly consider "threadRoot".</strike> |
|
<li><strike>Load a page in a new tab and create annotation: get |
|
ERROR currentAnnotations is null. Update: set model.js to auto-create an empty |
|
object as required. Fixed now I think.</strike> |
|
<li><strike>"Delete" from an open editor window confuses things a bit: no status |
|
indicator in open editor window, get error "undefined" when the deletion completes, |
|
sidebar starts saying "Waiting for -1 servers"</strike> |
|
<li><strike>Can't see replies to replies (created in Amaya)</strike> |
|
<li><strike>Format dates sensibly</strike> Fixed (in sidebar) |
|
<li><strike>It shouldn't be possible to change server when replying.</strike> Fixed. |
|
<li><strike>"Check for Replies" only seems to add one item to the sidebar</strike> |
|
<li><strike>When opening an annotation window, makeUpdate() gets called to create a function, |
|
but it looks like it gets called at startup as well as after the success or failure |
|
of an operation. Is it supposed to? Update: YES.</strike> |
|
<li><strike>Change from Local to Remote server and load annotations: old annotation icons and highlighting are not removed. (They are removed from the sidebar list correctly.)</strike> Fixed in CVS. |
|
<li><strike>"Basic" server prefs - got the following setting up a remote server: |
|
<pre>Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://annozilla/content/prefs/pref-annozilla-servers.js :: setBasicServer :: line 429" data: no]</pre></strike> Fixed in CVS. |
|
<li><strike>After changing server types and trying to select an annotation icon, get the error "Unable to delete the selected annotation due to an internal error. Try reloading the annotations for the page." - but I was only attempting to open the annotation, not delete it. (These errors are not properly localised anyway.)</strike> Fixed in CVS. |
|
<li><strike>Move 'Server prefs' and 'Edit Site List' back into the main panel on Firefox</strike> (fixed in CVS) |
|
<li><strike>Rename "Post"/"Update" to "Save"</strike> (fixed in CVS) |
|
<li><strike>Fix memory leaks (3 objects leaked per window)</strike> fixed in CVS |
|
<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><strike>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.</strike> Fixed, but other scenarios exist where this could be problematic. |
|
<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><strike>No animation when deleting annotation. Update: fixed for delete, but the sidebar |
|
ends up saying "Annotations loaded OK".</strike> |
|
<li><strike>When loading up an editor window, the buttons shouldn't be enabled until |
|
the document has finished loading. Pretty much works I think. But if you post a |
|
new annotation, then "Save" should effectively be an update, not a new Post</strike> |
|
<li><strike>After saving an annotation, "delete" should be available. (But after "delete", |
|
you shouldn't be able to save).</strike> |
|
<li><strike>nsIAnnotationMetadata doesn't deal with multiple values, eg multiple types</strike> Fixed for types only. |
|
<li><strike>"When listing the replies in the sidebar, the annotated region is determined |
|
based on the wrong document (the main browser page instead of the annotation).</strike> |
|
<li><strike>On sidebar load with no servers, make it easier to load the Server options |
|
panel</strike> There's an "Options" menu item now. |
|
<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 |