zotero-better-bibtex icon indicating copy to clipboard operation
zotero-better-bibtex copied to clipboard

Zotero 7: only citekey display in the item detail box remaining

Open jangid19 opened this issue 1 year ago • 367 comments

The builds dropped here are release-ready for Zotero 6. Anything that does not work as expected in Zotero 6 will get priority to fix. For Zotero 7, 7.0.0-beta.26 is the minimum required version.

Open issues:

  • [ ] citekey display/edit field awaits API from Zotero (#)
  • [x] settings screen is jacked up
  • [x] auto-export is not triggered when the citekey is edited #
  • [x] export screen errors out #
  • [x] prefs screen has rendering issues on beta 26
  • [x] ~BBT sentence-case for item titles~ Zotero sentence-case will be replaced by BBT sentence-case in Zotero 7 (#)
  • [x] translator init takes insanely long. Nothing much I can do about it (#), but maybe I can just let that run in the background.
  • [x] export options are not translated
  • [x] disable-enable does not work
  • [x] debug log needs to be resurrected -- again!
  • [x] Top-level <wizard>…</wizard><window><wizard>…</wizard></window> and dialog button/event changes
  • [x] all events routed through event-emitter
  • [x] prefs screen needs to be resurrected
  • [x] replace/inject window, remove document
  • [x] item pane is not editable
  • [x] Zotero 6 on MacOS: close and reopen of main pane works (but you can't select the citation key column after reopen, and there's no fix for this)
  • [x] Zotero 7 on MacOS: citation key in the item-list column picker no longer works in Z7.
  • [x] citekey in itempane focuses item type
  • [x] update https://github.com/retorquere/zotero-debug-log for Z7
  • [x] reinstall does not work
  • [x] nsIIdleServicensIUserIdleService
  • [x] XUL textbox → HTML <input type="text">
  • [x] <label><label><html:h2> within <groupbox>
  • [x] tooltiptexttitle — works automatically in existing windows; in new windows, requires a XUL <tooltip id="html-tooltip"> element and a tooltip="html-tooltip" attribute on the <window> (example)
  • [x] prefs: quick-copy doesn't switch details screen
  • [x] Top-level <dialog>…</dialog><window><dialog>…</dialog></window> and dialog button/event changes
  • [x] createElement()/createElementNS()createXULElement() for remaining XUL elements (example)

Reference: Zotero 7 for developers

jangid19 avatar May 22 '23 21:05 jangid19

Is there a timeframe?

tdegeus avatar May 27 '23 14:05 tdegeus

No. I'm actively working on it, and I keep thinking I'm close and then hitting another problem. It could be days, weeks or months.

retorquere avatar May 27 '23 16:05 retorquere

... Thanks for your hard work!

tdegeus avatar May 27 '23 16:05 tdegeus

Will the plugin Zotero Debug Bridge be updated to be compatible with zotero v7?

redleafnew avatar May 29 '23 00:05 redleafnew

I've uploaded the new version, 6.7.79 should work with 7.

retorquere avatar May 29 '23 01:05 retorquere

No. I'm actively working on it, and I keep thinking I'm close and then hitting another problem. It could be days, weeks or months.

In a bit of good news, I'm one failing test away from getting BBT to bootstrapped, which is the most important hurdle.

retorquere avatar May 29 '23 01:05 retorquere

I've uploaded the new version, 6.7.79 should work with 7.

Thanks. However, it prompts me:

The add-on "C:\Users\hmy\Desktop\debug-bridge-6.7.79.emile.limonia.xpi" could not be installed. It may be incompatible with this version of Zotero.

image

image

redleafnew avatar May 29 '23 01:05 redleafnew

Same here, unfortunately. Running Zotero 7.0.0-beta.7+7c902d40a on Apple Silicon.

chickymonkeys avatar May 29 '23 11:05 chickymonkeys

I've forgotten to update the install.rdf. I'll fix that when I'm back home in a few hours.

On Mon, 29 May 2023, 13:38 Alessandro Pizzigolotto, < @.***> wrote:

Same here, unfortunately. Running Zotero 7.0.0-beta.7+7c902d40a on Apple Silicon.

— Reply to this email directly, view it on GitHub https://github.com/retorquere/zotero-better-bibtex/issues/2522#issuecomment-1567022309, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABAIDCSEPASLKEN2JMRKT3XISDBPANCNFSM6AAAAAAYLAFCBI . You are receiving this because you modified the open/close state.Message ID: @.***>

retorquere avatar May 29 '23 11:05 retorquere

New version is up, same version number though.

retorquere avatar May 29 '23 13:05 retorquere

Download again, and still cannot be installed.

redleafnew avatar May 29 '23 14:05 redleafnew

I started the wrong version. I can replicate the install problem. Looking into it.

retorquere avatar May 29 '23 14:05 retorquere

New version installs on 7

retorquere avatar May 29 '23 14:05 retorquere

Now it installs on v7

redleafnew avatar May 29 '23 14:05 redleafnew

I cannot see the updated commit, where is it?

chickymonkeys avatar May 29 '23 14:05 chickymonkeys

I've just uploaded a new version. The commit will come tonight, but I just added the manifest.json that was missing.

retorquere avatar May 29 '23 15:05 retorquere

Ok thank you very much! I was wondering because I am trying to do the porting of ZotFile to Zotero 7 as well, but I am having some issues that I do not understand (I am also not an expert on this, but it might help).

chickymonkeys avatar May 29 '23 15:05 chickymonkeys

Commit is now up

retorquere avatar May 29 '23 16:05 retorquere

There's still something wrong with debugBridge.

retorquere avatar May 29 '23 16:05 retorquere

DebugBridge is OK, and the last failing test for bootstrapped has now passed. Bootstrapped support is rudimentary at this point, it works (all my tests pass), but it's not as efficient as it could be. Cleanup on that is the next step. From this point on, debug builds will be announced here, you're very welcome to try them out, on Zotero 6 for now. When Zotero 7 compat is in, I will announce this here. This issue might get chatty from here on out.

retorquere avatar May 29 '23 23:05 retorquere

:robot: this is your friendly neighborhood build bot announcing test build 6.7.79.4355 ("cleanup")

Install in Zotero by downloading test build 6.7.79.4355, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

github-actions[bot] avatar May 29 '23 23:05 github-actions[bot]

Thank you for the awesome work!

I'm on Zotero 7.0.0-beta.7+7c902d40a on Apple Silicon. Tried to download and install test build 6.7.79.4355 and it is not installing.

I saw that you said this version is running on Zotero 7, am I missing something?

0xAdriaTorralba avatar May 31 '23 18:05 0xAdriaTorralba

No, this is the first version of BBT that is bootstrapped (aka restartless). It's a requirement for Zotero 7, but isn't sufficient.

retorquere avatar May 31 '23 18:05 retorquere

It was the major hurdle though.

retorquere avatar May 31 '23 18:05 retorquere

Thanks for being soooo darn fast - AGAIN - with work on an update for a beta release.

jrennstich avatar Jun 04 '23 09:06 jrennstich

Fingers crossed but it doesn't look to be nearly as much work as the 4 to 5 port, and 6/7 compatibility is feasible, so I can move into 7 gradually. It will also fix a long-standing bug in BBT on macos.

retorquere avatar Jun 04 '23 11:06 retorquere

tried installing zotero-better-bibtex-6.7.79 on Zotero (7.0.0-beta.8+77682cb45) on Intel Mac

Installation failed with following error:

1685993726059 addons.xpi WARN Invalid XPI: Error: File /Users/.../.../zotero-better-bibtex-6.7.79.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.jsm:691:11) JS Stack trace: [email protected]:691:11

anandkumar89 avatar Jun 05 '23 19:06 anandkumar89

this is the first version of BBT that is bootstrapped (aka restartless). It's a requirement for Zotero 7, but isn't sufficient.

retorquere avatar Jun 05 '23 19:06 retorquere

求更新以适应新的版本

wgqhandsome avatar Jun 06 '23 02:06 wgqhandsome

Working on it. Please stop asking. You can subscribe to this issue (you are now subscribed) to follow updates.

retorquere avatar Jun 06 '23 04:06 retorquere