zotero/test
abaevbog f1c7b7939c
Citation dialog: allow to switch between "Add Note" and "Add/Edit Citation" (#5586)
Allow one to switch between "Add/Edit Citation" and "Add Note" modes
in the citation dialog via segmented control in the bottom
left corner.

One cannot switch modes when editing an existing citation or
when inserting a citation in the note editor.

Use the same segmented control UI to switch between
list and library modes for clarity. Replace icons with
"List" and "Library" strings.

Collect some of the state variables into DIALOG_STATE object
for better organization.

Fixes: #5582

Also, remove earlier logic of not resizing window on refocus
on Linux if focus was lost <100ms ago. That workaround
no longer works, and now that we retain the window sizing
after search reruns, it is less of an issue.
Addresses: #5590
2025-12-18 23:18:35 -05:00
..
components fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
content Add continuous-renaming functionality for attachment files (#3860) 2025-09-11 04:54:03 -04:00
resource Remove Chai as Promised 2025-07-30 22:31:08 -04:00
tests Citation dialog: allow to switch between "Add Note" and "Add/Edit Citation" (#5586) 2025-12-18 23:18:35 -05:00
chrome.manifest fx115: Restore test runner 2024-03-30 00:58:53 -04:00
runtests.sh fx140: Use architecture-specific build folder for tests on Linux (#5445) 2025-07-31 22:48:21 -04:00