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

Consider embeddable widget #293

Open
tnajdek opened this issue Mar 24, 2023 · 1 comment
Open

Consider embeddable widget #293

tnajdek opened this issue Mar 24, 2023 · 1 comment

Comments

@tnajdek
Copy link
Member

tnajdek commented Mar 24, 2023

https://forums.zotero.org/discussion/103881/is-zoterobib-embeddable#latest

A widget could render a small form that redirects to zbib with a pre-configured citation style and a query entered by the user. We should also do some UX improvements so it offers an option to restart with a fresh bibliography if arrived via /import endpoint and bibliography has not been updated (visited?) in past 24 hours.

@tnajdek
Copy link
Member Author

tnajdek commented Jul 28, 2023

If user has no data stored locally on zbib.org and arrive to /import, item(s) will be automatically added and citation style, if present, set to one from the URL.

If user had some items on zbib.org then if import link contains a citation style different than one currently used by zbib, the dialog has two tabs: one for each citation styles. User needs to pick a version (by selecting a tab) and then can add item(s) to the current bibliography. Otherwise there are no tabs. Either way user is presented with two options, one is add, second, hidden underneath a dropdown is "Replace current bibliography" (maybe in red + confirmation?)

tnajdek added a commit that referenced this issue Aug 1, 2023
* Tweak confirm window to display imported citation in both current and
  incoming style (if one is set)
* Add tests for various scenarios of importing a citation
* Update web-common v0.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant