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
Abe Jellinek
634e27c621
Scaffold: Don't use cookie sandbox by default
...
Instead, just set an empty cookie sandbox when running tests without
"Remember cookies" enabled. The cookie sandbox doesn't remember cookies
set in JS, which breaks some sites in the Scaffold browser.
https://forums.zotero.org/discussion/114239/z7-beta77-scaffold-bugs-report
2024-05-07 15:11:03 -04:00
Abe Jellinek
19ab6b6643
Scaffold: Fix duplicate text in test status label
2024-05-07 14:30:56 -04:00
Abe Jellinek
387210e139
Scaffold: Fix Open URL
2024-05-07 14:28:50 -04:00
Abe Jellinek
655575eb77
Monaco / Scaffold: Use LF line endings on all platforms
...
https://forums.zotero.org/discussion/114239/z7-beta77-scaffold-bugs-report
2024-05-07 12:10:57 -04:00
Abe Jellinek
f1cf1b1a2b
Fix merge pane overflowing without scrollbar
...
https://forums.zotero.org/discussion/114241/zotero-7-beta-merge-unusable-with-long-author-lists
2024-05-07 11:59:58 -04:00
Abe Jellinek
bd9048861c
HiddenBrowser: Test download blocking
...
9b7d3edbb3
2024-05-07 11:17:30 -04:00
Dan Stillman
de9e7ff962
Remove border-radius in color-picker buttons on Windows
2024-05-07 05:16:21 -04:00
Abe Jellinek
14ea68c819
Fix color picker button styles on Windows
2024-05-07 05:16:21 -04:00
Abe Jellinek
e414e6029b
Prevent Windows button defaults from overriding other styles
2024-05-07 05:16:21 -04:00
Abe Jellinek
5f8ea3af9c
PageDataChild: Return null channelInfo on non-HTTP channel
...
Rather than throwing. Fixes requireSuccessfulStatus on file: (etc.)
URIs.
2024-05-07 04:51:49 -04:00
Abe Jellinek
9b7d3edbb3
HiddenBrowser: Block all downloads
2024-05-07 04:51:49 -04:00
Dan Stillman
0cd868ec87
Update reader submodule
2024-05-07 04:35:13 -04:00
Abe Jellinek
8e7d9927ef
Create Bibliography: Use HiddenBrowser to fix printing
2024-05-07 04:33:51 -04:00
Abe Jellinek
120d4cfacd
HiddenBrowser: Add print support
2024-05-07 04:33:51 -04:00
Abe Jellinek
a473002663
Extract zoteroPrint()
2024-05-07 04:33:51 -04:00
Abe Jellinek
7f993a1528
Tab shortcuts: Use event.code for better keyboard layout compat
2024-05-07 04:29:20 -04:00
Abe Jellinek
13c96c6520
Sort shortcuts: Use Alt for better keyboard layout compat
2024-05-07 04:29:20 -04:00
Abe Jellinek
7e225c4517
Feed abstract: Load CSS asynchronously
...
Probably won't fix #4091 , but can't hurt.
2024-05-06 14:12:23 -04:00
Abe Jellinek
e7b792e2d5
HiddenBrowser: options is optional, support data: URIs
2024-05-03 10:33:37 -04:00