zotero/chrome/chromeFiles/content/scholar
Dan Stillman 14b24f3638 Closes #259, auto-complete of tags
Addresses #260, Add auto-complete to search window

- New XPCOM autocomplete component for Zotero data -- can be used by setting the autocompletesearch attribute of a textbox to 'zotero' and passing a search scope with the autocompletesearchparam attribute. Additional parameters can be passed by appending them to the autocompletesearchparam value with a '/', e.g. 'tag/2732' (to exclude tags that show up in item 2732)

- Tag entry now uses more or less the same interface as metadata -- no more popup window -- note that tab isn't working properly yet, and there's no way to quickly enter multiple tags (though it's now considerably quicker than it was before)

- Autocomplete for tags, excluding any tags already set for the current item

- Standalone note windows now register with the Notifier (since tags needed item modification notifications to work properly), which will help with #282, "Notes opened in separate windows need item notification"

- Tags are now retrieved in alphabetical order

- Scholar.Item.replaceTag(oldTagID, newTag), with a single notify

- Scholar.getAncestorByTagName(elem, tagName) -- walk up the DOM tree from an element until an element with the specified tag name is found (also checks with 'xul:' prefix, for use in XBL), or false if not found -- probably shouldn't be used too widely, since it's doing string comparisons, but better than specifying, say, nine '.parentNode' properties, and makes for more resilient code


A few notes:

- Autocomplete in Minefield seems to self-destruct after using it in the same field a few times, taking down saving of the field with it -- this may or may not be my fault, but it makes Zotero more or less unusable in 3.0 at the moment. Sorry. (I use 3.0 myself for development, so I'll work on it.)

- This would have been much, much easier if having an autocomplete textbox (which uses an XBL-generated popup for the suggestions) within a popup (as it is in the independent note edit panes) didn't introduce all sorts of crazy bugs that had to be defeated with annoying hackery -- one side effect of this is that at the moment you can't close the tags popup with the Escape key

- Independent note windows now need to pull in itemPane.js to function properly, which is a bit messy and not ideal, but less messy and more ideal than duplicating all the dual-state editor and tabindex logic would be

- Hitting tab in a tag field not only doesn't work but also breaks things until the next window refresh.

- There are undoubtedly other bugs.
2006-09-07 08:07:48 +00:00
..
admin Forcing a trunk version bump for upgrade testing (sorry, it's easier than the alternatives) 2006-09-01 16:17:46 +00:00
bindings Closes #259, auto-complete of tags 2006-09-07 08:07:48 +00:00
ingester closes #267, MODS export option uses an rdf extension (should be xml) 2006-09-04 22:57:23 +00:00
test Clean up the test pages 2006-08-30 08:26:06 +00:00
xpcom Closes #259, auto-complete of tags 2006-09-07 08:07:48 +00:00
about.xul - Updated outward-facing "Scholar" references to "Zotero", along with a few of the internal ones that could be problematic to change later (DB, directory, GUID) -- let me know if I missed any 2006-08-30 07:05:57 +00:00
bibliography.js closes #218, Windows support for Word integration. this solution seems to work with both Word 2003 and Word 2007. i have not tested with earlier versions. Zotero.dot is the Windows verison; Zotero.dot.dmg is the Mac version. the only difference is the function call used to perform SOAP requests. 2006-09-04 08:06:04 +00:00
bibliography.xul closes #183, export bibliography to RTF 2006-08-14 21:54:45 +00:00
exportOptions.js closes #267, MODS export option uses an rdf extension (should be xml) 2006-09-04 22:57:23 +00:00
exportOptions.xul closes #267, MODS export option uses an rdf extension (should be xml) 2006-09-04 22:57:23 +00:00
fileInterface.js closes #250, figure out proper text encodings for import/export 2006-09-05 07:51:55 +00:00
fileProgress.xul - closes #130, add progress bar for import/export 2006-08-02 21:06:58 +00:00
include.js - Updated outward-facing "Scholar" references to "Zotero", along with a few of the internal ones that could be problematic to change later (DB, directory, GUID) -- let me know if I missed any 2006-08-30 07:05:57 +00:00
integrationDocPrefs.xul - modifications to citation engine's handling of localized strings 2006-08-30 04:00:19 +00:00
itemPane.js Closes #259, auto-complete of tags 2006-09-07 08:07:48 +00:00
itemPane.xul Addresses #63, Add ECL license info to source code 2006-08-30 06:00:44 +00:00
note.js Closes #259, auto-complete of tags 2006-09-07 08:07:48 +00:00
note.xul Closes #259, auto-complete of tags 2006-09-07 08:07:48 +00:00
overlay.js Don't allow new attachments through New Item menu 2006-08-31 22:45:14 +00:00
overlay.xul Don't disable "View Attachment" button for links, and change the text to "View File" or "View Link" depending on what's selected 2006-08-31 22:14:13 +00:00
preferences.js Addresses #63, Add ECL license info to source code 2006-08-30 06:00:44 +00:00
preferences.xul Addresses #63, Add ECL license info to source code 2006-08-30 06:00:44 +00:00
searchDialog.js Addresses #63, Add ECL license info to source code 2006-08-30 06:00:44 +00:00
searchDialog.xul Addresses #63, Add ECL license info to source code 2006-08-30 06:00:44 +00:00
selectItemsDialog.js closes #218, Windows support for Word integration. this solution seems to work with both Word 2003 and Word 2007. i have not tested with earlier versions. Zotero.dot is the Windows verison; Zotero.dot.dmg is the Mac version. the only difference is the function call used to perform SOAP requests. 2006-09-04 08:06:04 +00:00
selectItemsDialog.xul Addresses #63, Add ECL license info to source code 2006-08-30 06:00:44 +00:00