Available for beta testing: Zotero Connector target selector

In the latest beta of the Zotero Connector for Firefox, it's now possible to choose which library or collection to save items to as well as add tags directly from the Zotero Connector, without switching to Zotero. You'll need the latest version of Zotero, 5.0.43, for full functionality.

This is what it looks like: https://www.dropbox.com/s/c8hkusi9ebxt015/target-selector.png?dl=0

The Connector will save to the selected collection in Zotero as before, but you can select a new destination from the popup to move the items there, which will also update the selection in Zotero (so that the next save will go to the same place by default). The popup appears collapsed initially, with recent save targets displayed in the drop-down menu. Clicking the disclosure button in the top-right will expand the popup to show your library/collection tree and also allow you to enter tags.

More details:

  • For single-item pages, once the popup closes, as long as you remain on the page and don't reload, clicking the save button again will simply reopen the popup and allow you to make further changes rather than saving another copy. If you choose a different translator or you're on a page with a folder icon, you'll get a new popup.

  • Syncing won't kick in as long as the popup is open, which should help prevent accidentally uploading items to the wrong library.

  • If items were originally saved to a library that doesn't allow files and you then select a library that does, the save will be performed again with file-saving enabled. If you go the other direction, the attachments will be removed.

  • If something goes wrong while updating the destination in Zotero (not unlikely in the beta), the popup will currently revert to a collapsed read-only view. (We can probably do something better than that.)

  • Some of the handling around multiple-item saves and save errors still needs to be improved.

  • We'll be making other improvements (a better drop-down with proper icons, +/- support for expanding/collapsing collections, maybe a collection search) in upcoming versions.

  • This currently only works when saving to Zotero, though a future version might work when saving to the online library.

If you try this out, let us know how it works for you and if you run into any trouble.
  • Just a quick try, FF 58.0.2. on Ubuntu 16.04, Zotero 5.0.43 -- this isn't working for me so far.

    Trying to save from
    https://www.nytimes.com/2018/04/01/technology/blockchain-uses.html?hp&action=click&pgtype=Homepage&clickSource=story-heading&module=second-column-region&region=top-news&WT.nav=top-news


    - verified that this saving with the regular connector works on this setup
    - when I click the URL bar icon, two translator icons appear (see screenshot: https://imgur.com/a/NcFZ8). I think that's because the NY Times translator errors and it then tries EM
    - When I try to select a collection by clicking on the arrow to the right it briefly shows the collections but I can't actually select one
    - nothing saves

    Debug ID for clicking the translator icon D248299838

  • Type error for parameter details (Unexpected property "firstPartyDomain") for cookies.getAll
    @adamsmith: Oh, that's mostly unrelated to this (other than what I said about error handling needing work). It looks like my First-Party Isolation fix in the beta broke saving in Firefox 58. I'll fix that, but try in 59 if you can.
  • 5.0.36beta3 fixes saving in Firefox 58 and earlier.

    It looks like save errors aren't being displayed properly in the popup, so we'll fix that as well.
  • Thanks. Looks like it's working now.

    I know you're working on this, but just confirming that multiples are confusing -- it's unclear which dialog I should start with and then the collection selection one can vanish if I don't get to it quickly enough. Also agree that UI isn't ideal yet.

    And just to confirm I'm seeing intended behavior in general -- the dialog should stick around for ~5secs and then disappear (having saved to the collection currently selected in Zotero)?
  • I know you're working on this, but just confirming that multiples are confusing -- it's unclear which dialog I should start with and then the collection selection one can vanish if I don't get to it quickly enough.
    Yep. (For now, as long as you make your item selections first, it should work as intended.)
    And just to confirm I'm seeing intended behavior in general -- the dialog should stick around for ~5secs and then disappear
    The popup will stay open as long as your mouse is over it. Once you leave it, it will close after 2.5 seconds. You can click Done in the expanded view to close it immediately. Some of the behavior around closing probably requires tweaking — e.g., it shouldn't save 2.5 seconds after the cursor leaves if it's still in the process of saving.
  • Display of error messages is fixed in 5.036beta4.
  • Great ! :)
    I've a question: does it mean that such a library and collection menu allow us to add references without having Zotero effectively opened ?
  • @archi02: You can still save directly to the online library, as before, but to use the target selector (and for the best saving results) Zotero needs to be open. But that's what I'm referring to above when I say that in a future version it may be possible to use this when saving directly to the online library.
  • No. Currently it requires Zotero to be open, but you don’t have to switch windows to select the collection. On Mac, you can close the Zotero window with the red button and keep it running in the background.
  • Quickly tested here, everything works globally great (Ubuntu 16.04.4, Firefox 59.0.2 64bits, Zotero 5.0.43). I really appreciate the ability to reopen the connector after an import to change the location of the reference !

    However, I don't quite understand how the importing panel is supposed to close. There are cases when a outside click doesn't close it, so I frequently have to pull down the menu to reach the Done button. Another thing that is confusing: is it normal that the panel remains open after I've switched to another tab ?

    Another question : is it normal if the connector isn't already translated (here, in French) ? I suppose so, but just in case I prefer to ask.
  • edited 19 days ago
    @archi02: There was a bug in the latest beta version that prevented the panel from closing automatically. In 5.0.36beta6 it should close on its own more or less the same way that the previous popup did, with the main difference being that, if your mouse is over the popup (to interact with the target selector), it won't close. We may make some additional changes to allow you to close the collapsed popup manually.
    Another thing that is confusing: is it normal that the panel remains open after I've switched to another tab ?
    With that bug fix, it should close as long as you don't your mouse over the tab and then switch to another tab with the keyboard (but we'll fix that too).
    Another question : is it normal if the connector isn't already translated (here, in French) ?
    Yeah, the target selector is part of the connector, which isn't currently localized. But there's obviously more UI to interact with now, we're going to try to localize at least the target selector soon.
  • Quickly tested the beta7 this morning. All right, the popup close much better. Its behaviour seems now totally normal.

    Other question, which isn't crucial, but it hurt my eyes (!) : the font used for displaying the titles of personal collections and libraries are slightly different than the one used for the labels of the popup (the latter being properly the one used for all Firefox menus). In the specific area of the personal collections list, the font seems to be a 'condensed' one. Is it intentional ?
  • Tested singles on this Chromium, with Zotero 5.0.44:

    Version 65.0.3325.181 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

    I find myself craving a little more control. Rolling the cursor off the popup allows the download to go forward, but there doesn't seem to be any way to cancel. I kind of expected the Enter key to force the download, and Esc to cancel.
  • We've made a number of improvements in recent betas:

    1) The popup is now hidden when the Select Items window is displayed.

    2) We've fixed various bugs with the drop-down at the top for choosing among recent targets.

    3) The target selector is now localized in a number of languages (including French).

    4) The whole popup now uses the system font, which should match the rest of the browser UI. (Previously, only the tree did.)
  • edited 8 days ago
    It works great for me in general! One glitch I encountered with FF 60, Zotero 5.0.36beta11: When I closed Zotero and click on the Zotero button in Firefox, nothing happens. There is _no_ "Is Zotero running?" for me. AFAIK I translated these strings yesterday for German, but I would expect to use the English ones instead, if they are not yet ready.
  • @zuphilip: I'm not sure I'm understanding. Do you mean there's no "Is Zotero running?" for you? (And absence of localized strings shouldn't have any effect on functionality.) If you mean that you're not getting the usual dialog, can we see a Report ID from the Connector?
  • edited 8 days ago
    Oh, I can reproduce that, though. We might have broken that in a recent beta. We'll take a look.
  • Okay, thanks, yes, that is the problem. (Sorry for the confusion, I forgot the "no" first in my description.)
Sign In or Register to comment.