Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cita menu for group libraries #193

Closed
VladimirAlexiev opened this issue Oct 17, 2022 · 4 comments · Fixed by #211
Closed

Add Cita menu for group libraries #193

VladimirAlexiev opened this issue Oct 17, 2022 · 4 comments · Fixed by #211
Assignees

Comments

@VladimirAlexiev
Copy link

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
Copy link
Owner

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
Copy link
Author

@diegodlh

  • Zotero 6.0.16 on Windows & Chrome, Cita 0.4.0 (1 Nov 2022)
  • The library is https://www.zotero.org/groups/3007408/semantic_bim, open for anyone to join
  • It doesn't have storage, and I thought that might make a difference, but I tried on a couple other libraries that have storage, and I still don't see the menu.

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
Copy link
Author

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

  • No effect on the menus
  • I again get this error. Who is bluebird?
[JavaScript Warning: "unreachable code after return statement" {file: "resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js" line: 205 column: 4 source: "    eval(obj);
"}]

@Dominic-DallOsto Dominic-DallOsto self-assigned this Nov 12, 2022
@Dominic-DallOsto Dominic-DallOsto changed the title add Cita menu at library level add Cita menu for group libraries Nov 12, 2022
@Dominic-DallOsto Dominic-DallOsto changed the title add Cita menu for group libraries Add Cita menu for group libraries Nov 12, 2022
@Dominic-DallOsto
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants