Giter Club home page Giter Club logo

Comments (5)

zuphilip avatar zuphilip commented on June 29, 2024 1

Spinning wheels or a progress bar could help the user to see better how far the process is. However, I don't have any experience there and I don't want to spend too much time in UX in general. Further discussion in #18. Maybe we can at least give a short notice after the whole process is done.

We can check with the people behind COCI, if they are okay with the current calls from the plugin.

I tried version 0.3 on a resource that had previously been cataloged as having 352 citations from COCI, but only three were added to the folder, when I updated the default setting to 9 still only three were in the folder.

I tested this for myself again it worked fine. Restart Zotero and try again, wait long enough, click on another collection and then back again etc. If the problem persist, then I need more information, ideally an example I can replicate step by step.

from zotero-open-citations.

zuphilip avatar zuphilip commented on June 29, 2024

I agree on the first point, and the second one also makes sense. If someone wants to force reloading all referencing from Crossref, then it is still possible to delete the complete folder and run the plugin again.

What should happen if you run the plugin again? Just stop because we already have three items in the citations folder? I think we could also try to receive another three items then into the folder, such that after two rounds of clicking on the plugin, there are 6 citations, etc. What do you think?

from zotero-open-citations.

HughP avatar HughP commented on June 29, 2024

What should happen if you run the plugin again?

the same folder as the first call should be used (or at least attempted)

  • if there are three already in the folder and "3" is the number set in the OCIC setting then ask the user if they intended to download more if they are available, and if they intended to download more then please up the setting in the preferences.

  • If the setting is 7 and we have three in the folder then assume that the OCIC setting has been raised previously and we are only adding new ones to the folder, but they should not be "new additions to Zotero" rather if there is a match to what is in Zotero already then that reference should be added to the folder, rather than creating a new record in Zotero.... the principle should be create as few new records in Zotero as possible.

I think we could also try to receive another three items then into the folder, such that after two rounds of clicking on the plugin, there are 6 citations, etc. What do you think?

This behavior choice should be made clear in the preference panel. I kind of don't want to keep asking the plugin to fetch more... I just want the complete set of results all at once... but I also want the API to like me as a user... so what are the api limits?

from zotero-open-citations.

zuphilip avatar zuphilip commented on June 29, 2024

@HughP Please try out the new version 0.3.0. The first point is implemented and it will be made sure that always the latest N citations are in the subcollection.

I haven't implemented any ineractive dialog with the user, because this could lead to hundreds or thousands of such dialogs when you select that many items.

(I don't know whether there are rate limits for the COCI or Crossref service. However, from your report I understood that the bottleneck might be Zotero or the Plugin itself.)

from zotero-open-citations.

HughP avatar HughP commented on June 29, 2024

I haven't implemented any ineractive dialog with the user, because this could lead to hundreds or thousands of such dialogs when you select that many items.

Usually there is a check-box for "apply all to following" ... like when you replace a file in a finder...

I don't know of any rate limits at COCI... but I didn't check I was only mentioning it as a point of being a good API user.

I tried version 0.3 on a resource that had previously been cataloged as having 352 citations from COCI, but only three were added to the folder, when I updated the default setting to 9 still only three were in the folder. –– it seems that there should be a UX expression to the end user to show when the query is taking place and when it finishes... like a progress bar. There is a progress bar in Zotero at the very beginning when collections are being loaded when the program starts. I wonder if that code can be coopted and used again in this case.

from zotero-open-citations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.