Find a file
Bogdan Abaev dfc31d9961 citation dlg: data structure refactor, bug fixes
- replace objects with zoteroItem, citationItem, etc.
as the main representation of an entry in the citation
(CitationDataManager.items) with instances of a new BubbleItem class.
BubbleItem has two static methods to create
a new instance: BubbleItem.fromCitationItem() used
to create entries from io.citation.citationItem on load,
and BubbleItem.fromItem used to create entries from
Zotero.Item when a new item is being added into the citation.
BubbleItem.getCitationItem will return a citationItem
in a format that citeproc consumes. This streamlines
the flow of data, makes it easier to manage and avoids
unnecessary conversions between citationItem and Zotero.Item.
- This refactoring fixes the issue of added suffix/prefix
sticking to an item and persisting even if the bubble
is removed and re-added. Fixes: #5282
- add csl data to virtual item in io.customGetItem
to remain consistent with Zotero.Integration.Citation.loadItemData.
That way, csl data is always found on Zotero.Item
and we don't have to check citationItems.

Also:
- apply deduplication to cited items, so that a cited
item from the library that appears in selected or
opened section does not have a duplicate entry in
the cited section.
- added initial test suite for citation dialog
2025-05-19 09:24:01 +03:00
.github/workflows Remove issue template 2025-02-10 23:25:03 -05:00
app Allow plugin to uninstall itself in update manifest (#5292) 2025-05-16 06:10:45 -04:00
chrome citation dlg: data structure refactor, bug fixes 2025-05-19 09:24:01 +03:00
defaults/preferences Improve tabs menu (#4961) 2025-05-07 01:52:54 -04:00
js-build Update build scripts for note-editor, pdf-worker, and reader: 2025-04-30 13:46:32 +03:00
note-editor@a0222d8caa Update build scripts for note-editor, pdf-worker, and reader: 2025-04-30 13:46:32 +03:00
pdf-worker@95358b037a Update build scripts for note-editor, pdf-worker, and reader: 2025-04-30 13:46:32 +03:00
reader@939124b7bd Update reader submodule 2025-05-09 10:38:54 -04:00
resource Scaffold code completion (#5171) 2025-04-09 00:36:22 -04:00
scripts fx128: Add arrowscrollbox.ftl from Mozilla 2025-01-08 01:41:29 -05:00
scss Always show item/context pane toggle (#5263) 2025-05-09 01:27:20 -04:00
styles@40b18d8266 Update translators, styles, and CSL locales 2025-03-18 23:46:45 -04:00
test citation dlg: data structure refactor, bug fixes 2025-05-19 09:24:01 +03:00
translators@484110c925 Update translators, styles, and CSL locales 2025-03-18 23:46:45 -04:00
types/gecko Add Gecko types and a script to update them (#4296) 2024-07-02 00:58:51 -04:00
.babelrc Use production builds of react libraries (#4482) 2024-08-02 03:43:02 -04:00
.gitattributes Update Linux updater for Zotero 7 2023-05-20 10:51:47 +00:00
.gitignore Use user-provided codesign script for Windows signing 2024-04-08 10:12:58 +01:00
.gitmodules Remove chai-as-promised submodule 2025-03-05 22:59:49 -05:00
chrome.manifest Remove old citation dialogs (#5177) 2025-04-02 05:26:06 -04:00
CONTRIBUTING.md Add "support questions" to CONTRIBUTING.md 2022-12-01 05:10:42 -05:00
COPYING Update COPYING 2018-03-26 11:27:48 +02:00
eslint.config.mjs Add Cr as glboal in eslint config 2025-03-05 05:51:04 -05:00
package-lock.json Scaffold code completion (#5171) 2025-04-09 00:36:22 -04:00
package.json Scaffold code completion (#5171) 2025-04-09 00:36:22 -04:00
README.md "Zotero wiki" → "Zotero documentation" in app build README 2023-04-26 04:40:22 -04:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00
version Update version to 7.1 2025-01-03 01:21:57 -05:00

Zotero

CI

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

For more information on how to use this source code, see the Zotero documentation.