Martynas Bagdonas
8a9df4a1b3
Move context pane toggle into reader toolbar
...
Related #3648
2024-02-01 14:49:59 +08:00
Dan Stillman
ebd3d7a988
Fix wrong tab being selected after Reopen Closed Tab
...
Fixes #3651
2024-02-01 00:55:02 -05:00
Tom Najdek
493c3add8a
Fix a memory leak in file renaming preferences pane ( #3654 )
2024-02-01 00:44:22 -05:00
Dan Stillman
f8108aca45
Move "Rename Collection" and "Edit Saved Search" to Fluent
...
Without ellipses
And remove unused "Edit Feed…", which is in zotero.dtd too
2024-02-01 00:42:14 -05:00
Abe Jellinek
a4c09ed701
Trigger inline editing from Rename Collection...
2024-02-01 00:42:14 -05:00
Abe Jellinek
ab5def98a7
Move item type menu CSS override to SCSS
2024-01-31 14:48:59 -05:00
Abe Jellinek
0e251b4975
Scaffold: Fix tests losing defer: true on update
2024-01-31 14:30:34 -05:00
Abe Jellinek
7944253bed
Scaffold: Update HiddenBrowser to use object-oriented API
...
Fixes updating tests.
2024-01-31 14:27:21 -05:00
Abe Jellinek
3f348e3340
Use actual placeholder attribute for editable-texts
...
As far as I can tell, the Abstract field was the only editable-text
using a placeholder set by Fluent.
https://github.com/zotero/zotero/pull/3632#issuecomment-1919619813
2024-01-31 13:06:57 -05:00
Abe Jellinek
a4c75df182
Don't allow pinning Item Notes and All Notes
...
Fixes #3626
2024-01-31 12:52:56 -05:00
Abe Jellinek
a23b5310e6
Fix nonfunctional Advanced Search menu item in dialogs
2024-01-30 11:43:56 -05:00
windingwind
1375de4ba2
Fix quick format background ( #3638 )
2024-01-30 01:58:50 -05:00
Martynas Bagdonas
a12c032ab9
Fix not updating reader "Add to Note" button regression
2024-01-30 09:30:28 +08:00
Martynas Bagdonas
9edfcba9a9
Hide item notes list section in context pane for parentless attachments
2024-01-29 16:06:52 +08:00
abaevbog
e68b9b80ad
opened tabs menu visibility improvements ( #3620 )
...
- Added tooltip to display the entire title of the tab on hover
- Ellipsize the text of the tab title to display as much of the last
word as possible
Fixes : #3609
2024-01-29 02:40:09 -05:00
Tom Najdek
41294e0ff7
Fix a bug where first column is clipped if it has fixed or static width ( #3605 )
...
Also:
* Fix issues with notes and attachment columns
* Tweak first-column attachment column alignment
2024-01-29 02:37:46 -05:00
Dan Stillman
418ec5cfc0
Move "Print" to zotero.ftl
...
Follow-up to d606644a78
2024-01-29 02:31:55 -05:00
Martynas Bagdonas
630eccf72f
Fix context pane note back button regression
...
Fixes #3616
2024-01-29 15:18:37 +08:00
Martynas Bagdonas
3a3a81b0ed
Add missing "Use Dark Mode for Content" to reader window menu
...
Fixes #3592
2024-01-29 15:18:37 +08:00
Martynas Bagdonas
d606644a78
Localize "Print" and "Save As" in reader tab/window File menu
2024-01-29 15:18:37 +08:00
Martynas Bagdonas
5eb0ed109b
Fix broken Fluent localization in reader window menu
2024-01-29 15:18:37 +08:00
Dan Stillman
0045cd1b7a
Fix search bar in classic citation dialog and Related Items dialog
...
Fixes #3599
2024-01-29 02:13:05 -05:00
Adomas Venčkauskas
452ee3a55b
Fix citation dialog open documents not working when a standalone pdf is open
...
Closes #3621
2024-01-29 09:11:12 +02:00
Abe Jellinek
7f993167b4
Fix regression that broke Date field tooltip
...
Field inputs are XUL in Z6, HTML in pre-redesign Z7, and XUL again in
post-redesign Z7. We switched to the title attribute for HTML but didn't
switch back to tooltipText when going back to XUL.
2024-01-26 13:40:16 -05:00
Abe Jellinek
00ca99ae86
Item box: Fix Short Title rendering as multiline
...
Also, rerender editable-text when noWrap changes.
2024-01-26 13:38:29 -05:00
Dan Stillman
1cc5c1ce2e
Disable automatic safe mode for now
...
Until we can figure out why some shutdowns are counting as crashes
https://github.com/zotero/zotero/issues/3196
2024-01-26 07:35:09 -05:00
windingwind
c21c5632c2
Fix attachment row annotation button bug ( #3577 )
2024-01-26 00:51:27 -05:00
windingwind
63c532398b
Fix sidenav default buttons display bug
2024-01-24 23:32:24 -05:00
windingwind
665f812bd1
Fix sidenav button visibilities update bugs
2024-01-24 23:32:24 -05:00
windingwind
7fe01d6c03
Clicking filename label should focus/blur field in attachment box
2024-01-24 23:32:24 -05:00
abaevbog
f990cb3f4b
tabs menu updates
...
- CMD-F will focus the input field
- ArrowLeft/Right keypresses are ignored
- Reset focus index on the focus of the input field
2024-01-24 23:32:24 -05:00
abaevbog
1a82ae5c3b
collection filter sizing tweaks
...
- ensure filter field is hidden if the pane is collapsed
- JS-based max-width setting to prevent overflow outside of collection pane
2024-01-24 23:32:24 -05:00
Abe Jellinek
608b732fbb
Open tabs menu: Move margin/padding to SCSS
2024-01-24 23:32:24 -05:00
Abe Jellinek
873c87956c
Open tabs menu: Escape regex special characters
...
So we don't throw an error/match inappropriately when the filter
contains backslashes, periods, pluses, and so on.
2024-01-24 23:32:24 -05:00
Abe Jellinek
a1134255ee
Always rerender sidenav, even if item doesn't change
...
Feeds issue remains.
2024-01-24 23:32:23 -05:00
Abe Jellinek
2b50536775
Tweak method name
2024-01-24 23:32:23 -05:00
Dan Stillman
c2cc5e1935
Separate lines for extension-change confirmation into two strings
2024-01-24 23:32:23 -05:00
windingwind
4f73ea0cfa
Fix attachment box rename
2024-01-24 23:32:23 -05:00
Abe Jellinek
3472d6cabe
Prevent window overflow in Standard mode
2024-01-24 23:32:23 -05:00
Dan Stillman
613a907f3e
Change pref from reader.useDarkModeForContent
to reader.contentDarkMode
2024-01-24 23:32:23 -05:00
abaevbog
620b35ab78
minor focus tweaks
...
- after an item is added via "Add item by identifier" panel, end
focus to that item in itemTree.
- restored default behavior when the focus remains visible around an
element when all menupopups open, except for the item type menu in itemBox.
- opening item type menu will still hide the focus-ring
2024-01-24 23:32:23 -05:00
abaevbog
ed8e3f142b
itempane keyboard navigation
...
- right/left arrows on section header expand/collapse the sections
- space/enter on section header toggle section collapsed/expanded
- tab from the header goes through the header's buttons and then
tabs into the section if that's opened
- arrow up/down on the header jumps to the previous/next header
- space/enter on clickable elements simulate a click
- if there is a pinned section, tab from the title will focus its header
2024-01-24 23:32:23 -05:00
windingwind
3bdcf34a89
Fix stacked mode layout when toggle item pane
2024-01-24 23:32:23 -05:00
windingwind
7f58873e0b
Fix item pane size when switching to note in stacked mode
2024-01-24 23:32:23 -05:00
Dan Stillman
1d8baa635a
New app icons
2024-01-24 23:32:22 -05:00
Tom Najdek
ccfc3127ba
Tweak padding in the tag selector list
2024-01-24 23:32:22 -05:00
Dan Stillman
61cca0fc69
Use Fluent instead of DTD for "Use Dark Mode for Content" string
2024-01-24 23:32:22 -05:00
abaevbog
11fc1ebd8e
remove "Go to this item online" tooltip from url field in itembox
...
Also:
- set the .tooltiptext for options button in fluent file, so that text
shows up on hover
- added tooltiptext to creator + and - buttons
2024-01-24 23:32:22 -05:00
Abe Jellinek
b8f2aaafa9
Attachment preview: Fix cut-off snapshots
...
Also:
- Prevent selecting any text within the snapshot
2024-01-24 23:32:22 -05:00
Abe Jellinek
832a6f3eff
Fix right-click -> Merge Items...
2024-01-24 23:32:22 -05:00
windingwind
0cd7a52dc0
Fix attachment preview retry and error catch
2024-01-24 23:32:21 -05:00
windingwind
1c343ee820
Fix viewItem unnecessary scroll
2024-01-24 23:32:21 -05:00
windingwind
86947d7154
Remove attachment-preview-box
2024-01-24 23:32:21 -05:00
Abe Jellinek
3ac8f803c9
Fix duplicate creator context menus, extract utility function
2024-01-24 23:32:21 -05:00
Abe Jellinek
f468245caf
Attachments box: Don't set this._item to non-regular item
...
Fixes occasional errors due to `getAttachments()` being called on a
non-regular item in `updateCount()`.
2024-01-24 23:32:21 -05:00
Martynas Bagdonas
c208325aeb
Add menu option to toggle dark mode for reader content
2024-01-24 23:32:21 -05:00
Abe Jellinek
c549a96834
Restore notes-box add button
2024-01-24 23:32:21 -05:00
Tom Najdek
03be35426c
Couple of small fixes to the tag selector
...
* Add bottom padding
* Increase padding for macOS 0-width scrollbars
2024-01-24 23:32:21 -05:00
Dan Stillman
f084b8c8ad
Move density options to separate submenu in View
2024-01-24 23:32:20 -05:00
abaevbog
4a096665a0
refresh collectionTree rowMap after row is added
...
It prevents the trash row from getting wrong offset and overlapping
with the row above it
2024-01-24 23:32:20 -05:00
Abe Jellinek
be3d7c95f9
Match Reset Sync with "Sync Reset Options"
...
Only adding warning2 because that's really the only relevant, searchable part of the warning.
2024-01-24 23:32:20 -05:00
Abe Jellinek
05747f050a
Fix undefined errors in feed settings window
2024-01-24 23:32:19 -05:00
windingwind
982289b484
Fix dialog background
2024-01-24 23:32:19 -05:00
Tom Najdek
2f9a12c2da
Improve "Run JavaScript" dialog
2024-01-24 23:32:19 -05:00
Tom Najdek
a54ed665bf
Improve style editor dialog
2024-01-24 23:32:19 -05:00
Tom Najdek
c514f92f9b
Update csl editor theme based on system color scheme
2024-01-24 23:32:19 -05:00
Tom Najdek
d99ad84d4c
Improve long tag fixer dialog
2024-01-24 23:32:19 -05:00
Tom Najdek
f0de6d0d57
Tweak spacing in select items dialog
2024-01-24 23:32:19 -05:00
Tom Najdek
701c76aa3f
Redesign RTF Scan wizard
2024-01-24 23:32:19 -05:00
Tom Najdek
b30e975379
Inject custom styles into <wizard>
...
<wizard> is a custom element built-in in FF. This commit monkey-patches
attachShadow to inject custom styles into the shadow root of <wizard>.
2024-01-24 23:32:19 -05:00
Abe Jellinek
37d2b41778
Make clicky item icons match line height
2024-01-24 23:32:18 -05:00
Abe Jellinek
1d662b9fef
Preferences: Fix and improve search
2024-01-24 23:32:18 -05:00
Abe Jellinek
fbbe9625fc
Focus new tag when popup is opened
2024-01-24 23:32:18 -05:00
Abe Jellinek
6948252e32
Prevent collapsing / hide twisty in tags popup
2024-01-24 23:32:18 -05:00
Abe Jellinek
8e3abd8706
Add padding to reader tags popup
...
And move styles to SCSS.
2024-01-24 23:32:18 -05:00
Abe Jellinek
482e436203
Import SCSS in reader windows
...
Fixes unstyled tags popup.
2024-01-24 23:32:18 -05:00
Abe Jellinek
b391b6ca21
Tags box: Fix tag being saved every time autocomplete popup hides
2024-01-24 23:32:18 -05:00
Dan Stillman
f2bf40a314
Don't default existing users to Compact
2024-01-24 23:32:18 -05:00
Abe Jellinek
99b0411857
Return created collection from newCollection()
...
Regression from fd0664bfb06409118ecaff73e064ab9c3103d823
2024-01-24 23:32:17 -05:00
Abe Jellinek
57a1214eaa
Remove reader pointerdown listener on close
...
Avoids a memory leak.
2024-01-24 23:32:17 -05:00
Abe Jellinek
2624770cea
Remove debug from collapsible-section
2024-01-24 23:32:17 -05:00
Abe Jellinek
49fe2b98d9
Restore tag autocomplete popup
...
Regression from 275ea6f because of a duplicate element ID. Now we only create
one popup, even if there are multiple tags-boxes.
2024-01-24 23:32:17 -05:00
windingwind
b2ce3d4a5c
Fix sidenav button default status
2024-01-24 23:32:17 -05:00
windingwind
365e97ba1e
Fix quick search does not re-run when changing mode
2024-01-24 23:32:17 -05:00
Dan Stillman
0c089efd8a
More attachment box fixes
...
- Only try to show preview or check file existence for file attachments
- Use fileExists() for file check
- Show Accessed for linked-URL attachments
2024-01-24 23:32:17 -05:00
windingwind
61a5704dd4
Fix attachment box bugs
2024-01-24 23:32:17 -05:00
Dan Stillman
b34d0d2acc
Fix regression in Zotero.FullText.canReindex()
2024-01-24 23:32:16 -05:00
Dan Stillman
3b9afcc500
Add Zotero.FullText.canIndex()
...
Currently identical to canReindex(), but in theory attachments aren't
supposed to be reindexable if they're already fully indexed
2024-01-24 23:32:16 -05:00
Bogdan Abaev
3338b4b285
new item focus handling tweaks
...
- properly re-focus previously focused item type menu in itemBox
- fix strange behavior of re-emerging item type menu popup caused by
itemBox.focusFirstField
- force the focus-ring to be around the itemType menu
2024-01-24 23:32:16 -05:00
Bogdan Abaev
b6d5a52417
additional focus management for popups
...
When a menupopup is opened, the active element does not change, so
their focus-ring will be hidden until the menupopup closes for it to be
less distracting.
When a panel popup is opened, the focus will be moved inside
of the panel, so we keep track of whichever element was previously
focused, and re-focus it when the panel goes away.
Minor reorganization of focus-ring mixin to use variables instead
of parameters to make hiding of focus-ring easier.
2024-01-24 23:32:16 -05:00
Dan Stillman
1427e3e324
Open item pane if closed on New Item
2024-01-24 23:32:16 -05:00
Bogdan Abaev
8e4fd75f1d
passing newItem tests
2024-01-24 23:32:16 -05:00
Bogdan Abaev
99ab42a674
Prevent trash row from receiving focus on Enter in filter box
...
Prevent trash/duplicated/unfiled/etc. rows from getting focused on Enter
if it is the currently selected collection row that technically
passes the filter and Enter is pressed.
2024-01-24 23:32:16 -05:00
Bogdan Abaev
2c97a7a03e
avoid blinking of focused collection row on escape
...
Make sure that on escape, the focus is moved to collectionTree strictly
once all filtered rows are rendered. Minor refactoring to achieve
it, since setFilter is async.
2024-01-24 23:32:16 -05:00
Bogdan Abaev
0f0badea27
restore collection scroll position after filter
...
Before filtering starts, save the selected row, scroll position, and
which rows were collapsed before filering, and restore them once the
filtering is over if a row was focused during filtering.
2024-01-24 23:32:16 -05:00
yexingsha
6e7c80d97b
changed all font-weight: bold/590 to 600
2024-01-24 23:32:15 -05:00
Abe Jellinek
ee5106939c
Potentially fix Linux popup positioning issue
2024-01-24 23:32:15 -05:00
windingwind
f039124312
Use html label in info table
2024-01-24 23:32:15 -05:00
windingwind
d00fc7ca22
Fix attachment box info table layout
2024-01-24 23:32:15 -05:00
windingwind
3603254d35
Fix attachment row rendering bug with web attachment
2024-01-24 23:32:15 -05:00