Commit graph

15886 commits

Author SHA1 Message Date
Abe Jellinek
a2c3e80f0f Add strings for Reading Mode 2025-12-12 11:27:06 -05:00
Martynas Bagdonas
6e723d3262 Update pdf-worker submodule 2025-12-11 13:07:04 +00:00
abaevbog
11223451d2
set libraryID on annotations in tests (#5644)
Fix tests breakage post 84764570f4
2025-12-04 08:27:57 -05:00
Adomas Venčkauskas
cc1b72ebf2 Update Word for Mac submodule 2025-12-04 10:25:58 +02:00
Abe Jellinek
84764570f4
Enforce annotationSortIndex format by type (#5641) 2025-11-25 12:59:09 -05:00
Tom Najdek
49325e27d9
Fix attachment matching filename isn't correctly retitled (#5637) 2025-11-17 10:40:38 -05:00
windingwind
2f2dfc9038
Fix should discard attachment pane preview after becoming invisible (#5630)
fix: #5624
2025-11-17 10:39:32 -05:00
Tom Najdek
b9ef88d4fc Fix alignment issues and missing icons 2025-11-14 19:45:58 +01:00
Tom Najdek
8a57f6c45b
Fix the "Edit → Select All" menu option not selecting items (#5626) 2025-11-13 16:11:48 -05:00
Tom Najdek
3f8a0b5b86
Fix misaligned text in the attachment box (#5632) 2025-11-13 10:33:08 -05:00
Tom Najdek
aec7b6a1ea
Persist the state of the Reader sidebar #5489 (#5593) 2025-11-13 10:32:34 -05:00
Abe Jellinek
6c70ccc66c Fix Edit menu items not working in some field context menus
Regression in c45ed42af.

Fixes #5629, should fix #5376 (though I couldn't reproduce that)
2025-11-12 13:18:12 -05:00
Dan Stillman
4bd829ebdb Fix potential sync error if unloaded editable library becomes read-only
https://forums.zotero.org/discussion/128001/app-not-syncing-to-newly-created-group
(error was in an existing group, not the new one)

Fixes #5625
2025-11-11 13:43:01 -05:00
windingwind
721306879a
Unify info section onContextMenu handling (#5622)
Fix menu API with date and custom fields
2025-11-11 11:26:22 -05:00
Dan Stillman
0748b09753 Update reader submodule 2025-11-11 10:28:17 -05:00
windingwind
01d764ef2f
Fix attachments pane test being unstable (#5610) 2025-11-10 14:18:09 -05:00
abaevbog
c45ed42af7
Fix broken new collection dialog opened from context menu of a group (#5592)
Fix new collection dialog appearing broken when
opened via "New Collection" option of context menu
on "My Library" or a group in collection tree.

On macOS, the popup of collections would never leave
and on windows, subcollection would never appear.

This is a followup to zotero#5409
that fixes this issue for all collections. The reason
why it didn't work for groups is that the command event
would fire not on a menuitem but on the <command> node itself,
which is not what the workaround expects.

Now, if we get such an event, we'll try to use the
original 'command' event dispatched on the <menuitem>
from event.sourceEvent to locate the <menupopup>
and as a blueprint for redispatching the event.
2025-11-10 14:14:47 -05:00
abaevbog
544e9d11a3
Fix itemTree quicksearch cleared when image pasted into a note (#5613)
Fixes: #5612
2025-11-10 14:06:30 -05:00
abaevbog
a7cc94c04c
fix createParent dialog stuck during quicksearch (#5596)
Fix createParentDialog hanging when opened during
quicksearch or in saved search. After a parent item
is added, itemTree is being refreshed. If _refreshPromise
is resolved after a timeout, it will not complete until the
modal dialog is closed. Instead, resolve _refreshPromise
after Zotero.Promise.delay, which uses the XPCOM global
timer unaffected by modals.

Fixes: #3026
2025-11-10 13:59:24 -05:00
Abe Jellinek
7877c63600
fx140: Fix Ctrl-Enter check (#5608) 2025-11-10 13:50:34 -05:00
Tom Najdek
e09e993081
Align buttons with the top line of the field (#5604) 2025-11-10 13:46:58 -05:00
abaevbog
260ae891f5
new fix to failing 'should refresh on item update' (#5605)
Another potential fix to the test failure. Earlier fix
from 30784dd241 seems
to not have worked.

A new explanation is that the test before it does not properly
wait for the trash to refresh before trying to select the library, in
which case collectionTree select event will be suppressed
and library selection will not happen.

Fixes: #5584
2025-11-10 13:45:08 -05:00
Tom Najdek
85d1f723fb
Restore the arrow in the guidance panel (#5611) 2025-11-10 13:44:05 -05:00
Tom Najdek
ef1fc4fc66
Fix missing labels for options under “Display citations as” (#5618) 2025-11-10 13:43:47 -05:00
Tom Najdek
b1941fbff4
Add logic to limit auto-rename banner to 7 days (#5621) 2025-11-10 13:42:43 -05:00
abaevbog
a2a6df529a
Scaffold UX tweaks (#5615) 2025-11-07 13:21:53 -05:00
Martynas Bagdonas
06afaf3316 Update pdf-worker submodule 2025-11-07 11:20:22 +00:00
Adomas Venčkauskas
49130c71d8 Fix connector save timing out with Advanced Search
Report: https://forums.zotero.org/discussion/127760/connector-conflict-with-advanced-search

Also restore Advanced Search tests that depend on the item tree. They
were disabled due to React timing issues. Hopefully with these changes
the initialization of the tree is more robust.
2025-11-03 09:24:35 +02:00
Abe Jellinek
2d6deda04a
Support zooming in basicViewer (#5599) 2025-10-28 12:28:15 -04:00
Tom Najdek
7aefa6d9ee
Use current collection when adding items (#5598) 2025-10-27 11:54:03 +01:00
abaevbog
59a789c750
Fix misaligned sync reset options radio button labels (#5587)
Fixes: #5580
2025-10-24 14:09:14 -04:00
abaevbog
30784dd241
fix 'should refresh on item update' failing (#5595)
This test would sometimes fail, most likely due to
the library sometimes not getting re-selected in the previous test
'should update custom header for items in the trash'.

A likely explanation is that the selection event in
collectionTree would still be suppressed when selectLibrary
is called, so make sure to wait for item deletion to
go through before trying to re-select the library.

Fixes: #5584
2025-10-24 14:08:15 -04:00
Abe Jellinek
5b82a38383 Don't cache CSL.Engine for integration 2025-10-22 09:13:15 +03:00
Adomas Venčkauskas
128f2229e6 Update Word for Mac submodule 2025-10-21 16:37:07 +03:00
Dan Stillman
d1f478fc4e Update translators, styles, and CSL locales 2025-10-14 12:03:25 -04:00
Dan Stillman
82f08cc4b8 Update note-editor and reader submodules 2025-10-14 12:01:23 -04:00
Abe Jellinek
892a4c48ce Style configurator: Log error and discard invalid locale values 2025-10-14 11:52:47 -04:00
Abe Jellinek
f621de41c7 Style configurator: Don't use string interpolation to build XUL 2025-10-14 11:52:47 -04:00
windingwind
9d91ff8df9
Improve attachments section test (#5576)
Cancel pending discard to avoid race condition
Cancel pending render/discard after tests
2025-10-13 13:18:51 -04:00
Abe Jellinek
9509c62918 Fix search test descriptions, remove outdated tests
Some descriptions weren't changed to match test behavior changes in
48fd23c, and the doesn't-match tests are no longer relevant after those
changes.
2025-10-10 12:39:26 -04:00
Abe Jellinek
e921a4bc7f Local API: Improve search debugging
Use our own method in order to debug scopes, with a new getter for
that property.
2025-10-10 12:39:26 -04:00
Abe Jellinek
7da9c0669d Local API: Match annotations (#4337)
Except in collection items responses.

And use scope searches for itemType/tag search syntax instead of
filtering in JS.
2025-10-10 12:39:26 -04:00
abaevbog
90972577af
ensure tag selector is initialized before using (#5574)
If the tag selector is not initialized in setScope,
initialize it before proceeding. This fixes
the tag selector being stuck in loading state
after expanding.

Fixes: #5573
2025-10-10 10:25:59 -04:00
Tom Najdek
18a34b938f
Remember last import settings (#5465)
Closes #5303

Also:

* Ensure the file chooser dialog opens only once
2025-10-10 10:22:57 -04:00
Dan Stillman
9d22c5406f Add special handling for general-sentence-separator string 2025-10-09 15:32:04 -04:00
Dan Stillman
6359d69ef4 Update locales from Transifex 2025-10-09 15:32:04 -04:00
Abe Jellinek
52f5ab035f Document Preferences: Add missing FTL to fix variable in title
Fixes #5570
2025-10-09 10:37:12 -04:00
Dym
05e4982245
Local API: Resolve 500 error on single item export (#5560) 2025-10-08 19:48:17 -04:00
abaevbog
2e3deb0a21
tagsbox: fix deleted tags reappearing (#5533)
https://forums.zotero.org/discussion/110655/z7-beta-tags-reappear-after-quickly-deleting-them

If a library has many tags and one quickly clicks on "-" button
to deleted multiple tags from an item, the database updates
may not keep up with UI. To address this, save item only
once after a debounce.

Fixes: #5410
2025-10-08 15:37:17 -04:00
windingwind
cc4c8cd191
Keep tabs menu focus when using up/down (#5346) 2025-10-08 15:33:45 -04:00