Visual editor: use Zotero's citationKey field instead of generated keys
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend, developer-experience
Hướng nghiên cứu
Start by tracing how the visual editor reads local Zotero items and generates citation keys; the issue points to out/main.js where betterBibtexExport reports that it is unsupported. Check how Zotero's native citationKey field is exposed and used in the insertion and bibliography paths. Done means citations use that field when present and retain the generated key as a fallback; also assess the reported database-copy delay.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Bug description
When citing from a local Zotero library in the visual editor, the extension generates its own author-year key (for example kropff2016) instead of using the citation key stored in Zotero. Recent Zotero versions keep the citation key in the native citationKey field (Better BibTeX 9 writes its keys there), but the extension does not read it, and Better BibTeX support is not available (betterBibtexExport throws "not supported" in out/main.js).
Teams that share a Zotero group library and agree on a common key format therefore can't use the visual editor: every inserted citation gets a key that doesn't exist in Zotero.
Steps to reproduce
- Zotero 10.0.8 with Better BibTeX 9.0.77, local library, a group library added in
quarto.zotero.groupLibraries. - Open a
.qmdwithbibliography: references.bibin Positron, switch to the visual editor. - Type
@, pick an item whose Zotero citation key iskropffContinuousGlucoseMonitoring2016, save.
Actual behavior
The document gets [@kropff2016] and references.bib gets @article{kropff2016, ...}.
Expected behavior
The extension uses the item's Zotero citationKey field when it is set, and falls back to its own key only when the field is empty.
A related performance note: the extension copies the whole zotero.sqlite (about 300 MB here) to its cache after every change to the database, for example after each sync, which makes the Zotero source unavailable for minutes.
Your environment
- Positron with Quarto extension 1.139.0
- Quarto 1.11.9
- Windows 11 Pro 10.0.26300
- Zotero 10.0.8, Better BibTeX 9.0.77
- Ngôn ngữ chính
- TypeScript
- Star
- 665
- Fork
- 69
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto
-
vscode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quarto-dev/quarto#1227 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug vscode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
quarto-dev/quarto#1211 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto#1139 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
quarto-dev/quarto#1138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
quarto-dev/quarto#1137 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/quarto
Issue tương tự
-
MCP tool results drop structuredContent when text is only a summaryCó thể đã có người làm @Pankaj-bit361 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
n8n-io/nod#1474 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Clean-up indicator: two polish points from the dev look (kit clock spacing, row description)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
inblockio/siwx-oidc-matrix-server#101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pingdotgg/t3code#42253 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày