Visual editor: use Zotero's citationKey field instead of generated keys
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend, developer-experience
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 665
- Fork
- 69
- Merge medio
- 1g 8h
- PR unite (30g)
- 13
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di quarto-dev/quarto
-
vscode
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
quarto-dev/quarto#1227 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug vscode
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
quarto-dev/quarto#1211 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
quarto-dev/quarto#1139 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
quarto-dev/quarto#1138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
quarto-dev/quarto#1137 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di quarto-dev/quarto
Issue simili
-
MCP tool results drop structuredContent when text is only a summaryForse già presa @Pankaj-bit361 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
n8n-io/nod#1474 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
inblockio/siwx-oidc-matrix-server#101 ·
I maintainer di solito rispondono entro 1 giorno
-
status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pingdotgg/t3code#42253 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno