diegodlh / zotero-cita

Cita: a Wikidata addon for Zotero with citations metadata support
GNU General Public License v3.0
232 stars 12 forks source link

Add Cita menu for group libraries #193

Closed VladimirAlexiev closed 1 year ago

VladimirAlexiev commented 2 years ago

The Cita context menu appears only at collection level. But at least some items (Fetch QIDs, Sync with Wikidata, etc) apply at the Library level, so it should also be available there.

diegodlh commented 2 years ago

I'm seeing the Cita context menu at the library level using Zotero 6.0.16-beta.3 (an old version, I know) on Linux, and Cita v0.3.3. Could you confirm Zotero and Cita version you are using?

Is this a group library by the way? I don't see the Cita context menu either. If yes, we may further specify so in the title of this task.

VladimirAlexiev commented 1 year ago

@diegodlh

Illustrations: library level image

Collection level: image

All addons: image

Errors in console:

1667916961947   addons.xpi  WARN    Ignoring invalid targetApplication entry in install manifest
[JavaScript Warning: "unreachable code after return statement" {file: "resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js" line: 205 column: 4 source: "    eval(obj);
"}]
[JavaScript Warning: "unreachable code after return statement" {file: "chrome://zotero/content/zoteroPane.js" line: 5962}]
[JavaScript Warning: "starting BBT"]
[JavaScript Warning: "Unknown property ‘tab-size’.  Declaration dropped." {file: "resource://zotero/note-editor/editor.css" line: 1}]
# and a bunch more from note-editor 

If I clear the log, then invoke the library and collection menus, no errors appear in the log.

Should I disable the other addons and try again?

VladimirAlexiev commented 1 year ago

@diegodlh Disabled all plugins but LibreOffice and Word integrations (which are builtin).

Dominic-DallOsto commented 1 year ago

I fixed this in the new beta release, v0.5.2. It was a problem with all group libraries not being detected as libraries because Zotero handles them a bit differently.