Commit graph

499 commits

Author SHA1 Message Date
Dan Stillman
884a62d526 Fix swapped creator-field-mode icons 2024-10-30 21:42:28 -04:00
abaevbog
10ed78212b
no background for readonly focused editable-text (#4792)
Fixes: #4789
2024-10-29 06:45:23 -04:00
abaevbog
19977c69c4
tweak settings data directory stylesheet (#4781)
- no margin-top on Windows
- explicitly hide background and border, since
   they remain on Windows otherwise

follow-up to 28f3a29f35
2024-10-23 16:03:55 -04:00
abaevbog
28f3a29f35
vpat 50: advanced settings - rework custom data directory section (#4048)
Selecting custom data directory radio button in advanced
settings opens up a modal to select the directory. It is
not a typical behavior for radio button, so it conflicts
with 3.2.2 success criteria.

This is a rework of the data directory setting interface to be
similar to LABD. It does not have radio buttons and the
directory explorer pops up on button click.
2024-10-23 05:22:30 -04:00
windingwind
eea1291314
Fix select items window overflow (#4747)
Also:

* Remove unused element in select items window
* Move and rename zotero/ingester/selectitems to scaffold/select to
   avoid confusion with selectItemsDialog
2024-10-19 06:33:14 -04:00
abaevbog
4c68f834c1
special handling for tabbox focus-ring (#4761)
Set focusring on the child hbox, instead of the actual tab.
The hbox is the element with visibly rounded corners,
so this way the focus-ring will have the right shape.

Fixes: #4744
2024-10-17 01:19:17 -04:00
windingwind
c75119324c
Fix item pane width jumping in stacked mode (#4757)
fix: #4755
2024-10-16 00:34:12 -04:00
abaevbog
c14896a640
vpat 44: scaffold keyboard tab selection focus (#4069)
Do not move focus from the tab onto the editor/input
during keyboard navigation to not change context per
https://www.w3.org/WAI/WCAG21/Understanding/on-input.

Focus will still shift if tab selection changed on mouse click.

Also:

- added focus ring to tabs. Additional mouseup handling
to prevent the focus ring from briefly appearing on click.
- on Escape from within the editor, focus the current
tab.
- on shift-tab from the beginning of the editor,
tab out of the editor to previous element.
2024-10-10 17:08:32 -04:00
abaevbog
15ccf28fb4
vpat 16: context menu as a drag-drop alternative to change parent item of attachment/note (#4423)
- added "Change Parent Item…" context menu option to
itemTree as a non-drag-drop alternative to changing the
parent of attachments or notes
- context menu option appears only when all selected
items are notes or attachments
- upon activation, a dialog to select the new parent
will appear. Added a tweak to the dialog to disable
the "accept" button if a selected item is not top level
- minor edit to itemTree to set the multiselect property
based on a prop, since we do not want to have multiselect
enabled in this instance
- hide all virtual collections in selectItemsDialog via new
io.hideCollections parameter
- "Convert to Standalone Attachment" button in dialog if
child attachment is selected
2024-10-10 16:56:34 -04:00
Abe Jellinek
1caeb1ef08 Scaffold: Fix richlistbox misalignment 2024-10-08 14:53:30 -04:00
Dan Stillman
fc7307fd84 Unify banner padding 2024-10-05 02:01:48 -04:00
abaevbog
3ffe736d99
Make "Get additional styles…" link in Style Manager keyboard accessible (#4709)
Fixes: #4707
2024-09-26 14:21:51 -04:00
Dan Stillman
2ca1389b43 Adjustments to Mac Word installation banner (#4660)
- Use real buttons and other tweaks from design
- Use existing .properties string for "Don't Ask Again" for now
- Remove close button
- Update submodule for reminder after 24 hours instead of 7
2024-09-15 23:20:01 +02:00
Adomas Venčkauskas
564b1766aa Add a Mac Word plugin Sequoia permissions warning banner (#4660)
Also refactor some banner rules.
2024-09-15 23:19:47 +02:00
windingwind
78077fab9d
Fix main window layout and window resizing (#4676)
- Replace flex attribute with flex-shrink and flex-grow style
  to allow elements to be resized by splitter and window resizing.
- Set the max-width on collections pane to prevent it from pushing
  other panes outside window border
- Set the min-width on window according to the size of both library
   and reader tabs
- Use stacked layout when window width is small

fix: #4669
2024-09-12 06:26:31 -04:00
windingwind
01017e7d63
Fix prefs window style on MacOS (#4682)
Use MacOS menupopup style to prefs window
Move style mac/menupopup into mac/components
2024-09-12 05:13:19 -04:00
windingwind
6631e7c3e0
Fix padding on Close button in About window (#4667)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
fix: #4663
2024-09-05 02:51:49 -04:00
Tom Najdek
6b7834876f
Fix a couple of issues related to dark mode icons (#4655)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
- Fixed missing dark mode icons in the advanced search dialog.
- Corrected inconsistent icon shading in some menus.
2024-09-01 15:48:36 -04:00
windingwind
181196149a
Use dynamic max height for attachment preview (#4651)
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled
2024-08-31 02:10:23 -04:00
windingwind
a0a8cceda4
Checkbox-and-radio-redesign-on-Windows (#4609)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-30 07:20:52 -04:00
Abe Jellinek
051d3384c5 Make textareas respect rows attribute on Windows
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
Specificity conflict with the selector above.

https://forums.zotero.org/discussion/comment/472656/#Comment_472656
2024-08-29 11:58:26 -04:00
Abe Jellinek
cb6e1e3e59 Lookup Engine Manager: Contain richlistbox
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
Fixes #4635
2024-08-27 11:20:33 -04:00
Abe Jellinek
3017770954 Preferences: Add new status info below local API checkbox (#4615)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-27 00:53:20 -04:00
Dan Stillman
10d27b8f68 Revert "No menu background when not hovered on MacOS (#4619)"
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
This reverts commit e6c9d912f1.

https://github.com/zotero/zotero/pull/4619#issuecomment-2310063530
2024-08-26 08:20:46 -04:00
Tom Najdek
b350613770
Fix progress bar ignores color scheme. Resolve #4589 (#4599)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-26 08:00:18 -04:00
windingwind
e6c9d912f1
No menu background when not hovered on MacOS (#4619)
fix: #4614
2024-08-26 07:15:13 -04:00
Dan Stillman
78d59f65df Fix spacing between "Set Up Syncing" and spinner 2024-08-26 07:13:40 -04:00
Abe Jellinek
a80a9a1598 Feed abstract: Fix scrollbars showing on some abstracts
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
`clip` somehow doesn't do the trick.
2024-08-19 13:46:59 -04:00
Abe Jellinek
0c9200c862 Feed abstract: Set line-height to 1.5
Fixes #4581
2024-08-19 13:46:22 -04:00
Dan Stillman
d6c78336da Use line-height: 1.5 for abstracts
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
Addresses #4581, but need to do feed items separately, since that's in a
browser
2024-08-17 03:15:07 -04:00
Abe Jellinek
1f26b64519
RTL: Small item tree tag display fixes (#4576)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-16 02:10:52 -04:00
Tom Najdek
596703b21b
Fix inverted tag colors order. Resolve #4569
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-15 11:15:51 +02:00
abaevbog
8c3f13909c
vpat 59: make quickFormat reference box separator text darker (#4400)
So that on Windows, the separator text on white background
has a high enough contrast ratio for accessibility

Also remove opacity when reference panel opens. Without the opacity
on the reference panel, there is a shadow appearing below and to the
right of the panel on Windows. If we let the panel render with
opacity: 0.9 and only then set opacity: 1, the panel will no longer
be transparent and there will be no shadow.
2024-08-13 00:05:11 -04:00
Abe Jellinek
181afb92ac Bidi improvements and fixes (#4534) 2024-08-12 15:09:10 -04:00
Abe Jellinek
041d190286
Item box: Remove hidden buttons from flex calculations (#4541) 2024-08-09 13:53:25 -06:00
Abe Jellinek
b3589e1d89 macOS menupopup styles: RTL fixes
- Use padding-inline-start for gutter
- Refactor other rules that used left/right margins/paddings, to make
  future accidental breakage less likely

Fixes #4538
2024-08-09 13:15:26 -06:00
windingwind
69b4789c17
Unify richlistitem styling rules (#4511)
Unify richlistitem styling rules

- Fix richlistitem unwanted focus ring on Linux
fix: #4510
- Simplify richlistbox styling rules and do not follow Mozilla code
- Use --default-focusring-width for v-table
2024-08-09 15:57:56 +03:00
Abe Jellinek
2d32efbccd
Apply tag text color to ellipsis (#4536) 2024-08-08 22:54:10 -04:00
Bogdan Abaev
7450622047 itembox: switch creator mode button (#4535)
- added button to switch mode to creator rows
- removed that option from options menu
- extra tweak to avoid cursor flickering during re-render after
clicking on the button
- increased itemPane min-width to 320px

Fixes: #3959
2024-08-08 22:50:26 -04:00
Tom Najdek
083ad9ee05
Fix missing margin between colored and emoji tags
In the item tree, emojis are spaced 4px apart, but there was no space
between the colored circles and the first emoji, making it look crowded.
2024-08-08 18:09:19 +02:00
windingwind
6f6444dc12
Fix tab bar scroll arrow button click not working (#4529)
fix: #4527
2024-08-08 04:19:41 -04:00
windingwind
01f9222735
Remove form element rule !important suffix on Windows (#4528)
Fix tab bar button hover effect on Windows
A follow up fix of #4518
2024-08-08 03:40:59 -04:00
abaevbog
35da1187b3
prefs: fix text-link not clicking on space/enter (#4522)
Fix regression after 117197e11d
where space or enter would not trigger a click on
link outside of the main window.

".keyboard-clickable" is handled by listener in ZoteroPane,
so links outside of it (e.g. preferences) are not affected by it.
For now, just explicitly handle "keypress" event by the
zotero-text-link component.

Also, added a focus-ring around the link so it is visible
when it is focused.

Fixes: #4521
2024-08-08 00:24:19 -04:00
Abe Jellinek
531f55120c
Feed settings: Make disclosure triangle focusable, extract SCSS (#4513)
- <hbox> -> <button>, <toolbarbutton> -> <dropmarker>
- Extract styles to SCSS and use focus-ring mixin

Fixes #4512
2024-08-08 00:22:09 -04:00
Abe Jellinek
14ab0cd529
Fix button selector specificity on Windows (#4518)
And remove !important.
2024-08-08 00:21:26 -04:00
windingwind
55017926b5
Fix window background overflow when no native titlebar (#4516) 2024-08-07 03:01:59 -04:00
abaevbog
0352fa35b4
OpenURL resolver pref: Fix glitchy drop-down keyboard navigation (#4506)
- minor refactoring to avoid deleting the first ("Custom") menuitem
of the resolver menulist. It is the first item that is selected when
popup opens and deleting it confuses keyboard navigation, so that
arrowDown/Up won't navigate the menu (unless the menu is hovered
over with a mouse)
- explicitly re-select the first item when the menulist closes.
Otherwise, in case of having navigated the menus with arrows
without changing selection and closing the popup, next time
resolver selector appears, arrowUp/Down will not navigate the list.
Only occurs on Windows.
- clear the resolver menus (except for the 1st item) when the popup closes
so that arrowUp/Down on focused dropdown don't select invalid
top-level menus (e.g. "North America").
- make sure that if the URL has been edited, the resolver dropdown's
value will switch to "Custom" even if the resolvers were not loaded

fixes: #4491
2024-08-06 01:31:47 -04:00
windingwind
129938c8fe
Fix quick search styling (#4501)
fix: #4497
fix: #4498
2024-08-05 05:01:59 -04:00
Tom Najdek
7c3d04e03a
Warn users running non-ARM version on ARM CPU (#4473) 2024-08-01 01:22:03 -04:00
windingwind
98d1f84263 Fix banner style on Windows (#4466)
fix: #4449
2024-07-31 03:23:51 -04:00