Dan Stillman
1394381257
Include unixMode
in OS.File.stat()
shim
2024-05-21 01:56:38 -04:00
Dan Stillman
03be938444
Don't try to use Zotero.isWin
in OS.File
shim
2024-05-21 01:56:28 -04:00
Abe Jellinek
eed7acff08
Ignore sort keyboard shortcuts in non-library tabs
...
Fixes #4140
2024-05-20 10:34:13 -04:00
windingwind
7fa7cf310e
Fix merge window ( #4130 )
...
- Fix render issues
- Fix merge pane min-width
- Use no-titlebar modal for merge window on MacOS
- Disable section collapsing in merge pane
- Disable section open state caching in merge pane
fix : #3611
2024-05-19 00:58:14 -04:00
windingwind
1f322cddb8
Fix eslint errors in mergeGroup.js
2024-05-19 00:55:10 -04:00
Dan Stillman
14c6d26f20
Clarify comment for numDistinctFileAttachmentsForLabel()
test
2024-05-19 00:54:13 -04:00
Dan Stillman
47bf4de08a
Add test for numDistinctFileAttachmentsForLabel()
filter function
2024-05-19 00:52:36 -04:00
Abe Jellinek
90634fc5c8
numDistinctFileAttachmentsForLabel: Filter best attachment
2024-05-19 00:52:36 -04:00
Abe Jellinek
bc64f06352
Item pane header: Don't reserve space for scrollbar
...
https://github.com/zotero/zotero/issues/4129#issuecomment-2117158647
2024-05-17 11:38:35 -04:00
Abe Jellinek
f9dc083771
_paneHeader.scss -> _itemPaneHeader.scss
...
Match the CE name.
2024-05-17 11:37:57 -04:00
Dan Stillman
95d5a54174
Fix file-import breakage from 8e7d9927ef
...
https://forums.zotero.org/discussion/114465/zotero-7-bug-report-latest-beta-build-78-5be5ca941-broke-file-import
2024-05-17 10:05:35 -04:00
Sean Takats
a3b1558f00
Updated icon file with corrected shade of white ( #4135 )
2024-05-17 05:49:28 -04:00
Dan Stillman
cd0ec45dc8
Make all publicationTitle
fields multi-line, not just bookTitle
...
For some reason applied only to Book Title in #890
https://forums.zotero.org/discussion/comment/463195/#Comment_463195
2024-05-17 05:27:40 -04:00
windingwind
126d12905b
Revert menulist type=radio
...
Partially revert 5438247
, 63012a8
because the menulist style is fixed by 4a0bb2d
in SCSS
See also #4052
2024-05-17 17:23:22 +08:00
Abe Jellinek
f6ee160186
editable-text: Reset state after programmatic blur()
...
Regardless of whether the window is active.
Fully fixes #4101
2024-05-16 11:07:47 -04:00
Abe Jellinek
b4c5c5d539
Item pane header: Use focused getter instead of :focus-within
...
:focus-within doesn't match when the window is inactive but the field
is focused.
Addresses #4101 , except that focusing the new item's title field and
pressing Escape will clear the field (without modifying the item).
2024-05-16 11:07:15 -04:00
Abe Jellinek
c7159a5fa6
Revert "Fix item type menuitem type attribute"
...
This reverts commit 6db62c6705
.
Fixes #4106
2024-05-16 10:16:11 -04:00
Dan Stillman
5be5ca9416
Always return from numDistinctFileAttachmentsForLabel()
once we're >1
2024-05-16 01:41:55 -04:00
Dan Stillman
834ee0ff6c
Switch to separate localized strings for "Show File"/"Show Files"
...
https://github.com/zotero/zotero/pull/4124#issuecomment-2114036702
2024-05-16 01:41:17 -04:00
Abe Jellinek
1bf0fd7d57
Scaffold: Manage blank lines before test cases automatically
2024-05-15 12:42:00 -04:00
abaevbog
1e990f3ca0
vpat 42: link url label to input in scaffold ( #4017 )
2024-05-15 06:58:52 -04:00
windingwind
f1d8a1c289
Fix splitMenuButton dropdown icon
2024-05-15 06:45:10 -04:00
windingwind
bc47ee46c8
Fix item pane buttons after CEification
...
Fixes #4115
2024-05-15 06:45:10 -04:00
windingwind
9a23031c12
Rename ItemPaneHeader CE localName to item-pane-header
...
Closes #4114
2024-05-15 06:45:09 -04:00
windingwind
1e3ebc082e
Rename PaneHeader to ItemPaneHeader
...
Addresses #4114
2024-05-15 06:45:09 -04:00
windingwind
4fc8850f1e
Skip item pane section render when not in selected tab
2024-05-15 06:45:09 -04:00
windingwind
8b083aa426
Fix context pane unnecessary update
...
Fixes #4029
2024-05-15 06:45:09 -04:00
windingwind
91c0c28b5d
Fix attachments & annotation box refresh bugs and add tests ( #4031 )
...
Fixes #3993
Fixes #3995
Closes #4082
2024-05-15 06:45:01 -04:00
Dan Stillman
07e8f0a01d
Try to make numDistinctFileAttachmentsForLabel()
test more reliable
2024-05-15 06:09:40 -04:00
Dan Stillman
0c8d3f0829
Improve counting of file attachments for Show File and Export PDFs
...
If a parent item and its primary attachment are selected, it should
still say "Show File" rather than "Show Files". This adds the
questionably named `Zotero.Items.numDistinctFileAttachmentsForLabel()`
to try to figure out if we're operating on 0, 1, or >1 items.
Follow-up to #4124
2024-05-15 05:50:47 -04:00
Abe Jellinek
c47617c809
Move "Show File" out of Locate menu and into File menu ( #4124 )
2024-05-15 05:50:42 -04:00
Dan Stillman
e1f1003318
Add Zotero.Item::numFileAttachments()
2024-05-15 05:48:03 -04:00
Abe Jellinek
bb146328b8
Update default locate engines ( #4125 )
2024-05-15 05:45:38 -04:00
abaevbog
8f065d9f1f
remove unnecessarry scrollbar in tabs menu on mac ( #4123 )
...
Make sure the vertical scrollbar does not occupy space
on mac when the menu is not scrollable even if
the "Show scroll bar" setting is "Always"
Fixes : #4121
2024-05-15 05:42:06 -04:00
windingwind
f0c578effa
Use transparent collection & item tree scrollbar ( #4122 )
2024-05-15 00:45:57 -04:00
Abe Jellinek
099c8e9958
Locate manager window: Support Accel-W to close
2024-05-14 14:58:45 -04:00
Abe Jellinek
c94c0bae8f
Locate manager window: Update list after Restore Defaults
2024-05-14 14:57:31 -04:00
Abe Jellinek
9eabc169c4
Move Locate to sidenav ( #3747 )
2024-05-14 04:19:58 -04:00
abaevbog
7091fa3a58
touchscreen longpress displays context menu ( #4104 )
...
Fixes the issue where long press would not open up
context menu in a virtualized table and tab bar because
it was handled in mousedown events that longpress on a
touchscreen does not dispatch.
This behavior is still observed in the scrollable area
of the reader and the note editor.
Addresses: zotero#4094
2024-05-13 19:03:29 -04:00
Martynas Bagdonas
31616af2af
Update reader submodule
2024-05-13 11:19:07 +03:00
Abe Jellinek
5dae581ad3
Lazy load CEs ( #4112 )
2024-05-11 04:11:22 -04:00
Dan Stillman
9783cc57c4
Add test for placement of creator rows in Info pane
2024-05-11 04:09:12 -04:00
Bogdan Abaev
be1c890051
After new item creation, focus title in itemBox ( #4113 )
...
When item is created manually, title field in itemBox
will be focused instead of the title in the itemPane as before.
If the itemBox is collapsed, it will be opened.
Added 'open' setter to item pane section for brevity
Fixes #4111
2024-05-11 04:09:05 -04:00
Dan Stillman
c01b3ae270
Don't use [ztabindex]
in selector when finding metadata fields
2024-05-11 03:47:51 -04:00
abaevbog
ffef57eed1
redone fix of focus sticking to tab after click ( #4087 )
...
- revert debcb9944d
since it breaks
drag-drop reordering of tabs
- when reader is being refocused by contextPane, add a small delay
so that the focus settles on the tab before focusing the reader
- also explicitly refocus the reader tab after drag, since then focus
also lands on the tab and finds itself outside of the reader
2024-05-11 03:21:59 -04:00
Abe Jellinek
59b1d75b98
Item pane header customization ( #3791 )
2024-05-10 08:23:26 -04:00
abaevbog
8278140492
Prevent empty item type menu from appearing after Cmd-Shift-N when info section is collapsed ( #4105 )
...
If the info section is collapsed, do not try to focus and
open the itemType menu as it can lead to an empty dropdown.
Just focus the header title in that case
2024-05-10 03:23:20 -04:00
Dan Stillman
85f58cc97d
Fix Utilities.Internal.md5Async() on missing files and empty strings
...
https://forums.zotero.org/discussion/114208/zotero-7-beta-bug-report-consistent-error-when-syncing
2024-05-08 01:16:37 -04:00
Abe Jellinek
8f2bf50cec
Try to prevent ConcurrentCaller from failing CI ( #4097 )
2024-05-07 19:38:44 -04:00
Abe Jellinek
9ab42c5c65
Override tab color-scheme for Windows dark mode compat
...
https://forums.zotero.org/discussion/114239/z7-beta77-scaffold-bugs-report
2024-05-07 15:25:44 -04:00